Skip to main content

OpenACA: Agent Composition Analysis — overlays and scanner for AI agent 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 AI-agent analogue of Software Composition Analysis (SCA): it identifies the versioned plugins, MCP servers, skills, and framework components that make up an AI agent, and matches them against known security records (CVE/GHSA/OSV + agent-context overlays maintained in this corpus).

Beta status

This is the 0.1.0b5 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.0b5; check with openaca --version.

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

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 components are declared in this repository? CI gate, PR check
openaca scan endpoint What agent components 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) 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.0b5.tar.gz (474.5 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.0b5-py3-none-any.whl (194.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openaca-0.1.0b5.tar.gz
  • Upload date:
  • Size: 474.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openaca-0.1.0b5.tar.gz
Algorithm Hash digest
SHA256 8de6eee520bd2746acf1e14d3dba3d7d0f1fcd177a6f20b5d63c9116157126cb
MD5 1e43256b808d8317d9394bed73dbedd9
BLAKE2b-256 280713d926d9ee636cd8091ea54a9e9e98b3ba1a23bc1694316c36dc9b001830

See more details on using hashes here.

Provenance

The following attestation bundles were made for openaca-0.1.0b5.tar.gz:

Publisher: publish-pypi.yml on open-agent-security/openaca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: openaca-0.1.0b5-py3-none-any.whl
  • Upload date:
  • Size: 194.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openaca-0.1.0b5-py3-none-any.whl
Algorithm Hash digest
SHA256 777d110964d54819b733ac16800dca654154a4127df5e6ba93b1da92868ec9f6
MD5 635eff3de25239881cad0016a8c20182
BLAKE2b-256 590b99a087e0e620dad3732af2a65a4748a378f20e7928bf61eafd2e83f8986b

See more details on using hashes here.

Provenance

The following attestation bundles were made for openaca-0.1.0b5-py3-none-any.whl:

Publisher: publish-pypi.yml on open-agent-security/openaca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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