mcp-bandit@0.1.1
VERIFIED· not startedPublisher claims: "Security scanner for Model Context Protocol (MCP) servers" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
Code inventory arrives with this version's next honeypot run.- It will ask for
- unknown until the next run
- Where it talks to
- unknown until the next run
- What the honeypot saw
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Not enough was observed to say yet. Not started: dependency install failed; the server itself was not observed. This version's code has not been inventoried for credentials and hosts either; both arrive with its next honeypot run (popular servers first). `vet-skills try mcp-bandit` runs it now and prints the full answer.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-06 and scored it 81/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
subprocess.run(cmd, shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run("ls -la", shell=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(cmd, check=False, cwd=dirname)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return subprocess.run(cmd, shell=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."http://169.254.169.254/latest/meta-data/", # AWS metadataFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result = subprocess.run(["echo", name], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.call(cmd, shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(["ls", "-la"], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return subprocess.run(["ls", "-la"], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(cmd, shell=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."http://169.254.169.254/latest/meta-data/", # AWS metadataFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.Popen(cmd, shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run("ls -la", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(cmd, shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."subprocess.run({var}, shell=True)",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.f" result = subprocess.run({cmd}, shell=True, capture_output=True)\n"Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."text": "Tool description contains prompt injection phrase: ignore previous instructions"Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.**Message:** Tool description contains prompt injection phrase: ignore previous instructionsFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.| MCP021 | HIGH | `src/server.py:5` | Tool description contains prompt injection phrase: ignore previous instructions |Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent."text": "Tool description contains prompt injection phrase: ignore previous instructions"Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent."import subprocess\n\[email protected]()\ndef run_cmd(cmd):\n return subprocess.run(cmd, shell=True)\n",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."message": "Tool description contains prompt injection phrase: ignore previous instructions",Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.│ │ │ │ ignore previous instructions │Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for mcp-bandit@0.1.1 as of 7d ago. This is the package itself, not its dependencies.