Exactly, popular AI coding harness (OpenCode/KiloCode) downloads random npm packages in the background without you knowing. What's worse is the devs don't care.
With coding agents, npm install can become a side effect of "make the tests pass." That feels like a very different risk model.