Atlas / MCP servers / synvoya / CodeInspectus

CodeInspectusBLOCK

mcp/synvoya/codeinspectus

Local-first MCP security scanner for AI-generated apps. Scan → fix → rescan from Claude Code, Cursor, Codex, and other agents.

Verdict
BLOCK
Grade
F
Trust score
49 /100
Exposed tools
12 9r · 2w · 1d
Transport
stdio
License
Apache-2.0
Stars
48
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](LICENSE) [](package.json) [](https://www.npmjs.com/package/codeinspectus) [](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.Synvoya%2Fcodeinspectus) [](https://glama.ai/mcp/servers/Synvoya/codeinspectus) [](https://github.com/Synvoya/codeinspectus)

A local-first, privacy-preserving security MCP server and CLI. Any AI coding agent (Claude Code, Cursor, Codex, Windsurf, Cline, Aider) can invoke CodeInspectus to scan AI-generated / "vibe-coded" code for real vulnerabilities, map findings to compliance frameworks as honest code-level coverage, and drive a scan → fix → rescan loop — fully on your machine, with no account and zero network egress at scan time.

Reproduce the V2.1 proof: the [email protected] package scans an immutable public Rich commit, finds one high-confidence GitHub Actions expression-injection pattern, applies GitHub's documented intermediate-env remediation in a temporary clone, confirms it as 1 resolved, 0 remaining, 0 introduced, 0 not rechecked, then creates and verifies sealed evidence for both states. Run the reproduction script or read the [scanner-derived case study](example

Read from source at commit 2f73c0879428OBSERVED · 2026-10-08
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add codeinspectus -- npx -y [email protected]
03

Exposed tools (12)

9 read · 2 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
codeinspectus_apply_cleanupwrite
codeinspectus_compliance_reportread
codeinspectus_explain_findingread
codeinspectus_generate_sbomread
codeinspectus_list_rulesread
codeinspectus_plan_cleanupread
codeinspectus_rescanread
codeinspectus_rollback_cleanupread
codeinspectus_scanread
codeinspectus_setupread
deleteAccountdestructivedelete a user account
transferFundswritemove money between accounts
04

Trust audit

BLOCKgrade F · trust 49/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryFAIL
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
declared (16 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
scripts/redaction-e2e.mjs:28
"-----BEGIN RSA PRIVATE KEY-----",
CRITICALHard-coded secrets · secret.stripe · CWE-798, CWE-321
evals/run-evals.ts:79
const RAW_SECRET = "sk_live_51Mz9KQb2eRxW7vYpL3nHsD8tA6cF0gJ4uXiZ2oP1rE5wB9mNqK7";
CRITICALHard-coded secrets · secret.stripe · CWE-798, CWE-321
scripts/redaction-e2e.mjs:23
mixedStripe: "sk_live_51MixedLineA2b3C4d5E6f7G8h9J0k1L2m3N4",
HIGHInventory / provenance · inv.suspicious_name · CWE-1104
schemas/codeinspectus-issue-payload-1.0.0.schema.json
codeinspectus-issue-payload-1.0.0.schema.json
Why it matters. member named after an attack tool
Fix. remove or justify
HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/deserialization.yaml:8
Insecure deserialization: node-serialize unserialize() on untrusted data can
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/deserialization.yaml:17
- pattern: $S.unserialize($X)
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/deserialization.yaml:18
- pattern-not: $S.unserialize("...")
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/deserialization.yaml:33
- pattern: pickle.loads($X)
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/deserialization.yaml:34
- pattern: yaml.load($X)
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/injection.yaml:93
- pattern: eval($X)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/injection.yaml:94
- pattern: new Function(..., $X)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/injection.yaml:110
- pattern: eval($X)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
detection-db/opengrep-rules/security-baseline/injection.yaml:111
- pattern: exec($X)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMInsecure crypto · crypto.weak_random · CWE-327, CWE-338
detection-db/opengrep-rules/security-baseline/crypto.yaml:42
Math.random() is not cryptographically secure. For tokens/secrets/IDs use
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
src/scan-redaction.test.ts:37
["URL credentials", "const url = 'postgres://admin:[email protected]:5432/app';", "Sup3rS3cretPw"],
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/ai-checks/client-secrets-build.test.ts:15
const SECRET = "sk_live_51Mz9KQb2eRxW7vYpL3nHsD8tA6cF0gJ4uXiZ2oP1rE5wB9mNqK7";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/ai-checks/client-secrets-supabase-opaque.test.ts:19
const SECRET = "sb_secret_A1b2C3d4E5f6G7h8I9j0K1_mN2pQ3rS";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/export/model.test.ts:162
const token = "sk_live_1234567890ABCDEFGHIJ";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/history-cli.test.ts:160
const token = "sk_live_0123456789abcdefghij";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/history-cli.test.ts:170
const token = "sk_live_0123456789abcdefghij";
MEDIUMHard-coded secrets · secret.github · CWE-798, CWE-321
src/ai-checks/client-secrets-oversized-build.test.ts:34
const GH_TOKEN = "ghp_0123456789abcdefghijklmnopqrstuvwxyzAB"; // ghp_ + 38
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
src/ai-checks/client-secrets-oversized-build.test.ts:37
const PEM = "-----BEGIN PRIVATE KEY-----\nMIIBVAIBADANBgkqFAKE0BAQEFAASCAT4wggE6AgEAfake1234567890\n-----END PRIVATE KEY-----";
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
src/redact.test.ts:95
const PEM = ["-----BEGIN RSA PRIVATE KEY-----", PEM_BODY, "ZW5kb2ZrZXlib2R5", "-----END RSA PRIVATE KEY-----"].join("\n");
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
src/redact.test.ts:104
const pem = ["-----BEGIN PRIVATE KEY-----", PEM_BODY, "-----END PRIVATE KEY-----"].join("\n");
MEDIUMHard-coded secrets · secret.slack · CWE-798, CWE-321
src/ai-checks/client-secrets-oversized-build.test.ts:35
const SLACK_TOKEN = "xoxb-1234567890-abcdefghijklmno";

Gates applied: critical_finding, no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 2f73c0879428full audit observations/trust-audit/mcp-server/synvoya__codeinspectus.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-082f73c0879428BLOCKF49first audit
06

Questions

What is the CodeInspectus MCP server?

Local-first MCP security scanner for AI-generated apps. Scan → fix → rescan from Claude Code, Cursor, Codex, and other agents.

What tools does CodeInspectus expose?

12 in total: 9 read-only, 2 that write, and 1 that can delete or overwrite (deleteAccount). Every one is listed on this page with its risk.

Is CodeInspectus safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (49/100) and found 13 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does CodeInspectus need?

It reads AMPLITUDE_API_KEY, ANDROID_API_KEY, ANTHROPIC_API_KEY, API_SECRET, ASSERTED_SECRET, AWS_ACCESS_KEY_ID, BACKUP_SECRET, BILLING_API_SECRET, CHECK_AUTH, COMMENT_SECRET, DB_PASSWORD and DIRECT_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does CodeInspectus run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as codeinspectus at 3.3.1.

How current is this page?

The grade is for one exact copy of the source (2f73c0879428), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement