Graveward: a Kiro hook that blocks AI agents from installing hijacked or dead npm packages
A developer built Graveward, a pre-execution hook for the Kiro coding agent that inspects shell commands before they run and checks each npm package against npm, OSV and deps.dev. The tool allows safe installs, warns with a suggested replacement, or blocks risky ones with a reason the agent can act on. The author cites a USENIX Security 2025 study finding over 205,000 hallucinated package names and the September 2025 hijacking of chalk and debug as motivation. In a demo, Kiro tried to install a pinned ua-parser-js 0.7.29, which was flagged as malicious, and the agent bumped the pin to 0.7.33 instead. The project also includes a browser-based visualization of dependency health as a graveyard.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in