packj
Packj stops :zap: Solarwinds-, ESLint-, and PyTorch-like attacks by flagging malicious/vulnerable open-source dependencies ("weak links") in your software suppl
What is packj?
Packj stops :zap: Solarwinds-, ESLint-, and PyTorch-like attacks by flagging malicious/vulnerable open-source dependencies ("weak links") in your software supply-chain
Overview of packj
What it is
Packj (pronounced package) is a tool designed to help mitigate software supply chain attacks. It detects malicious, vulnerable, abandoned, typo-squatting, and other risky packages from popular open-source package registries, including NPM, RubyGems, and PyPI. The tool originated as a PhD research project and is currently developed under various government grants.
Key features
- Audits packages for risky attributes such as expired email domains, large release time gaps, sensitive APIs, and access permissions.
- Supports both static code analysis (default) and dynamic code analysis with strace tracing for install-time behavior monitoring.
- Provides a lightweight sandbox for safe package installation, preventing data exfiltration, sensitive file access, and malware persistence.
- Covers multiple ecosystems: NPM, PyPI, RubyGems, Rust (Cargo), PHP (Packagist), .NET (Nuget), and Java (Maven).
- Can be customized to reduce noise by turning off alerts according to the user's threat model.
- Available as a Docker image, GitHub Action, and source repository for flexible deployment.
Use cases
- Auditing open-source dependencies for supply chain risks before integrating them into a project.
- Scanning dependency files (e.g., package.json, requirements.txt, Gemfile) in pull requests via GitHub Action.
- Sandboxing package installation to safely test untrusted packages without compromising the host system.
- Identifying typo-squatting, abandoned, or vulnerable packages in CI/CD pipelines.
Getting started
docker run -v /tmp:/tmp/packj -it ossillate/packj:latest --helpOr from source:git clone https://github.com/ossillate-inc/packj.git && cd packjbundle install && pip3 install -r requirements.txtpython3 main.py --help
License and pricing
License: AGPL-3.0. Pricing: open source.
Based on the project's public README and repository metadata.