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 src
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.
Release files for aevrin-scanner-core 0.5.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 | |
|---|---|---|---|
| aevrin_scanner_core-0.5.0.tar.gz | 60.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aevrin_scanner_core-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 135.5 kB
Release files / aevrin_scanner_core-0.5.0.tar.gz
| Download URL | aevrin_scanner_core-0.5.0.tar.gz |
|---|---|
| Size | 60.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed83dde583996e311e5c5a41fe5953357be2f0658be44d9f093535797b0d9060
|
|
BLAKE2b-256 checksum How to use checksums |
5cfbd5e7510f89de9e00b26f7a7a5b78e0b0d22f9b6693ec48a565169fb4b53c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency logRelease files / aevrin_scanner_core-0.5.0-py3-none-any.whl
| Download URL | aevrin_scanner_core-0.5.0-py3-none-any.whl |
|---|---|
| Size | 75.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68604c2ac4b12ddcffe79c2a2276697e7ca949d39d47e6082901487d9387223a
|
|
BLAKE2b-256 checksum How to use checksums |
c0d64daab2c1b39c40ebbae6a780318fcde738d9ad02963ace1bc2ee41e2c7e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency log