Retrieved article excerpt
Open article · Retrieved 2026-11-21T07:21:33.506190+00:00
Free · Open source · macOS, Linux and Windows
# Useful AI starts with *security*.
Before agents run on your machines, the machines have to be safe. Pantry checks everything installed on your Mac or Linux machine, and every repo on it, against open vulnerability and malware data. It reports only what actually applies, names the version that fixes it, and applies the fixes it safely can.
[Secure your system→](https://waffuru.ai/products/pantry#install)
Watch the video · 0:49
[View the source on GitHub→](https://github.com/waffuruai/pantry)
Runs on
- macOS
- Windows
- Linux
- Ubuntu
- Debian
- Fedora
- Arch
- Omarchy
On Windows, Pantry checks your repos and a first few installed programs; full machine checks are coming. Tell us what you need
Free · open source
: Free
Pantry costs nothing, and its MIT-licensed source code is open to everyone.
: Local
Scans run on your machine. Only package names and versions ever leave it.
: Fast
Later scans take seconds, because Pantry checks only what changed, from a cache on your disk.
## Attacks don’t wait for a *CVE*.
Agents now read your repos, run your tools and hold your keys. Two attacks from November 2026 show what that puts at stake. Neither came with a CVE, so a CVE feed would not have been helpful.
- Bitdefender Labs · Nov 17, 2026
### GitHub repos that hijack your AI coding agent
Bitdefender found 22 GitHub repos that get AI coding assistants to run a hidden setup script, through AGENTS.md and CLAUDE.md, a Claude Code session-start hook, MCP configs and VS Code tasks. The script steals tokens, SSH keys and cloud credentials, then plants the same configs in the victim’s other repos.
What Pantry checks
Code a repo runs the moment it is opened (Claude Code and Gemini hooks, MCP servers kept in the repo, VS Code tasks on folder open), payloads decoded at run time and fed to eval, and every MCP server your agents start.
[Read the report: GitHub repos that hijack your AI coding agent↗](https://www.bitdefender.com/en-us/blog/labs/how-ai-agents-become-new-targets-in-github-malware-campaign)
- Report URI · Nov 16, 2026
### Malware on 178 organisations’ sites, through Optimizely
An attacker added a loader to customers’ Optimizely Web project code. Pages at 178 organisations, some of the world’s largest brands among them, then swapped crypto addresses, skimmed cards, stole cookies and sent iPhones to exploit kits.
What Pantry checks
The payload lived in a vendor’s dashboard, out of reach of any scanner on your machine. Pantry flags the opening it used, third-party scripts your repos load without an integrity hash, and code shaped like the payload: strings decoded and fed to eval, clipboard address swaps and card data in the clear.
[Read the report: Malware on 178 organisations’ sites, through Optimizely↗](https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/)
## Install. Scan. Cache. *Fix.*
One small binary does the whole job on your machine. Only package names and versions ever leave it.
01 · InstallVerified before it runs02 · ScanOnly what applies03 · CacheSeconds, the second time04 · FixFixes you can trust
Pantry can read your whole home directory, so every release is signed, hashed and built reproducibly. packslip, GitHub or cosign checks the download before it ever runs.
Pantry takes stock of your runtimes, packages, apps and every repo lockfile, then asks OSV.dev, CISA KEV and endoflife.date about those exact versions. Nothing you have not installed gets reported.
Answers land in a SQLite database on your disk, along with a record of every run. A second scan the same day takes seconds, and you can search the advisories offline.
Preview the plan, then let Pantry run the safe, user-level updates and check again. Anything that needs sudo or a code change is printed for you or your agent to run.
Play
wpantryInstall
```
$ mise use -g packslip:github.com/waffuruai/pantry# verifies the signed packslip, then the binary’s digest$ wpantry versionwpantry 0.4.0 (rust, schema 1)
```
1. Signed release
2. Signature + SHA-256
3. Your machine
A download that fails either check is never installed.
Example output from one machine. Yours will differ.
## Secure your *system*.
Choose how much you want to check yourself. Every route verifies the release before anything runs.
With the install scriptWith miseVerify it yourselfOther package managers
Recommended
### With the install script
Picks the build for your machine, checks it against SHA256SUMS, verifies its signature with packslip, the GitHub CLI or cosign, and installs it to ~/.local/bin.
[Read the script first→](https://github.com/waffuruai/pantry/blob/HEAD/rust/release/install.sh)
With the install scriptCopy
```
$ curl -fsSL https://waffuru.ai/pantry/install.sh | sh
```
Easy updates
### With mise
[mise](https://mise.jdx.dev) is a more versatile and secure package manager than Homebrew. Install it and turn it on in your shell, then install Pantry. mise reads the release’s signed [packslip](https://packslip.dev) and verifies it against our release workflow before installing anything, then remembers the signer for every update.
[Install mise→](https://mise.jdx.dev/getting-started.html)
With mise
1. # Install mise and turn it on (zsh, the macOS default)Copy
```
$ curl -fsSL https://mise.run/zsh | sh$ source ~/.zshrc
```
2. # Or on bash (most Linux)Copy
```
$ curl -fsSL https://mise.run/bash | sh$ source ~/.bashrc
```
3. # Then install PantryCopy
```
$ mise use -g packslip:github.com/waffuruai/pantry
```
By hand
### Verify it yourself
Download the binary, check it against SHA256SUMS and at least one signature (its signed packslip, its GitHub build attestation or its cosign bundle), then install it.
[Full install guide→](https://github.com/waffuruai/pantry/blob/HEAD/docs/public/install.md)
Verify it yourselfCopy
```
$ ASSET=wpantry-universal-apple-darwin # Linux: wpantry-x86_64-unknown-linux-musl or wpantry-aarch64-unknown-linux-musl$ BASE=https://github.com/waffuruai/pantry/releases/latest/download$ curl -fsSLO "$BASE/$ASSET" -O "$BASE/SHA256SUMS" -O "$BASE/packslip.sigstore.json"$ grep " $ASSET\$" SHA256SUMS | shasum -a 256 -c -$ packslip verify packslip.sigstore.json --artifact "$ASSET" # or: gh attestation verify "$ASSET" --repo waffuruai/pantry$ install -m 0755 "$ASSET" ~/.local/bin/wpantry
```
Coming soon
### Other package managers
Homebrew, apt, dnf, pacman and apk packages are on the way. Until then, install with the script or mise above.
Tell us which one you need→
Other package managersComing soon
```
$ brew install wpantry # Homebrew, macOS and Linux$ sudo apt install wpantry # Debian and Ubuntu$ sudo dnf install wpantry # Fedora and RHEL$ sudo pacman -S wpantry # Arch Linux$ sudo apk add wpantry # Alpine
```
### Then scan, see the plan, and write an HTML report.
wpantryCopy
```
$ wpantry scan$ wpantry fix --dry-run$ wpantry report --html
```
## Reports in every *format*.
Read it in your terminal, share one offline HTML page, or hand JSON to your tools and agents. wpantry report turns the latest scan into any of them, without scanning again.
HTMLTerminalJSONJSON LinesCSVMarkdown
One offline page to read, share or print: what was checked, what applies, the exact fix for each, and a prompt to hand your coding agent.
$ wpantry report --html
Pantry’s HTML report for an example project: three things to update, a prompt for a coding agent, and the findings for smallvec, lodash and requests.
Example reports from one example project. Yours will differ.
[See the whole report↗](https://waffuru.ai/img/pantry/report-html-2560.jpg?v=a608300869)
Tables in your terminal, grouped by area, in the order to fix them, with the update plan at the end.
$ wpantry report
```
==> Security scan #1 2026-11-17 04:44 UTC · ~/.cache/wpantry/wpantry.db
checked 3 project dependencies
Project dependencies 8 fail
COMPONENT VERSION ADVISORY SEVERITY CVSS EPSS FIX
✗ smallvec 1.6.0 CVE-2021-25900 CRITICAL 9.8 1.7% cd ~/code/app && cargo update -p smallvec --precise 1…
~/code/app/Cargo.lock · Buffer overflow in SmallVec::insert_many
✗ lodash 4.17.20 CVE-2021-23337 +3 HIGH 8.1 20.2% cd ~/code/app && npm install [email protected]
~/code/app/package-lock.json · Command Injection in lodash
✗ requests 2.31.0 CVE-2024-47081 +2 MEDIUM 5.6 1.0% Update requests to 2.33.0 in ~/code/app/requirements.…
~/code/app/requirements.txt · Requests vulnerable to .netrc credentials leak via malicious URLs
Update plan wpantry fix runs the automatic ones
needs you cd ~/code/app && cargo update -p smallvec --precise 1.6.1 clears 1 finding
needs you cd ~/code/app && npm install [email protected] clears 4 findings
needs you Update requests to 2.33.0 in ~/code/app/requirements.txt clears 3 findings
✗ 3 thing(s) to update (8 advisories), 0 warning(s). See the plan: wpantry fix --dry-run
```
Example reports from one example project. Yours will differ.
Every finding with its severity, CVSS, EPSS and fix command, in a versioned schema for tools and agents.
$ wpantry report --json
```
{
"schema": 1,
"impl": "rust",
"version": "0.4.0",
"checked": { "project dependencies": 3 },
"findings": [
{
"kind": "project",
"component": "smallvec",
"version": "1.6.0",
"location": "~/code/app/Cargo.lock",
"vuln_id": "CVE-2021-25900",
"status": "fail",
"fixed": "1.6.1",
"kev": false,
"severity": "CRITICAL",
"cvss": 9.8,
"cvss_version": "3.1",
"epss": 0.0172,
"epss_percentile": 0.77857,
"note": "Buffer overflow in SmallVec::insert_many",
"fix_cmd": "cd ~/code/app && cargo update -p smallvec --precise 1.6.1",
"fix_auto": false,
"dep_scope": "unknown",
"dep_direct": true,
"affected_range": ">=1.0.0, <1.6.1"
},
…
]
}
```
Example reports from one example project. Yours will differ.
One finding per line, joined with its OSV record, lifecycle and fix, for log pipelines.
$ wpantry report --jsonl
```
{"affected_range":">=4.0.0, <4.17.21","aliases":["GHSA-29mw-wpgm-hmr9"],"component":"lodash","cvss":5.3,"cvss_version":"3.1","days_exposed":0.0,"dep_direct":true,"dep_scope":"runtime","epss":0.07424,"epss_percentile":0.94542,"first_seen":"2026-11-17 04:44 UTC","fix":null,"fix_auto":false,"fix_cmd":"cd ~/code/app && npm install [email protected]","fixed":"4.17.21","kev":false,"kind":"project","last_seen":"2026-11-17 04:44 UTC","location":"~/code/app/package-lock.json","note":"Regular Expression Denial of Service (ReDoS) in lodash","record":{"affected":[{"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-29mw-wpgm-hmr9/GHSA-29mw-wpgm-hmr9.json"},"package":{"ecosystem":"npm","name":"lodash","purl":"pkg:npm/lodash"},"ranges":[{"events":[{"introduced":"4.0.0"},{"fixed":"4.17.21"}],"type":"SEMVER"}]},{"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-29mw-wpgm-hmr9/GHSA-29mw-wpgm-hmr9.json"},"package":{"ecosystem":"npm","name":"lodash-es","purl":"pkg:npm/lodash-es"},"ranges":[{"events":[{"introduced":"4.0.0"},{"fixed":"4.17.21"}],"type":"SEMVER"}]},{"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-29mw-wpgm-hmr9/GHSA-29mw-wpgm-hmr9.json"},"package":{"ecosystem":"npm","name":"lodash.trimend","purl":"pkg:npm/lodash.trimend"},"ranges":[{"events":[{"introduced":"4.0.0"},{"last_affected":"4.5.1"}],"type":"SEMVER"}]},{"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-29mw-wpgm-hmr9/GHSA-29mw-wpgm-hmr9.json"},"package":{"ecosystem":"npm","name":"lodash.trim","purl":"pkg:npm/lodash.tr