Agent Security Scanner MCP Server

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.

Trust grade
C
76/100
Last scanned get badge →
Trust
C · 76/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
C Why this grade threat 83 − adoption risk = 76/100

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:

PointsWhat was foundCategory
−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:

PointsAdoption-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.

Findings 24

high Sensitive-source and external-sink co-existMTC-FLOW-004

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

high Reads a sensitive credential path or dumps the environment (src/tools/scan-skill.js)MTC-SRC-006

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

high Instruction-override directiveMTC-INJ-AUTH-2

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

high Dynamic code execution in server code (code-review-agent/dist/src/analyzer/intent.js)MTC-SRC-001

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

high Dynamic code execution in server code (code-review-agent/dist/src/analyzer/semantic.js)MTC-SRC-001

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

high Dynamic code execution in server code (code-review-agent/src/analyzer/intent.ts)MTC-SRC-001

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

high Dynamic code execution in server code (code-review-agent/src/analyzer/semantic.ts)MTC-SRC-001

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

high Shell/command execution in server code (code-review-agent/dist/src/analyzer/intent.js)MTC-SRC-002

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

high Shell/command execution in server code (code-review-agent/dist/src/analyzer/semantic.js)MTC-SRC-002

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

high Shell/command execution in server code (code-review-agent/dist/src/llm/claude-cli.js)MTC-SRC-002

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

high Shell/command execution in server code (code-review-agent/src/analyzer/intent.ts)MTC-SRC-002

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

high Shell/command execution in server code (code-review-agent/src/analyzer/semantic.ts)MTC-SRC-002

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

low Dynamic code execution in packaging/dev tooling (benchmarks/corpus/javascript_injection.js)MTC-SRC-001

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

low Dynamic code execution in packaging/dev tooling (benchmarks/corpus/python_injection.py)MTC-SRC-001

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

low Dynamic code execution in packaging/dev tooling (benchmarks/corpus/python_taint.py)MTC-SRC-001

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

low Dynamic code execution in packaging/dev tooling (benchmarks/corpus/typescript_security.ts)MTC-SRC-001

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

low Dynamic code execution in packaging/dev tooling (code-review-agent/tests/analyzer/semantic.test.ts)MTC-SRC-001

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

low Dynamic code execution in packaging/dev tooling (code-review-agent/tests/fixtures/vuln-api-server/server.js)MTC-SRC-001

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

low Shell/command execution in packaging/dev tooling (benchmarks/benchmark_runner.py)MTC-SRC-002

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

low Shell/command execution in packaging/dev tooling (benchmarks/corpus/javascript_injection.js)MTC-SRC-002

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

low Shell/command execution in packaging/dev tooling (benchmarks/corpus/python_injection.py)MTC-SRC-002

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

low Shell/command execution in packaging/dev tooling (benchmarks/corpus/python_taint.py)MTC-SRC-002

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

low Shell/command execution in packaging/dev tooling (benchmarks/corpus/typescript_security.ts)MTC-SRC-002

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

low Package runs install-time scripts (postinstall)MTC-SUP-010

"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

Tools 24

Each tool and what it can reach — statically extracted from the published source.

  • readFi1ereads sensitive data
  • scan_agent_actionnetwork egress
  • check_packageno sensitive capability
  • clawproof_healthno sensitive capability
  • evaluate_complianceno sensitive capability
  • fix_securityno sensitive capability
  • get_compliance_controlsno sensitive capability
  • list_package_statsno sensitive capability
  • list_security_rulesno sensitive capability
  • record_security_outcomeno sensitive capability
Show 14 more tools ↓
  • sbom_check_hallucinationsno sensitive capability
  • sbom_diffno sensitive capability
  • sbom_export_reportno sensitive capability
  • sbom_generateno sensitive capability
  • sbom_scan_vulnerabilitiesno sensitive capability
  • scan_agent_promptno sensitive capability
  • scan_git_diffno sensitive capability
  • scan_mcp_serverno sensitive capability
  • scan_packagesno sensitive capability
  • scan_projectno sensitive capability
  • scan_securityno sensitive capability
  • scan_skillno sensitive capability
  • scanner_healthno sensitive capability
  • score_aivssno sensitive capability

Toxic flows 1

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

What this scan could not see

Versions 9

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.

VersionScoreFindingsEngineScanned
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
Show 4 more versions ↓
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

Embed this score

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.

MCP Trust Score: C · 76/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/agent-security-scanner-mcp/badge.svg)](https://mcptrustchecker.com/registry/agent-security-scanner-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/agent-security-scanner-mcp"><img src="https://mcptrustchecker.com/registry/agent-security-scanner-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/agent-security-scanner-mcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

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

Use the free API → How scoring works

More in AI & Agents