Is Which Safe?
Which is a Node.js package with a Nerq Trust Score of 81.0/100 (A-). It is recommended for production use. Security: 90/100. Popularity: 100/100. Data sourced from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. Last updated: 2026-03-24. Machine-readable data (JSON).
Is Which safe?
YES — Which has a Nerq Trust Score of 81.0/100 (A-). It meets Nerq's trust threshold with strong signals across security, maintenance, and community adoption. Recommended for production use — review the full report below for specific considerations.
Trust Score Breakdown
Key Findings
Details
| Author | gar |
| Category | npm |
| Source | N/A |
Safety Guide: Which
What is Which?
Which is a Node.js package — Like which(1) unix command. Find the first instance of an executable in the PATH..
How to Verify Safety
Run npm audit to check for vulnerabilities. Review the package's GitHub repository for recent commits.
You can also check the trust score via API: GET /v1/preflight?target=which
Key Safety Concerns for Node.js packages
When evaluating any Node.js package, watch for: dependency vulnerabilities, malicious packages, typosquatting.
Trust Assessment
Which has a Nerq Trust Score of 81/100 (A-) and meets Nerq trust threshold. This score is based on automated analysis of security, maintenance, community, and quality signals.
Key Takeaways
- Which has a Trust Score of 81/100 (A-).
- Recommended for use — passes trust threshold.
- Always verify independently using the Nerq API.
Detailed Score Analysis
| Dimension | Score |
|---|---|
| Security | 90/100 |
| Privacy | 80/100 |
| Reliability | 90/100 |
| Transparency | 85/100 |
| Maintenance | 60/100 |
Based on 5 dimensions. Data from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard.
What data does Which collect?
Which is a Node.js package maintained by gar. It receives approximately 112,436,732 weekly downloads. Licensed under ISC.
As a development package, Which does not directly collect end-user personal data. However, applications built with it may collect data depending on implementation. Privacy score: 80/100.
Review the package's dependencies for potential supply chain risks. Run your package manager's audit command regularly.
Full analysis: Which Privacy Report · Privacy review
Is Which secure?
Security score: 90/100. Which has 0 known vulnerabilities (CVEs) in the National Vulnerability Database. This is a clean record.
Licensed under ISC, allowing code inspection. Open-source packages allow independent security review of the source code.
Run your package manager's audit command (`npm audit`, `pip audit`, `cargo audit`) to check for known vulnerabilities in your dependency tree.
Full analysis: Which Security Report
How we calculated this score
Which's trust score of 81.0/100 (A-) is computed from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. The score reflects 5 independent dimensions: security (90/100), privacy (80/100), reliability (90/100), transparency (85/100), maintenance (60/100). Each dimension is weighted equally to produce the composite trust score.
Nerq analyzes over 1.8 million software entities across 18 registries using the same methodology, enabling direct cross-entity comparison. Scores are updated continuously as new data becomes available.
This page was last reviewed on March 24, 2026. Data version: 1.0.
Full methodology documentation · Machine-readable data (JSON API)
Frequently Asked Questions
Is Which safe to use?
What is Which's trust score?
What are safer alternatives to Which?
Does Which have known vulnerabilities?
How actively maintained is Which?
Disclaimer: Nerq trust scores are automated assessments based on publicly available signals. They are not endorsements or guarantees. Always conduct your own due diligence.