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
git clone https://github.com/Marven11/FenjingTools (7)
crack执行SSTI攻击(异步版本)| Parameter | Type | Description |
|---|---|---|
| cookies | string | |
| detect_mode | any | |
| detect_waf_keywords | any | |
| environment | any | |
| extra_data | string | |
| extra_params | string | |
| header | object | |
| inputs * | string | 输入参数,以逗号分隔 |
| interval * | number | 请求间隔时间(秒)建议传入0.1以下的值 |
| method * | string | HTTP方法,GET或POST |
| no_verify_ssl | boolean | |
| proxy | string | |
| replaced_keyword_strategy | any | |
| url * | string | 目标URL |
| user_agent | string |
crack_keywords根据关键字列表生成绕过WAF的payload| Parameter | Type | Description |
|---|---|---|
| command * | string | 要执行的shell命令 |
| keywords * | array | 被WAF禁止的关键字列表 |
crack_path执行路径型SSTI攻击(异步版本)| Parameter | Type | Description |
|---|---|---|
| cookies | string | |
| detect_mode | any | |
| detect_waf_keywords | any | |
| environment | any | |
| extra_data | string | |
| extra_params | string | |
| header | object | |
| interval * | number | 请求间隔时间(秒)建议传入0.1以下的值 |
| no_verify_ssl | boolean | |
| proxy | string | |
| replaced_keyword_strategy | any | |
| url * | string | 目标URL, 例如`http://.../path/{{7*7}}`存在漏洞则传入`http://.../path/` |
| user_agent | string |
scan扫描目标URL并返回所有发现的表单| Parameter | Type | Description |
|---|---|---|
| cookies | string | |
| detect_mode | any | |
| detect_waf_keywords | any | |
| environment | any | |
| extra_data | string | |
| extra_params | string | |
| header | object | |
| interval * | number | 请求间隔时间(秒)建议传入0.1以下的值 |
| no_verify_ssl | boolean | |
| proxy | string | |
| replaced_keyword_strategy | any | |
| url * | string | 目标URL |
| user_agent | string |
session_execute_command在攻击会话中执行命令| Parameter | Type | Description |
|---|---|---|
| command * | string | 要执行的shell命令 |
| session_id * | string | 会话ID(即任务ID) |
session_generate_payload为shell命令生成payload| Parameter | Type | Description |
|---|---|---|
| command * | string | 要执行的shell命令 |
| session_id * | string | 会话ID(即任务ID) |
task_inspect查询任务状态和结果(合并版)| Parameter | Type | Description |
|---|---|---|
| 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
README
The repository's README runs to about 544 words, fetched 4 days ago. The original in the repository is authoritative.
Read full README