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.0b4 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.0b4; check with openaca --version.

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

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.0b4.tar.gz (454.9 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.0b4-py3-none-any.whl (184.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openaca-0.1.0b4.tar.gz
  • Upload date:
  • Size: 454.9 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.0b4.tar.gz
Algorithm Hash digest
SHA256 43b9e074dee11c75a0c45e56409187208c982ccdbaf55cd451cacdf7676f3975
MD5 ee485cfa39914ad8d5acf080692615fc
BLAKE2b-256 1c62ca48f87d94abfe5bc406a9815859e12e3504a60f1f0adcad130fad1701d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for openaca-0.1.0b4.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.0b4-py3-none-any.whl.

File metadata

  • Download URL: openaca-0.1.0b4-py3-none-any.whl
  • Upload date:
  • Size: 184.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.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 0c66004115a16ff1d55fb3915d62d00bfa8235178d2c1a8b432fb87e38e81d8e
MD5 52b5bbe0568876ca0a5dbd2eb0aa47c5
BLAKE2b-256 bc6f21b26cdbabc740e91e483cd272e787e6115b7bacebbec9ea5034ab2daec9

See more details on using hashes here.

Provenance

The following attestation bundles were made for openaca-0.1.0b4-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