A Zero Trust Security Scanner for NPM Projects
Project description
ZeroTrustNPM
ZeroTrustNPM is an open-source Python-based security scanner for NPM implementing a Zero Trust philosophy. Detects supply chain attacks, typo-squatting, and integrity anomalies beyond standard CVEs. Verify every package, trust no module.
Features
- Vulnerability Scanning: Checks against OSV.dev database for known vulnerabilities.
- Typosquatting Detection: Identifies packages with names similar to popular libraries.
- Integrity Verification: Compares local package integrity with remote registry data.
- Metadata Forensics: Analyzes package publication time and version history for suspicious activity.
- Script Auditing: Flags suspicious lifecycle scripts (preinstall, install, postinstall).
Installation
You can install ZeroTrustNPM directly from source:
git clone https://github.com/Achuth07/ZeroTrustNPM.git
cd ZeroTrustNPM
pip install .
Usage
Run the scanner on your project directory:
zero-trust-npm /path/to/your/npm/project
Or run it as a module:
python -m zerotrustnpm /path/to/your/npm/project
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zerotrustnpm-0.1.0.tar.gz.
File metadata
- Download URL: zerotrustnpm-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c5206dc888dbdc3724372b514699240c4105b2382969872ab27f3c5e5adca16
|
|
| MD5 |
b1c234b515f4f6be937d8b93608dbafe
|
|
| BLAKE2b-256 |
f2789aefe9bb6d7158aaeab77249bb8609e56fbef51fa42841930898fc363ace
|
File details
Details for the file zerotrustnpm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zerotrustnpm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d73298c53b62dcce86aeae445457e0f0dbd9a8489044739050d92a48080b44b
|
|
| MD5 |
9bf3eeb45553450bb6791e6a1cf3f71c
|
|
| BLAKE2b-256 |
abdae27e6d6e33f3d683fcbf79dc4fb92c123823aac0f87d662767239dcd8f14
|