Skip to main content

Aevrin Scanner Core

The shared scanning layer used by the Aevrin API and CLI. It resolves a target to a launch command, runs the version-pinned MCP security engine against the live server inside an isolated container, normalizes the engine's output into one finding model, maps findings to the OWASP MCP Top 10, and records what could not be assessed.

It does not decide security. The engine assigns severities, scores and grades; this package presents them.

This package is primarily an internal runtime dependency. Most users should install the aevrin CLI instead.

Development

uv sync
uv run ruff check .
uv run mypy -p aevrin.scanner
uv run pytest

Scans require a reachable Docker daemon. There is no subprocess fallback: scanning an MCP server means starting it, which executes code published by someone else, so a scan without a sandbox does not run at all. See DECISIONS.md ADR-034.

Security model

  • The scan container receives an allow-listed environment - never the Supabase service-role key, a provider key, or a cloud credential. It runs non-root, read-only, with every capability dropped and a hard timeout.
  • A launch command is read from the project's own manifest, never guessed from a repository name: guessing scans a different package and attributes the grade to the wrong publisher.
  • A scan that could not launch or enumerate is INCOMPLETE and receives no grade; missing coverage is never presented as a clean scan.
  • Prompt injection through live tool responses (MCP08) remains explicitly outside static-scan coverage.

Metadata

Release files for aevrin-scanner 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aevrin-scanner 0.9.0
File Size Uploaded Provenance
aevrin_scanner-0.9.0.tar.gz 82.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aevrin-scanner 0.9.0
File Interpreter ABI Platform
aevrin_scanner-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 179.5 kB

Release files / aevrin_scanner-0.9.0.tar.gz

Download URL aevrin_scanner-0.9.0.tar.gz
Size 82.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a6aad1b504edaba7d9ade55b9bc99271f7995516a94eb3e11a2656fb407ac147
BLAKE2b-256 checksum
How to use checksums
c7d483b73b884c85430f83164700a7c38d504be830a16d23873bcb80d22b679e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / aevrin_scanner-0.9.0-py3-none-any.whl

Download URL aevrin_scanner-0.9.0-py3-none-any.whl
Size 97.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fe0a71a6cadb3ddd131fe7c7bc6f60fe02a96b4995925f34d533155cff302e5
BLAKE2b-256 checksum
How to use checksums
c6570a113cf21fc3ceaf2df2ee9b4abc80cd46828b98861f39e9bfcb99b3c8c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for aevrin-scanner 0.9.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.

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