Phi
Nothing touches your system unverified.
v0.7.0 · open source (MIT)
The problem
Every project leans on external packages. They make development faster — and quietly bring vulnerabilities and supply-chain risk into otherwise secure applications.
The approach
Phi intercepts installs. Every dependency, transitives included, is scanned in memory before any code reaches disk, scored for risk, and blocked if it crosses the line — one tool for npm packages and Go modules, with the same scan engine and audit trail.
What it’s made of
- 19 detectors
- Separate mechanisms for spotting risky and malicious packages.
- OSV intelligence
- Live vulnerability data from the OSV database.
- Risk scoring
- High-risk packages are blocked before install; thresholds are configurable.
- Zero postinstall
- Lifecycle scripts are off by default.
- Two ecosystems
- npm and Go modules, shipped as a single Go binary.
Why it mattersDeveloper security shouldn't begin when an application is deployed. It should start with the tools and components used to build it.
- / Go
- / npm
- / Go modules
- / OSV
- / Supply-chain security

$ phi install express zod lodash colorss
↳ 19 detectors · OSV advisories synced · lifecycle scripts disabled
✓express@4.21.2risk04
✓zod@3.23.8risk06
✓lodash@4.17.21risk09
✗colorss@1.0.3risk78
blocked colorss@1.0.3 — score 78 ≥ threshold 60
· possible typosquat of “colors”
· install script present (not executed)
3 installed · 1 blocked
$ ▍
Inside the productIllustrative








