Skip to main content

OpenACA: agent composition analysis — overlays and scanner for agent stack security.

Project description

OpenACA

Agent Composition Analysis (ACA) — OSV-compatible agent-context overlays and a reference scanner for AI agent infrastructure: plugins, MCP servers, skills, agent frameworks, model proxies, and runtime components.

OpenACA is the agent-stack analogue of Software Composition Analysis (SCA): it identifies the versioned plugins, MCP servers, skills, and framework components an agent stack is composed of, and matches them against known security records (CVE/GHSA/OSV + agent-context overlays maintained in this corpus).

Beta status

This is the 0.1.0b2 closed-beta pre-release. The scanner and overlay corpus are usable; expect rough edges. If you're a beta tester, start with the beta-tester guide — it covers install, first scan, what feedback I'm looking for, and how to report.

Install

Requires Python 3.11+.

Recommended — uv tool (install uv if you don't have it; uv also provisions Python for you so a 3.11+ runtime isn't a prerequisite you need to satisfy separately):

uv tool install openaca
openaca --version

Alternative — pip (if you already have a Python 3.11+ workflow):

pip install openaca

Both commands auto-pick the latest pre-release while OpenACA has no stable version yet. Current latest is 0.1.0b2; check with openaca --version.

Pin to a specific build if you need to reproduce a bug report: uv tool install openaca==0.1.0b2 or pip install openaca==0.1.0b2.

Try it in 30 seconds

mkdir openaca-demo && cd openaca-demo
cat > mcp.json <<'EOF'
{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": ["@cyanheads/git-mcp-server@1.1.0"]
    }
  }
}
EOF
openaca scan repo --target .

Expected output:

Found 1 vulnerability in 1 package.

@cyanheads/git-mcp-server 1.1.0
  location: mcp.json
  fix:      upgrade to >=2.1.5

  HIGH  GHSA-3q26-f695-pp76  fixed in 2.1.5  @cyanheads/git-mcp-server vulnerable to command injection in several tools  [osv.dev]

Scanned 1 manifest, 1 component. Sources: osv.dev.

For more scenarios (clean scan, configuration-hygiene checks via --include-posture), clone openaca-demo and try each of its fixtures.

Two scan modes

Mode Question Where it runs
openaca scan repo --target <path> What agent-stack manifests are committed in this repository? CI gate, PR check
openaca scan endpoint What agent tools are installed on this machine right now? Developer laptop, CI runner

Both modes emit text (default), JSON (--format json), or SARIF 2.1 (--sarif <path>). Use -v for per-finding context.

Configuration-hygiene posture rules (mutable install references, insecure transport, missing remote auth) are opt-in via --include-posture. They run separately from vulnerability findings and never fail CI by default.

V0 scope

  • Endpoint mode scans Claude Code only (~/.claude or $CLAUDE_CONFIG_DIR). Other agent hosts aren't endpoint-supported yet.
  • Repo mode parses Claude Code's declared manifests (.claude-plugin/plugin.json, .claude/settings.json) plus the host-agnostic mcp.json that most MCP-aware hosts use.
  • Declared manifests only. SDK-inline definitions (query({ mcpServers: { ... } })), tools registered programmatically, and source-code parsing are V1 scope.
  • Overlay corpus focuses on malicious-package records for MCP servers, agent-framework packages, and AI infrastructure. Pair with a general-purpose SCA scanner for your full dependency tree.

Links

Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openaca-0.1.0b2.tar.gz (425.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openaca-0.1.0b2-py3-none-any.whl (175.9 kB view details)

Uploaded Python 3

File details

Details for the file openaca-0.1.0b2.tar.gz.

File metadata

  • Download URL: openaca-0.1.0b2.tar.gz
  • Upload date:
  • Size: 425.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for openaca-0.1.0b2.tar.gz
Algorithm Hash digest
SHA256 27216863c1a5e238e9a6a5b753be043486faa62e2355b2f2101158ad875e0e06
MD5 f18085e19a1b005d0a9303e61c3c3183
BLAKE2b-256 44d96522bf9c89fdc3509899f7d9cd467fadd5ce56ba13a79423be10c05b00a0

See more details on using hashes here.

File details

Details for the file openaca-0.1.0b2-py3-none-any.whl.

File metadata

  • Download URL: openaca-0.1.0b2-py3-none-any.whl
  • Upload date:
  • Size: 175.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for openaca-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb6fd640165e9ba416c82aed8d3ec841e63dcc445f97b03d59efbb7b1cd99f77
MD5 c72d90026642912adaab5da2780de153
BLAKE2b-256 43a23c23ef685a16b4a49ee3b75bcbf422b398fd62c667f7e87551e8360d54ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page