Open source · MIT

Agent Supply-Chain Auditor (asca)

Find the API keys, unpinned MCP servers and risky settings your AI agents left on your machine, in one command. Works with Claude Code, Codex, Cursor, Claude Desktop, Hermes and any MCP client. Python standard library only, no network calls by default, and it never prints your secrets.

It's the tool behind my audits, and you can run it yourself. Try it on sample data first: python3 -m asca demo

$ asca --repos ~/Projects --telegram fail --env-file ~/.hermes/.env
asca 0.5.0: FAIL (fail-on high)
  critical=1  high=2  medium=1  low=5  info=2  suppressed=0
  agents on this host:
    ✅ Hermes Agent 0.23.4 (agent): no known vulnerabilities
    ⚠️ Claude Code 2.1.128 (CLI): 6 known vulnerabilities (worst: high)
  [CRITICAL] core.fsmonitor names a program git runs on every index refresh
      ~/Projects/downloaded-repo/.git/config:3
  [HIGH] Hub skill `some-community-skill` is not pinned to a commit
      ~/.hermes/skills/.hub/lock.json#installed.some-community-skill
  ...
  report: asca-report.md  (asca-report.json)

Example output from the project README.

What it checks

Four core checks, plus three companion tools.

Every run starts with Agents on this host: Hermes Agent, Claude Code, Codex CLI, Gemini CLI, goose, OpenCode and Claude Desktop, with every copy listed separately (two npm installs give two rows), and on macOS the ChatGPT, Codex and Meta Muse apps. Each row shows the version and how many known vulnerabilities it has. Versions are read from files; nothing is run.

Pinning

Hub skills without a commit pin, skill taps and plugins on moving branches, MCP servers launched with npx/bunx/uvx/pipx without an exact version, images without a digest, git+https installs without a commit, skills that tell the agent to curl … | sh.

Repo config (GitSpawn)

core.fsmonitor set to a program, every other git key that names a program, active hooks, linked worktrees and submodules, and MCP configs shipped inside repos.

Exposed keys

Literal API keys in agent config, scheduled jobs, memories, skills, plugins, scripts and MCP settings; tokens in git remote and MCP URLs; credential files readable by group or other.

Integrity

Hub skills whose content no longer matches the install-time hash, skills installed despite a non-safe scanner verdict, Hermes Agent, Claude Code, Codex, Gemini CLI, goose, OpenCode and Claude Desktop versions with known vulnerabilities.

asca-skills

Fake-app & skill scanner

Look-alike names of official skills, plugins and packages, and malicious skill content.

asca-egress

Egress auditor

A logging proxy plus a daily diff: which destinations are new since yesterday.

asca-fleet

Fleet patch monitor

How many Hermes security fixes each instance you run is behind.

Requirements

Python and a terminal. Nothing to install.

Python3.10 or newer, standard library only. 3.11+ recommended: on 3.10, Codex's sandbox and endpoint settings aren't read, and asca reports that instead of passing silently.
macOSSupported, with a daily schedule through launchd.
LinuxSupported, with a daily schedule through systemd or cron. Egress process attribution is Linux-only.
WindowsTested on Windows 11 (Arm, in a VM) and in CI on Windows x64, with a daily schedule through Task Scheduler. Not checked on Windows: file permissions (NTFS access lists; each run says so), environment variables stored in the registry, and the Microsoft Store edition of Claude Desktop. Under WSL, asca sees the Linux side only.
NetworkThe audit makes no network calls by default. Online checks are opt-in.

Safety

An auditor shouldn't be a new risk.

  • It never runs git. Running git inside a hostile repo is how GitSpawn fires, so configs are parsed as text. A test blocks process spawning to prove it.
  • It never prints secrets. A 4-character prefix, length and short hash identify a key without leaking it. Reports are 0600.
  • It fails closed. An unparseable file is a HIGH finding, not a silent pass.
  • No dependencies. Python 3.10+ standard library only.

Limits, stated plainly

What it doesn't do.

  • Version advisories cover Hermes Agent, Claude Code, Codex, Gemini CLI, goose, OpenCode and Claude Desktop. The ChatGPT, Codex and Meta Muse apps on macOS are inventoried (version, publisher, changes), not matched against advisories. IDE extensions (Cursor, Copilot, Cline…) are tracked by version only: no advisory feed covers the VS Code Marketplace.
  • Egress process attribution and bypass sampling are Linux-only, and only see clients that honour HTTPS_PROXY.
  • Secret detection is pattern-based: common providers and obvious assignments, not every possible secret.
  • Remote (URL) MCP servers can't be pinned; they're reported as info.