Skip to main content

deviant-scan

Find the one thing in your code that breaks the pattern.

Deviant learns your project's own conventions, flags the exceptions, and shows the git history you need to judge them. You write no rules, and finding the exceptions needs no AI, no API key and no network.

A Deviant scan: 47 of 48 routes check auth, and the one that does not is shown with who last changed it and why

Picture a project with 48 API routes. 47 of them check who is calling. The 48th doesn't, and it exports every user's data. Nobody noticed. Deviant counts what your code already does, picks out the rare item that breaks the pattern, and shows the git history behind it.

Use it

pip install deviant-scan
deviant-scan path/to/your/project --with-git

Or without installing it: uvx deviant-scan path/to/your/project --with-git.

It checks FastAPI routes and GitHub Actions workflows today. Add --json for machine-readable output. Everything runs on your machine. It reads your files and never runs your code.

In Claude Code

A plugin judges each exception as a bug, intentional or unsure, with proof:

/plugin install deviant --marketplace ImalkaPerera/deviant

Learn more

Licensed under either the MIT license or the Apache License 2.0, at your option.

Metadata

Release files for deviant-scan 0.3.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 deviant-scan 0.3.0
File Size Uploaded Provenance
deviant_scan-0.3.0.tar.gz 87.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for deviant-scan 0.3.0
File Interpreter ABI Platform
deviant_scan-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 136.6 kB

Release files / deviant_scan-0.3.0.tar.gz

Download URL deviant_scan-0.3.0.tar.gz
Size 87.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6b3090f1236545b45d1b79e281c35b38a68b7e65a3a1c8a06561a92359de5cab
BLAKE2b-256 checksum
How to use checksums
7edd54680c85fed4dd6297acbeb5703df1cc372d6e3e8af6f8ec87869442b29a
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 Oct 21, 2026.

Transparency log

Release files / deviant_scan-0.3.0-py3-none-any.whl

Download URL deviant_scan-0.3.0-py3-none-any.whl
Size 48.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1008b0d30950b4b180fd39c36fe127b3f86b485a7e26ba29243acd05bf03f18d
BLAKE2b-256 checksum
How to use checksums
94d1939eaf8bd45d9267fdf8e005e8b18480e0169d69b810f5a78e882397c580
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 Oct 21, 2026.

Transparency log

Security for deviant-scan 0.3.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deviant_scan-0.3.0.tar.gz

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 Oct 21, 2026.

Transparency log

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