ASTA Cloud
Evidence-first security testing for AI agents, RAG applications, MCP servers, prompts, tools, memory, permissions, and agent workflows.
The first product is a local Python CLI. It is not a SaaS application and does not call an LLM.
Authorized use only
ASTA Cloud scans local directories you explicitly supply. Use it only on systems and code you are authorized to test. It never executes the scanned application, never follows symlinks outside the target directory, and never transmits findings or secrets.
Install
python -m pip install asta-cloud
For local development:
python -m pip install -e ".[dev]"
Requires Python 3.11 or newer.
Docker (GHCR)
docker run --rm -v "$PWD:/target:ro" ghcr.io/narendranadh6/asta-cloud:latest \
scan /target --format text
Images publish to GitHub Container Registry on each GitHub release.
PyPI packages publish on each GitHub release as well (pip install asta-cloud). Maintainer setup: docs/publishing.md.
Landing page: docs/index.html · GitHub PR policy: docs/github-integration.md · Design partners: docs/design-partner/README.md
CI
GitHub Actions runs ruff, mypy, pytest (Python 3.11 and 3.12), generates a SARIF report from examples/vulnerable_agent, verifies the Docker image, and runs the ASTA PR policy action on pull requests. See .github/workflows/ci.yml and docs/github-integration.md.
GitHub PR policy
Add the composite Action to fail PRs when findings meet fail_on in asta.yaml:
- uses: narendranadh6/asta-cloud/action@v0.10.0
with:
path: .
config: asta.yaml
post-comment: true
Copy templates/github-action-workflow.yml or see docs/github-integration.md for baseline, SARIF, and reusable workflows.
Scan
asta scan ./examples/vulnerable_agent \
--config asta.yaml \
--format json \
--output results.json
Omit --output to print to stdout. --format accepts json (default), sarif, or text.
# SARIF for CI / GitHub Code Scanning
asta scan ./examples/vulnerable_agent --format sarif --output results.sarif
# Grep-friendly text
asta scan ./examples/vulnerable_agent --format text
# Confirm findings locally (never executes target code)
asta scan ./examples/vulnerable_agent --validate --format json
# Adopt in CI with a baseline (fail only on new findings)
asta scan ./examples/vulnerable_agent --baseline asta-baseline.json --update-baseline
asta scan ./examples/vulnerable_agent --baseline asta-baseline.json --format sarif
# Scan an MCP server example
asta scan ./examples/vulnerable_mcp_server --format json
# Scan a RAG application example
asta scan ./examples/vulnerable_rag_app --format json
# Scan an agent workflow example
asta scan ./examples/vulnerable_workflow_app --format json
Exit codes
| Code | Meaning |
|---|---|
| 0 | Scan finished; no findings at or above fail_on (default: high) |
| 1 | Scan finished; at least one finding at or above fail_on |
| 2 | Usage, config, path, or I/O error |
Security boundaries
- Scan only the directory you pass as
TARGET. - Never scan URLs or internet targets.
- Never execute target code (
ast.parseonly). - Never read files outside the target (except an explicitly passed
--config). - Never follow symlinks that resolve outside the target.
- Redact secret values in reports. Do not collect or transmit secrets.
- All findings are suspected. ASTA Cloud does not claim a vulnerability was validated unless a later validation step actually ran.
See docs/scan.md for framework detection, taint analysis, rule catalog, config keys, and report formats.
Metadata
Release files for asta-cloud 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| asta_cloud-0.10.0.tar.gz | 38.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asta_cloud-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.8 kB
Release files / asta_cloud-0.10.0.tar.gz
| Download URL | asta_cloud-0.10.0.tar.gz |
|---|---|
| Size | 38.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0f5571043b54d3222a3017848d26f8bfeb2244e51780893089b06835ea7979e
|
|
BLAKE2b-256 checksum How to use checksums |
e9aadbbff5047eb4d714161f98ac053595efa341f2961762746bf19831dc296d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / asta_cloud-0.10.0-py3-none-any.whl
| Download URL | asta_cloud-0.10.0-py3-none-any.whl |
|---|---|
| Size | 59.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9316d60c46615f8aeb32e1d46b1fdfb50f76ad2e007ceec3a335234277419e9
|
|
BLAKE2b-256 checksum How to use checksums |
fb65e4beaf20e785b2ec8c5179a131f9f94858ca58968bb45835176352484262
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for asta-cloud 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.