Join our Newsletter — 33% off our NHI Course

Are dependency bots now a supply-chain attack path?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Malicious updates can move through dependency automation so quickly that review no longer arrives in time, GitGuardian found. Supply-chain automation then needs cooldowns and tighter pinning to slow propagation and limit blast radius.

Editorial analysis by NHI Mgmt Group, based on content published by GitGuardian: “Renovate & Dependabot: The New Malware Delivery System”.

By the numbers:

  • At least 895 public repositories upgraded axios to a malicious version during the infection timeframe.
  • The malicious dependency update was triggered at h+40mn and merged at h+56mn in one showcased repository.

Key questions

Q: Why do automated dependency updates increase supply-chain risk?

A: They reduce friction for routine maintenance, but they also inherit trust and can be merged without scrutiny.

Q: What are the signs that access governance is failing in a supply chain environment?

A: Common warning signs include excessive privileges, incomplete onboarding and offboarding, weak access certification coverage, poor log review, and users or vendors retaining access they no longer need.

Q: What breaks when dependency bots can merge malicious updates too quickly?

A: Review stops being a meaningful control when automation can move a package from publication to production in minutes.

Practitioner guidance

  • Enforce release-age delays on dependency updates Set minimum release age or cooldown periods on Dependabot, Renovate, npm, uv, and similar tools so new releases cannot be merged immediately into build paths.
  • Block automated updates to immutable workflow pins Prevent automation from changing pinned reusable workflow SHAs or digest references unless a separate integrity review approves the new version.
  • Restrict high-privilege pull request triggers Review pull_request_target and similar triggers so secrets are not exposed to code that has not yet been validated in a trusted context.

Bottom line: Automation can now accelerate malicious dependencies into production, which turns trusted maintenance workflows into an attack path.

Glossary terms: Dependency Automation, Cooldown Period, Dependency Pinning, Supply-Chain Automation Perimeter

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

Automation has become part of the supply-chain control plane. The old boundary between code review and operational control no longer holds when bots and agents can open, update, and merge dependency changes. That means the governance question is no longer only whether a package is trusted, but whether the automated path that carries it is trusted enough to write into production. Practitioners should treat automation as a governed identity with its own blast radius.

A few things that frame the scale:

  • 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools, according to the Ultimate Guide to NHIs.
  • 59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: How should teams balance dependency automation with incident readiness?

A: Use cooldowns, limit high-privilege triggers, and keep install surfaces under inventory so that compromised updates do not spread unchecked. If secrets have already been exposed through automation, containment has to focus on revocation, workflow review, and repository-wide search for affected paths.

👉 Read our full editorial: Automation is now part of the supply-chain attack surface



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.