agent-security-scanner-mcp
npm
v4.5.10
Published by sinewaveai — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.
AI agent security scanner and npm audit for MCP servers, Claude Code, Cursor, and Windsurf. Find prompt injection, hallucinated packages, secrets, unsafe tools, and vulnerable code.
The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.
1. Threat score — 100 − 16.6 = 83. What the published surface and source actually contain:
| Points | What was found | Category |
|---|---|---|
| −15.4 | Instruction-override directive MTC-INJ-AUTH-2 | injection |
| −1.2 | Package runs install-time scripts MTC-SUP-010 | supply-chain |
2. Client adoption risk — 83 − 7 = 76. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:
| Points | Adoption-risk factor |
|---|---|
| −6 | capability blast radius (high) — client exposure if the model is manipulated |
| −1 | publisher verification (public source) — no provenance, but the source is public and inspectable |
Capability observations and info notes are shown under Findings but never scored.
Open any row's finding below for the file, line and evidence behind a deduction.
Tools that read sensitive data ([readFi1e]) and tools that can send data out ([scan_agent_action]) are exposed together. An agent can move private data to the sink.
Evidence: sources [readFi1e] → sinks [scan_agent_action]
Fix: Keep secret-reading and egress capabilities on separate, separately-approved servers.
Location: flow readFi1e → scan_agent_action
In the server's implementation (`src/tools/scan-skill.js:404`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: th('.env') && entry !== '.npmrc' && entry !== '.github') continue; const filePath = join(dir, entry); let lst;
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server src/tools/scan-skill.js
Instruction-override directive detected in the description of tool "readFi1e". Instruction-like content in tool metadata is executed by the model, not the human, and is the primary tool-poisoning vector.
Evidence: Ignore previous instructions
Fix: Tool descriptions should describe behavior, not instruct the assistant. Treat imperative / secrecy / sequencing language in metadata as hostile.
Location: tool readFi1e · description
In the server's implementation (`code-review-agent/dist/src/analyzer/intent.js:12`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: commerce app that calls eval() on user input is UNEXPECTED — a product catalog has no reason to eval Focus on: 1. What
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/dist/src/analyzer/intent.js
In the server's implementation (`code-review-agent/dist/src/analyzer/semantic.js:10`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: commerce app that calls eval() on user input IS a vulnerability — a product catalog has no reason to eval Ask yourself:
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/dist/src/analyzer/semantic.js
In the server's implementation (`code-review-agent/src/analyzer/intent.ts:15`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: commerce app that calls eval() on user input is UNEXPECTED — a product catalog has no reason to eval Focus on: 1. What
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/src/analyzer/intent.ts
In the server's implementation (`code-review-agent/src/analyzer/semantic.ts:22`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: commerce app that calls eval() on user input IS a vulnerability — a product catalog has no reason to eval Ask yourself:
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/src/analyzer/semantic.ts
In the server's implementation (`code-review-agent/dist/src/analyzer/intent.js:10`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: A build tool that calls subprocess.run() with hardcoded commands is EXPECTED behavior — that's its purpose - An auth API
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/dist/src/analyzer/intent.js
In the server's implementation (`code-review-agent/dist/src/analyzer/semantic.js:9`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: A build tool that calls subprocess.run() with hardcoded commands is NOT a vulnerability — that's its purpose - An e-comm
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/dist/src/analyzer/semantic.js
In the server's implementation (`code-review-agent/dist/src/llm/claude-cli.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: rt { spawn } from 'node:child_process'; import { SchemaValidationError } from './provider.js'; import { zodToJsonSchema
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/dist/src/llm/claude-cli.js
In the server's implementation (`code-review-agent/src/analyzer/intent.ts:13`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: A build tool that calls subprocess.run() with hardcoded commands is EXPECTED behavior — that's its purpose - An auth API
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/src/analyzer/intent.ts
In the server's implementation (`code-review-agent/src/analyzer/semantic.ts:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: A build tool that calls subprocess.run() with hardcoded commands is NOT a vulnerability — that's its purpose - An e-comm
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/src/analyzer/semantic.ts
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/javascript_injection.js:9`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: // VULN: eval-detected eval(userInput); // VULN: function-constructor var fn = new Function(userInput); // VULN: setT
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/javascript_injection.js
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/python_injection.py:46`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: eval-detected result = eval(user_code) # VULN: exec-detected exec(user_code) # VULN: compile-detected code = compile(
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/python_injection.py
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/python_taint.py:238`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: nt: {}".format(msg) eval(log_entry) # SAFE: python.lang.security.format-string-injection import logging
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/python_taint.py
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/typescript_security.ts:22`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ection const result = eval(expr); // VULN: typescript.lang.security.eval-injection const fn = new Function("retur
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/typescript_security.ts
In a packaging/dev/install script (shipped, but not the server runtime) (`code-review-agent/tests/analyzer/semantic.test.ts:28`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: , content: 'const x = eval(req.query.code);', language: 'javascript', lineCount: 1, imports: ['express'], impo
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/tests/analyzer/semantic.test.ts
In a packaging/dev/install script (shipped, but not the server runtime) (`code-review-agent/tests/fixtures/vuln-api-server/server.js:25`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: tion const filterFn = eval(`(user) => ${filter}`); db.all('SELECT * FROM users', (err, users) => { if (err) retu
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server code-review-agent/tests/fixtures/vuln-api-server/server.js
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/benchmark_runner.py:104`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: try: commit = subprocess.check_output( ['git', 'rev-parse', '--short', 'HEAD'], stderr
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/benchmark_runner.py
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/javascript_injection.js:25`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: mand injection --- var child_process = require("child_process"); var filename = "user_provided.txt"; // VULN: child-pr
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/javascript_injection.js
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/python_injection.py:27`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: angerous-subprocess-use subprocess.call(user_input, shell=True) # VULN: dangerous-subprocess-use subprocess.Popen(user_
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/python_injection.py
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/python_taint.py:64`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: y.command-injection os.system("ping -c 1 " + host) # VULN: python.lang.security.command-injection subproces
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/python_taint.py
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmarks/corpus/typescript_security.ts:9`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: execSync, exec } from "child_process"; import express, { Request, Response } from "express"; const app = express(); /
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmarks/corpus/typescript_security.ts
"agent-security-scanner-mcp" executes postinstall script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.
Evidence: node scripts/postinstall.js
Fix: Review the scripts; install with --ignore-scripts where possible and vet what they do.
Location: package agent-security-scanner-mcp
Each tool and what it can reach — statically extracted from the published source.
readFi1ereads sensitive datascan_agent_actionnetwork egresscheck_packageno sensitive capabilityclawproof_healthno sensitive capabilityevaluate_complianceno sensitive capabilityfix_securityno sensitive capabilityget_compliance_controlsno sensitive capabilitylist_package_statsno sensitive capabilitylist_security_rulesno sensitive capabilityrecord_security_outcomeno sensitive capabilitysbom_check_hallucinationsno sensitive capabilitysbom_diffno sensitive capabilitysbom_export_reportno sensitive capabilitysbom_generateno sensitive capabilitysbom_scan_vulnerabilitiesno sensitive capabilityscan_agent_promptno sensitive capabilityscan_git_diffno sensitive capabilityscan_mcp_serverno sensitive capabilityscan_packagesno sensitive capabilityscan_projectno sensitive capabilityscan_securityno sensitive capabilityscan_skillno sensitive capabilityscanner_healthno sensitive capabilityscore_aivssno sensitive capabilityCross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).
Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.
| Version | Score | Findings | Engine | Scanned |
|---|---|---|---|---|
v4.5.10 latest |
C 76/100 | 24 | 1.13.0 | 2026-09-07 |
v4.5.9 |
C 76/100 | 24 | 1.13.0 | 2026-09-01 |
v4.5.8 |
C 76/100 | 24 | 1.12.1 | 2026-08-05 |
v4.5.6 |
C 76/100 | 24 | 1.12.1 | 2026-08-03 |
v4.5.5 |
C 76/100 | 24 | 1.12.1 | 2026-08-02 |
v4.5.4 |
C 76/100 | 24 | 1.12.1 | 2026-07-28 |
v4.5.3 |
C 76/100 | 24 | 1.10.0 | 2026-07-25 |
v4.5.2 |
C 76/100 | 24 | 1.9.0 | 2026-07-23 |
v4.5.1 |
F 52/100 | 25 | 1.3.1 | 2026-07-21 |
Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.
The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.
npx mcptrustchecker scan agent-security-scanner-mcp --online
Authenticated MCP transport with HTTP Signatures for AAuth agents
Local-first MCP server for parallel AI coding agents to claim file ownership before edits, preventing stomping on each other in the same worktree.
Agent-agnostic intercommunication system — sessions, messaging, channels, shared state, and real-time events
MCP server for AI agent task communication and delegation with diagnostic lifecycle visibility
Programmatic add/link/unlink for MCP servers across 23 AI coding agents (Claude Code, Claude Desktop, Cursor, VS Code, Codex, Gemini CLI, Zed, Cline, OpenCode, Goose, Kiro, Windsurf, and more). Functional API with dry-run support.
MCP server layer exposing agent-mesh orchestrator as an MCP agent