Skip to main content

DevGuard

Scan a repository for malware before you open it in your IDE, install its dependencies, or run it.

Malicious repositories (fake job-interview tasks, poisoned forks, hijacked packages) rarely wait for you to run main.py. They run automatically: a VS Code task on folder open, an npm postinstall script, a git hook, an AI assistant hook, a loader hidden in tailwind.config.js. DevGuard finds those triggers, follows them to the code they run, and tells you whether it is safe to proceed. It reads files as data and never executes anything.

Install

pipx install devguard-scanner        # or: uv tool install devguard-scanner

Use

devguard scan path/to/repo
DevGuard scan complete
Target:   interview-task
Verdict:  BLOCK | Do not open, install, or run this project. Strong indicators of malicious behavior were found.
Findings: 5 (1 critical, 2 high, 1 medium, 1 low)
  - [critical] Automatic trigger reaches dangerous code (package.json:5)
  - [high] Browser profile data targeted (lib/collect.js:7)
  - [high] Cryptocurrency wallet data targeted (lib/collect.js:10)
Report (md): ~/.local/share/devguard/reports/interview-task-1a2b3c4d/latest/report.md
Verdict Meaning
block Do not open, install, or run it.
review Read the report first.
indicators Weak signals only, often benign.
no-indicators Nothing found by the enabled checks (not a guarantee).

Exit code 1 means findings at or above --fail-on (default high), so it works as a CI gate.

More

Licensed under Apache-2.0.

Metadata

Release files for devguard-scanner 0.1.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 devguard-scanner 0.1.0
File Size Uploaded
devguard_scanner-0.1.0.tar.gz 128.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for devguard-scanner 0.1.0
File Interpreter ABI Platform
devguard_scanner-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 270.9 kB

Release files / devguard_scanner-0.1.0.tar.gz

Download URL devguard_scanner-0.1.0.tar.gz
Size 128.9 kB
Tags Source
SHA-256 checksum
How to use checksums
04b6302bcbfefd1042d1817745a75ea9bed0e0ce3dd7e5a026c78dc587878caa
BLAKE2b-256 checksum
How to use checksums
7856919d779b718592a5f7072fd754079062ce08eaf900d9dea8d3deb5635e89
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 16, 2026.

Transparency log

Release files / devguard_scanner-0.1.0-py3-none-any.whl

Download URL devguard_scanner-0.1.0-py3-none-any.whl
Size 142.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf5a75a8679148560c54337e89831d68daedbb1ef17ca18a773f6be63d80d4e1
BLAKE2b-256 checksum
How to use checksums
52f9c2a1af4e3bcef34738cbdbd6c51f336a2668a381d8ce1fce82e96c4a9dc6
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release 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