New advertisers: 50% off your first month with code FIRSTMONTHSee slots
ychampion avatar

package-bouncer

Install-time guardrail that vets package names before Claude's npm, pip, cargo, and other installs run.

GitHub stars
5
View on GitHub

What it does

  • Checks npm, bun, pnpm, yarn, pip, uv, cargo, go, gem, and composer installs against public registries and the OSV advisory database
  • Stops made-up names, brand-new packages, look-alike names, and versions with known security holes before installation
  • Refuses package names the shell would expand, such as $VAR, $(...), backticks, or globs, until written out literally
  • Runs through seven hooks (decide, parse, popular, register, registry, versions) and aims at honest mistakes, not deliberate evasion

Checks every package install Claude runs (npm, bun, pnpm, yarn, pip, uv, cargo, go, gem, composer) and stops made-up names, brand-new packages, look-alike names and versions with known security holes.

Add marketplace

/plugin marketplace add ychampion/ystack

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install package-bouncer@ystack

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

package-bouncer

Checks the package installs Claude runs (npm, bun, pnpm, yarn, pip, uv, cargo, go, gem, composer) against the public registries and the OSV advisory database. It stops made-up names, brand-new packages, look-alike names and versions with known security holes. A package name the shell would expand ($VAR, $(...), backticks, globs) is refused until it is written out literally.

Scope: it catches honest mistakes, not deliberate evasion. Installs hidden behind eval, xargs, source/., a script file or a renamed binary are not seen.

Install

/plugin install package-bouncer --marketplace ychampion/ystack

Readme

package-bouncer

Checks the package installs Claude runs (npm, bun, pnpm, yarn, pip, uv, cargo, go, gem, composer) against the public registries and the OSV advisory database. It stops made-up names, brand-new packages, look-alike names and versions with known security holes. A package name the shell would expand ($VAR, $(...), backticks, globs) is refused until it is written out literally.

Scope: it catches honest mistakes, not deliberate evasion. Installs hidden behind eval, xargs, source/., a script file or a renamed binary are not seen.

Install

/plugin install package-bouncer --marketplace ychampion/ystack

Details

Marketplace
ychampion/ystack
Source
claude/mods/package-bouncer
Category
Community

More from ychampion/ystack

All 39

Similar to package-bouncer

More Security & Compliance