vaskort/pharos: Trace vulnerable JS dependencies. See the full chain. Know what to update. Built in Rust.
github.com·2d·
Discuss: Hacker News
Preview
Report Post

Pharos 🏛️

Trace vulnerable JavaScript dependencies through your dependency tree. Like yarn why, but shows the full chain and suggests which parent package to update.

Install

npx pharos-cli <package>@<version>

Or install globally:

npm install -g pharos-cli

Usage

# Check current directory
pharos minimist@1.2.5

# Check specific project
pharos qs@6.13.0 -p ./my-app

# Search recursively
pharos semver@7.0.0 -p ~/projects -r

Options

  • -p, --path <PATH> — Directory to search (default: current)
  • -r, --recursive — Search subdirectories

Example Output

════════════════════════════════════════════════════════════
📁 ./yarn.lock
════════════════════════════════════════════════════════════
✓ Found minimist@1.2.5

── Chain 1 ──
minimist...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help