Skip to main content

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.parse only).
  • 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.

Download files

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

Source Distribution

asta_cloud-0.10.0.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

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

asta_cloud-0.10.0-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file asta_cloud-0.10.0.tar.gz.

File metadata

  • Download URL: asta_cloud-0.10.0.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for asta_cloud-0.10.0.tar.gz
Algorithm Hash digest
SHA256 b0f5571043b54d3222a3017848d26f8bfeb2244e51780893089b06835ea7979e
MD5 890545f890001245cad82d334230aec3
BLAKE2b-256 e9aadbbff5047eb4d714161f98ac053595efa341f2961762746bf19831dc296d

See more details on using hashes here.

File details

Details for the file asta_cloud-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: asta_cloud-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for asta_cloud-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9316d60c46615f8aeb32e1d46b1fdfb50f76ad2e007ceec3a335234277419e9
MD5 f38488bb9cc23251d3d155fd2e9af91f
BLAKE2b-256 fb65e4beaf20e785b2ec8c5179a131f9f94858ca58968bb45835176352484262

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page