sphior-code-mcp@0.0.0
VERIFIED· install onlyPublisher claims: "Scans your workspace for hard-coded secrets, insecure code patterns mapped to CWE and taint flows in 14 languages, and gives your AI assistant fix guidance for each finding. Deterministic and local, with no account or API key." In our sandbox: Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 7 of 7 bundled scripts run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
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.
Behavior
In our sandbox run on 2026-11-23, [email protected] read no files and called no hosts, and its code names 11 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
CURSOR_PROJECT_DIR, SPHIOR_AIGOV_ENDPOINT, SPHIOR_AIGOV_TOKEN, SPHIOR_API_BASE, SPHIOR_API_KEY, SPHIOR_DEBUG, SPHIOR_GUARD_DISABLE, SPHIOR_GUARD_FAIL_ON, SPHIOR_SCAN_BIN, SPHIOR_TIMEOUT, SPHIOR_WORKSPACE
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- use of the skill by an agent
| Run date | 2026-11-23 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try sphior-code-mcp |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
SPHIOR_AIGOV_TOKENSPHIOR_API_KEYConfiguration, not credentials: CURSOR_PROJECT_DIR, SPHIOR_AIGOV_ENDPOINT, SPHIOR_API_BASE, SPHIOR_DEBUG, SPHIOR_GUARD_DISABLE, SPHIOR_GUARD_FAIL_ON, SPHIOR_SCAN_BIN, SPHIOR_TIMEOUT, SPHIOR_WORKSPACE- Where it talks to
- no vendor host named in the codeAlso sphior.com, mitre.org, schemastore.org — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names sphior.com, mitre.org, schemastore.org as well as its own vendor. The guard injects SPHIOR_AIGOV_TOKEN, SPHIOR_API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.
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; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-23 and scored it 80/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 · 1 s · 2 scenarios · 0 deviationsStatic findings
* 何も無ければ黙る(会話を汚さない)。検査そのものが動かなかった時(npx が無い・初回の取得ができない等)はFix: Pin versions and sources; vendor anything fetched at install time.* SPHIOR_API_KEY=sk_live_xxx npx -y sphior-code-mcp (cloud モード)Fix: Pin versions and sources; vendor anything fetched at install time.instead of being ignored. Write it as `npx -y @sphior/scan@<version>`, and tell the user thatFix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run . --json "$OUT/baseline.json"Fix: Pin versions and sources; vendor anything fetched at install time.* 入れてはいけないもの: 秘密が紛れ込む場所(`.env*`・`.vscode`・`*.example`・`.github`)。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.instead of being ignored. Write it as `npx -y @sphior/scan@<version>`, and tell the user thatFix: Pin versions and sources; vendor anything fetched at install time.- **Command injection** — use `execFile` / `spawn` / `subprocess.run([...])` with an argumentFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- **Command injection** — use `execFile` / `spawn` / `subprocess.run([...])` with an argumentFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- npx -y @sphior/scan@<version> run . --json sphior.json --sarif sphior.sarif --fail-on highFix: Pin versions and sources; vendor anything fetched at install time.if (total > shownCount) lines.push(`- …and ${total - shownCount} more. Run \`npx ${SCAN_PACKAGE} run <file>\` to see all.`);Fix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run . --json "$OUT/baseline.json"Fix: Pin versions and sources; vendor anything fetched at install time.// 1 ファイルの検査の時間の上限。初回は npx の取得が入るので長めにとる(フック自体の上限は hooks の timeout 側)Fix: Pin versions and sources; vendor anything fetched at install time.Code the user adds it with `claude mcp add sphior-code -- npx -y sphior-code-mcp`).Fix: Pin versions and sources; vendor anything fetched at install time.- **Secrets** in every text file, including `.env*` and `*.example` — but only the current files,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.npx -y @sphior/[email protected] run . --json "$OUT/findings.json" --suppressed "$OUT/accepted.json"Fix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run <dir> --fix-context "$OUT/fix.json"Fix: Pin versions and sources; vendor anything fetched at install time.- **Secrets** in every text file, including `.env*` and `*.example` — but only the current files,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* npx -y sphior-code-mcp (local モード・キー不要)Fix: Pin versions and sources; vendor anything fetched at install time.…to a shell command (os.system/popen/subprocess shell=True).", remediation: "Use subprocess.run([...], shell=False); never build shell strings from input.", references: PY_REF(…Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.run: npx -y @sphior/scan@<version> run . --sarif sphior.sarif --fail-on highFix: Pin versions and sources; vendor anything fetched at install time.run: npx -y @sphior/scan@<version> run . --sarif sphior.sarif --fail-on highFix: Pin versions and sources; vendor anything fetched at install time.Code the user adds it with `claude mcp add sphior-code -- npx -y sphior-code-mcp`).Fix: Pin versions and sources; vendor anything fetched at install time.- npx -y @sphior/scan@<version> run . --json sphior.json --sarif sphior.sarif --fail-on highFix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run <dir> --fix-context "$OUT/fix.json"Fix: Pin versions and sources; vendor anything fetched at install time.- **Secrets** in every text file, including `.env*` and `*.example` — but only the current files,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.npx -y @sphior/[email protected] run . --json "$OUT/open.json" --suppressed "$OUT/accepted.json"Fix: Pin versions and sources; vendor anything fetched at install time.* SPHIOR_SCAN_BIN 検査の CLI の場所(開発用。既定は npx で版を固定して取得)Fix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run . --json "$OUT/open.json" --suppressed "$OUT/accepted.json"Fix: Pin versions and sources; vendor anything fetched at install time.instead of being ignored. Write it as `npx -y @sphior/scan@<version>`, and tell the user thatFix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run . --json "$OUT/findings.json" --suppressed "$OUT/accepted.json"Fix: Pin versions and sources; vendor anything fetched at install time.- **Command injection** — use `execFile` / `spawn` / `subprocess.run([...])` with an argumentFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Code the user adds it with `claude mcp add sphior-code -- npx -y sphior-code-mcp`).Fix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run <dir> --fix-context "$OUT/fix.json"Fix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run . --json "$OUT/open.json" --suppressed "$OUT/accepted.json"Fix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run . --json "$OUT/baseline.json"Fix: Pin versions and sources; vendor anything fetched at install time.npx -y @sphior/[email protected] run . --json "$OUT/findings.json" --suppressed "$OUT/accepted.json"Fix: Pin versions and sources; vendor anything fetched at install time.run: npx -y @sphior/scan@<version> run . --sarif sphior.sarif --fail-on highFix: Pin versions and sources; vendor anything fetched at install time.- npx -y @sphior/scan@<version> run . --json sphior.json --sarif sphior.sarif --fail-on highFix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.