Registry / security / ca9
library0.4.0pypypi✓ verified 85d ago

ca9 is an open-source Python package for security analysis and evidence-backed SCA (Software Composition Analysis) triage. It scans dependencies for known vulnerabilities, provides actionable evidence, and helps prioritize fixes. Version 0.4.0, released on PyPI, requires Python >=3.10. Release cadence is irregular.

pip install ca9
INSTALL
IMPORT
SIG · CA9
C
ca9
securitypythonv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ca9
import ca9
Top-level module. Use `ca9.scan()` or `ca9.analyze()` for primary functionality.

Quickstart: import ca9 and call scan() on the project directory. Results include vulnerability details with evidence.

import ca9 # Scan current project dependencies results = ca9.scan('.', api_key=os.environ.get('CA9_API_KEY', '')) print(results)
Debug
Known issues
gotchaca9.scan() expects a directory path as first argument, not a file or dependency list. Passing a single file may raise unexpected errors.
fix
Ensure you pass a valid project directory containing a requirements.txt or pyproject.toml.
affects: >=0.1.0
deprecatedThe function `ca9.triage()` was deprecated in 0.3.0 and removed in 0.4.0. Use `ca9.scan()` with the `triage=True` parameter instead.
fix
Replace `ca9.triage(path)` with `ca9.scan(path, triage=True)`.
affects: 0.4.0
Errors
Common errors & fixes
ImportError: cannot import name 'triage' from 'ca9'
ca9.triage() was removed in version 0.4.0.
fix
Use ca9.scan(path, triage=True) instead.
ca9.scan() missing required positional argument: 'api_key'
API key is required for some operations when not set via environment variable.
fix
Set the CA9_API_KEY environment variable or pass api_key='your_key' explicitly.
Upgrade
Version history
0.4.0latest on PyPI · released May 27, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Resources
ca9 — pip install ca9 · libregistry