Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
npq — safely install npm packages by auditing them pre-install stage | Kitploit
Tools/GitHubGitHub/lirantal/npq
Static AnalysisVulnerability ScannersCode AnalysisDevSecOpsSecret DetectionSupply Chain Security
GitHublirantal/npq

npq

safely install npm packages by auditing them pre-install stage

View Repository
1.8k437 days agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

NPQ Documentation

This directory contains comprehensive documentation for the NPQ (Node Package Quality) security auditing tool.

Core Documentation

optional-features.md

Configuration and usage of optional security features, including recent improvements and bug fixes.

age.marshall.md

Detailed documentation of the Age Marshall security component that validates package age and maturity.

Feature Documentation

The feature/ directory contains detailed documentation for specific features and implementations:

Recent Developments

  • 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)

Existing Features

  • auto-continue.md - Documentation for the auto-continue feature that streamlines package installation workflows
  • exit-codes.md - Reference for npq and npq-hero process exit behavior
  • json-output.md - Versioned, machine-readable audit-only output for CI and automation
  • malicious-package.md - Documentation for known-malicious package detection through Snyk/OSV data
  • pacote-dependency-reduction.md - Implementation summary for optional pacote dependency reduction

Documentation Standards

Structure

  • Each feature gets its own markdown file in feature/
  • Core functionality documented at the root docs level
  • Technical implementation details included with code examples
  • User-facing configuration documented with usage examples

Content Guidelines

  • Overview: Brief description of the feature/component
  • Technical Design: Architecture and implementation details
  • Usage Examples: Practical examples with code snippets
  • Testing: Coverage and validation information
  • Future Considerations: Maintenance and evolution notes

Marshall Documentation

Marshall components are the core security validation modules in NPQ. Each marshall focuses on a specific security concern:

  • Age Marshall (age.marshall.md) - Package age and maturity validation
  • Signature Marshall - NPM registry signature verification (see signature-verification-fix.md)
  • Provenance Marshall - Package build attestation verification
  • Snyk Marshall - Vulnerability database integration
  • Typosquatting Marshall - Package name similarity detection

Contributing to Documentation

When adding new features or making significant changes:

  1. Feature Documentation: Create a new file in feature/ directory
  2. Update Index: Add entry to this README
  3. Cross-Reference: Update related documentation files
  4. Examples: Include practical usage examples
  5. Testing: Document test coverage and validation

Quick Reference

Project context

  • Development - local setup, workflows, and useful commands.
  • Testing - test commands, test organization, and verification expectations.
  • Architecture - repository structure, package boundaries, and important flows.
  • Conventions - coding, documentation, and maintenance conventions.

Design specifications

  • Custom registry support - approved design for npm-compatible Artifactory and private registry support.
  • Coding-agent JSON detection - approved design for automatically selecting JSON audit mode in coding-agent environments.
  • JSON audit output - approved design for versioned, non-interactive machine-readable audit results.
  • Expired-domain maintainer identity warnings - approved design for attributable expired-domain warnings.
  • Expired-domain resolved version - design for resolving the exact dependency version for expired-domain checks.

Implementation plans

  • Custom registry support - task-by-task implementation plan for issue #429.
  • Coding-agent JSON detection - test-first implementation plan for issue #426 across npq and npq-hero.
  • JSON audit output - task-by-task plan for versioned, audit-only JSON CLI output.
  • Expired-domain resolved version - implementation plan for exact dependency-version resolution in expired-domain checks.
  • Expired-domain maintainer identity warnings - test-first implementation plan for attributable expired-domain warnings.
Download Tool
TopicFilePurpose
Optional Featuresoptional-features.mdFeature configuration and recent improvements
Age Validationage.marshall.mdPackage age and maturity security checks
Test Coveragefeature/test-coverage-improvements.mdRecent test suite enhancements
Signature Verificationfeature/signature-verification-fix.mdVersion range bug fix and validation
Auto-Continuefeature/auto-continue.mdAutomated installation workflow
JSON Audit Outputfeature/json-output.mdVersioned machine-readable audit results for CI
Exit Codesfeature/exit-codes.mdCLI and package-manager passthrough exit behavior
Malicious Packagesfeature/malicious-package.mdKnown-malicious package detection and reporting
Dependency Reductionfeature/pacote-dependency-reduction.mdOptional dependency management