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.1

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.1
File Size Uploaded Provenance
aevrin_scanner-0.9.1.tar.gz 85.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 184.8 kB

Release files / aevrin_scanner-0.9.1.tar.gz

Download URL aevrin_scanner-0.9.1.tar.gz
Size 85.7 kB
Tags Source
SHA-256 checksum
How to use checksums
351c2ff13c2411f5f7b13c3e3864ed7adcbd580608795cf1d06acb9db72d5635
BLAKE2b-256 checksum
How to use checksums
33f380735f1dcb391700e578fdf8918c893bf1b1cdae5950534353783427d0a6
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.1-py3-none-any.whl

Download URL aevrin_scanner-0.9.1-py3-none-any.whl
Size 99.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19de84039bbb8c86da70c4e6290b27318d0ab696e2c454c6cc9a51651d8bebd0
BLAKE2b-256 checksum
How to use checksums
71d3d9a813753f305c5806531aa1d1192b6e46d8353e917e42eb9920807b9f43
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.1

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