Skip to content
atomdrift-projectPublic

About

A #supplychainfirewall that works anywhere

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Atomdrift Hood

Status: experimental CI License: Apache-2.0

Atomdrift Hood is a supply-chain firewall unlike any other: it catches malware nobody has reported yet. Before your package manager installs a download or your shell runs it, Atomdrift Scan inspects the scripts, unpacks the archives, and reverse-engineers the binaries, right on your machine.

Handle chemicals under a fume hood

Hood checks downloads from 32 commands, including npm, Cargo, curl, and wget. It can block a malicious installer before an AI agent runs it. It can also stop a ClickFix attack, where a fake verification prompt tells you to paste a harmful command into your terminal (on Windows too, with limitations).

On Linux, macOS, and FreeBSD, you keep using your usual commands. In CI, add hood before the command you already use.

Install

curl -fsSL https://install.atomdrift.org/hood.sh | sh
hood install

Restart your shell and every protected command runs through Hood; hood uninstall removes it.

To build from source with Rust 1.97 or later, run make install (gmake on FreeBSD) in a checkout, then hood install. On Windows, run cargo build --release, then .\target\release\hood.exe install in PowerShell.

Protected commands

Ecosystem Commands
Download tools curl, wget
Linux packages and source builds pacman, yay, paru, makepkg, dnf, yum, zypper, rpm, apk
FreeBSD packages pkg
Homebrew brew
JavaScript npm, npx, pnpm, pnpx, yarn, bun, bunx, rush, rushx
Python pip, pip3, pipx, uv, uvx, poetry, pdm
Go, Rust, and Zig go, cargo, zig

Only fetches are inspected; npm test and cargo build run untouched. npm, pnpm, Yarn, and Bun installs skip lifecycle scripts unless you have opted in.

In CI, prefix the command: hood npm ci. Any other tool that honors proxy and CA settings works through hood exec -- <command>.

How Hood decides

Hood checks local filters, then can ask Atomdrift OpenHash about a public package or a content hash. Whatever remains undecided is scanned on your machine. Suspicious and hostile verdicts block, and so do scan errors.

File contents never leave your machine, authenticated downloads are judged locally, and Hood sends no telemetry; HOOD_LOCAL=1 skips OpenHash entirely. Each wrapped command gets its own proxy and a certificate only it trusts, so your system trust store is never touched.

About

A #supplychainfirewall that works anywhere

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages