Vérification des paquets avant installation
Interroge le registre public avant qu'un paquet ne soit installé ou exécuté, et retient la commande si le paquet est inexistant, très récent ou suspect.
Comment l'utiliser
Dans Claude Code, lance ces commandes :
/plugin marketplace add LupusMalusDeviant/mod-box /plugin install package-guard@mod-box
Présentation
Le code de cette création vit sur le dépôt de son auteur, sous licence MIT. Installe-la avec la marche à suivre ci-dessus ou depuis le dépôt.
Before Claude installs or runs a package (npm, pnpm, yarn, bun, npx, pip, uv, poetry, pipx, cargo), asks the public registry about it. Holds the command when the package does not exist (a made-up name), is under 14 days old, or looks like a well-known package and is young or thin (typosquatting). Allow in the band or with /pkg-allow.
Description d'origine, en anglais
Before Claude installs or runs a package (npm, pnpm, yarn, bun, npx, pip, uv, poetry, pipx, cargo), asks the public registry about it. Holds the command when the package does not exist (a made-up name), is under 14 days old, or looks like a well-known package and is young or thin (typosquatting). Allow in the band or with /pkg-allow.
D'où vient cette fiche
Création de Lupus Malus Deviant, publiée sur LupusMalusDeviant/mod-box sous licence MIT.
Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.
