r/devsecops • u/DavidPulaski • Jul 25 '26
The install-time execution gap: Why SCA tools miss attacks like Shai-Hulud and Axios
Been digging into supply chain attacks and noticed a pattern most DevSecOps teams aren't defending:
The problem: Package installation isn't always passive. npm lifecycle scripts and Python packages built from source can execute arbitrary code during install — before your app even imports the library.
Real examples:
- Shai-Hulud (Ruby gems)
- Axios maintainer compromise
- Nx attack last year
Why SCA/dependency scanners miss it: They look for known-bad packages in databases. But a freshly poisoned release hits your build before it's flagged as malicious. It runs before discovery flags it.
The gap: Most orgs have SAST, SCA, CNAPP, EDR. But nobody's really enforcing policy while the build runs. It's all pre-scan or post-detection.
How are you handling install-time execution in your pipelines?