Skip to main content

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.

ZeroTrustNPM Demo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zerotrustnpm-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zerotrustnpm-0.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for zerotrustnpm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c5206dc888dbdc3724372b514699240c4105b2382969872ab27f3c5e5adca16
MD5 b1c234b515f4f6be937d8b93608dbafe
BLAKE2b-256 f2789aefe9bb6d7158aaeab77249bb8609e56fbef51fa42841930898fc363ace

See more details on using hashes here.

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

Hashes for zerotrustnpm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d73298c53b62dcce86aeae445457e0f0dbd9a8489044739050d92a48080b44b
MD5 9bf3eeb45553450bb6791e6a1cf3f71c
BLAKE2b-256 abdae27e6d6e33f3d683fcbf79dc4fb92c123823aac0f87d662767239dcd8f14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page