Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The exploit is a postinstall hook, so CC users would be unaffected. Claude Code itself is most likely built with bun and not npm, so the CC developers would also be immune.


Well, technically bun doesnt _prevent_ hooks. It just requires opting into them. And even that also includes a default set of pre-whitelisted packages. A much better system, but not perfect.

And actually just looking this up, it appears claude-code itself was just added to that whitelist : D

https://github.com/oven-sh/bun/commit/5c59842f78880a8b5d9c2e...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: