
safely install npm packages by auditing them pre-install stage
This directory contains comprehensive documentation for the NPQ (Node Package Quality) security auditing tool.
optional-features.mdConfiguration and usage of optional security features, including recent improvements and bug fixes.
age.marshall.mdDetailed documentation of the Age Marshall security component that validates package age and maturity.
The feature/ directory contains detailed documentation for specific features and implementations:
test-coverage-improvements.md - Comprehensive test coverage enhancements that improved overall coverage from 84.4% to 93.39%signature-verification-fix.md - Critical bug fix for signature verification with version ranges (e.g., @angular/common@^20.2.4)auto-continue.md - Documentation for the auto-continue feature that streamlines package installation workflowsexit-codes.md - Reference for npq and npq-hero process exit behaviorjson-output.md - Versioned, machine-readable audit-only output for CI and automationmalicious-package.md - Documentation for known-malicious package detection through Snyk/OSV datapacote-dependency-reduction.md - Implementation summary for optional pacote dependency reductionfeature/Marshall components are the core security validation modules in NPQ. Each marshall focuses on a specific security concern:
age.marshall.md) - Package age and maturity validationsignature-verification-fix.md)When adding new features or making significant changes:
feature/ directorynpq and npq-hero.| Topic | File | Purpose |
|---|
| Optional Features | optional-features.md | Feature configuration and recent improvements |
| Age Validation | age.marshall.md | Package age and maturity security checks |
| Test Coverage | feature/test-coverage-improvements.md | Recent test suite enhancements |
| Signature Verification | feature/signature-verification-fix.md | Version range bug fix and validation |
| Auto-Continue | feature/auto-continue.md | Automated installation workflow |
| JSON Audit Output | feature/json-output.md | Versioned machine-readable audit results for CI |
| Exit Codes | feature/exit-codes.md | CLI and package-manager passthrough exit behavior |
| Malicious Packages | feature/malicious-package.md | Known-malicious package detection and reporting |
| Dependency Reduction | feature/pacote-dependency-reduction.md | Optional dependency management |