TL;DR: Compromised npm, NuGet, PyPI, and Go packages are shifting from install-time abuse into runtime secret theft, with attacks spanning developer workstations, CI runners, wallet applications, and build pipelines, according to Corgea. The pattern confirms that lifecycle-hook controls alone do not contain supply-chain risk, and runtime trust boundaries now need equal governance attention.
NHIMG editorial — based on content published by Corgea: the weekly security briefing covering supply-chain compromise and runtime secret theft
Questions worth separating out
Q: What breaks when a compromised package can run code during install or import?
A: The trust boundary around software installation breaks first.
Q: Why do supply-chain attacks increasingly target secrets instead of just code integrity?
A: Secrets provide immediate access to cloud, payment, source control, and release systems, so attackers can skip noisy persistence.
Q: How should teams respond when CI or developer secrets are exposed?
A: Teams should identify the affected identities, revoke or rotate exposed credentials, review ownership and scope, and verify whether the compromised material reached any production-adjacent systems.
Practitioner guidance
- Map every secret-bearing runtime path Identify where API keys, cloud tokens, signing material, wallet credentials, and merchant secrets are loaded into developer, CI, and production execution contexts.
- Treat import and CLI execution as privileged events Review package ingestion controls so that normal module imports, helper binaries, and CLI entry points are monitored as carefully as install-time hooks.
- Enforce provenance checks at trust transitions Verify package signatures, metadata integrity, and source provenance not only before install but also before build, release, and deploy handoffs.
What's in the full report
Corgea's full weekly briefing covers the operational detail this post intentionally leaves for the source:
- Per-package breakdown of the malicious npm, NuGet, PyPI, and Go artifacts so teams can match them against their own dependency inventories.
- Technical reverse-engineering notes on the import-time and CLI execution paths that made the payload harder to catch than classic install-time malware.
- Package-level remediation context for developers, CI operators, and security teams that need to prioritise what to remove or rotate first.
- The surrounding weekly threat context, including other supply-chain and workflow compromises that help teams separate isolated incidents from a broader campaign.
👉 Read Corgea's weekly briefing on supply-chain compromises and runtime secret theft →
Supply-chain compromises and runtime trust boundaries: what teams should act on?
Explore further
Runtime trust boundary collapse is now the central supply-chain risk: attackers no longer need lifecycle-hook execution to reach valuable credentials. When malicious code can wait for import-time, CLI-time, or production loading, controls focused only on install events miss the actual theft point. That shifts governance from package screening alone to runtime trust enforcement across developer and CI environments. Practitioners should treat import paths as security boundaries, not just software plumbing.
A few things that frame the scale:
- The average estimated time to remediate a leaked secret is 27 days, despite 75% of organisations expressing strong confidence in their secrets management capabilities, according to The State of Secrets in AppSec.
- Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap.
A question worth separating out:
Q: What should teams do when a supply-chain compromise may have reached build or wallet environments?
A: Contain the affected environments, revoke exposed credentials, reissue secrets that may have been read, and review downstream release artefacts and package caches for tampering. Then trace which trusted execution paths allowed the malicious code to load so the same boundary does not fail again.
👉 Read our full editorial: Supply-chain compromises are reaching runtime trust boundaries