1. Conduid
  2. Security
  3. Fenjing
MCP server · Security

Fenjing

专为CTF设计的Jinja2 SSTI全自动绕WAF脚本 | A Jinja2 SSTI cracker for bypassing WAF, designed for CTF

82Strong

Scored 1 hours ago · breakdown

About Fenjing

Fenjing is an MCP server published by Marven11 in the Security category: 专为CTF设计的Jinja2 SSTI全自动绕WAF脚本 | A Jinja2 SSTI cracker for bypassing WAF, designed for CTF. Conduid read 7 tools from its source: crack, crack_keywords, crack_path, scan, session_execute_command, session_generate_payload and 1 more. No package is published for it, so it installs from a source checkout.

The repository has 1.3K stars and 77 forks, is licensed MPL-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.9.1 (8 Feb 2026): New features: Better MCP server design Bug fixes: Fix a potential DoS issue Remove invalid rules. It follows v0.9.0 (20 Jan 2026), and the 5 most recent releases go back to v0.7.5 (4 Mar 2025). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include ctf, jinja2, scanner, security, ssti and waf.

Install

From source
git clone https://github.com/Marven11/Fenjing

Tools (7)

crack执行SSTI攻击(异步版本)
ParameterTypeDescription
cookiesstring
detect_modeany
detect_waf_keywordsany
environmentany
extra_datastring
extra_paramsstring
headerobject
inputs *string输入参数,以逗号分隔
interval *number请求间隔时间(秒)建议传入0.1以下的值
method *stringHTTP方法,GET或POST
no_verify_sslboolean
proxystring
replaced_keyword_strategyany
url *string目标URL
user_agentstring
crack_keywords根据关键字列表生成绕过WAF的payload
ParameterTypeDescription
command *string要执行的shell命令
keywords *array被WAF禁止的关键字列表
crack_path执行路径型SSTI攻击(异步版本)
ParameterTypeDescription
cookiesstring
detect_modeany
detect_waf_keywordsany
environmentany
extra_datastring
extra_paramsstring
headerobject
interval *number请求间隔时间(秒)建议传入0.1以下的值
no_verify_sslboolean
proxystring
replaced_keyword_strategyany
url *string目标URL, 例如`http://.../path/{{7*7}}`存在漏洞则传入`http://.../path/`
user_agentstring
scan扫描目标URL并返回所有发现的表单
ParameterTypeDescription
cookiesstring
detect_modeany
detect_waf_keywordsany
environmentany
extra_datastring
extra_paramsstring
headerobject
interval *number请求间隔时间(秒)建议传入0.1以下的值
no_verify_sslboolean
proxystring
replaced_keyword_strategyany
url *string目标URL
user_agentstring
session_execute_command在攻击会话中执行命令
ParameterTypeDescription
command *string要执行的shell命令
session_id *string会话ID(即任务ID)
session_generate_payload为shell命令生成payload
ParameterTypeDescription
command *string要执行的shell命令
session_id *string会话ID(即任务ID)
task_inspect查询任务状态和结果(合并版)
ParameterTypeDescription
task_id *string任务ID

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 544 words.
  • ✓License declaredThe repository declares the MPL-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by flake.lock.
  • !No dynamic code executionScanned 48 source files and found 7 calls to eval or shell execution, in fenjing/const.py:331, fenjing/cracker.py:135 and fenjing/cracker.py:146 among others. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdiofenjing/mcp_server.py:428
Starts other programs
5 callsfenjing/const.py:331, fenjing/interact.py:30, fenjing/interact.py:37
Outbound network calls
4 callsfenjing/requester.py:262, fenjing/static/base.js:23, fenjing/static/base.js:78
Writes or deletes files
2 callsfenjing/cli.py:826, fenjing/submitter.py:461
Lockfile
flake.lock

Pattern matches on the source text of 48 files: places to read, not proof of what the code does at run time.

Releases

v0.9.1v0.9.1 · 8 Feb 2026New features: Better MCP server design Bug fixes: Fix a potential DoS issue Remove invalid rules
v0.9.0v0.9.0 · 20 Jan 2026New features: (experimental) MCP support
v0.8.1v0.8.1 · 4 Jul 2025New features `crack-json` in webui Bug fix string escape
v0.8.0v0.8.0 · 16 Apr 2025New features `@findflag`: find flag in one command Support `{{config.update(xxx)}}` Support `request.args` Optimization Update rules Sort form in `scan` function Bug fixes precedence ...
v0.7.5v0.7.5 · 4 Mar 2025Optimization: Add more kinds of whitespaces Bug fixes: Infinite recursion Wrong precedence that cause 500 error

README

The repository's README runs to about 544 words, fetched 4 days ago. The original in the repository is authoritative.

Read full README
Questions

About Fenjing

How do I install Fenjing?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Fenjing safe to use with an AI agent?

Its trust score is 82 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 48 source files found that it serves MCP over stdio, starts other programs (5 calls), makes outbound network calls (4 calls) and writes or deletes files (2 calls). Its dependencies are pinned by flake.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Fenjing still maintained?

Yes — the last commit was yesterday. The repository has 1.3K stars and 77 forks and 5 open issues.

What tools does Fenjing provide?

Conduid read 7 tools from the source: crack, crack_keywords, crack_path, scan, session_execute_command, session_generate_payload and task_inspect. 7 of them publish their parameters, listed under Tools above.

What license is Fenjing released under?

The repository declares the MPL-2.0 license. That applies to the latest release, v0.9.1, as well.