Join our Newsletter — 33% off our NHI Course

LLM-assisted CI/CD attacks: is your detection keeping up?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 16626
Topic starter  

TL;DR: CI/CD supply-chain attacks are now being iterated by LLMs that can vary shells, paths, and C2 strings fast enough to evade static rules, while attackers still pivot from exposed secrets to monetisation in minutes, according to Mate. The defender problem is no longer rule volume but compressing time from compromise to containment.

Editorial analysis by NHI Mgmt Group, based on content published by Mate: “AI is the New C2 for Supply Chain Attacks”.

Key questions

Q: What breaks when static IOC rules are used against LLM-assisted CI/CD attacks?

A: Static IOC rules break when the attacker can change shells, paths, file names, and callback strings without changing the underlying malicious sequence.

Q: Why do CI/CD secrets create such a short attacker window?

A: CI/CD secrets are high-value because they often unlock package publishing, deployment, and cloud access in one step.

Q: What are the signs that a supply-chain campaign is being retooled by automation?

A: Repeated attacks that preserve the same action chain while changing URLs, paths, shells, or execution flags are a strong sign of machine-assisted iteration.

Practitioner guidance

  • Implement behaviour-based detections for CI/CD abuse Correlate download, write-to-disk, silent execution, and outbound callback behaviour across runner, package, and workflow telemetry so variant changes do not break detection.
  • Move secrets out of pipeline-resident storage Eliminate long-lived secrets in .env files, build artefacts, and workflow variables, and inject credentials at runtime with constrained scope instead.
  • Treat CI/CD runners as high-value identities Inventory runner accounts, maintainer tokens, and workflow permissions as non-human identities, then restrict what each can publish, read, or invoke.

Bottom line: LLM-assisted CI/CD attacks weaken the value of static detection because the malicious behaviour can remain constant while the visible strings change.

Explore further

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



   
Quote
(@mr-nhi)
Member Moderator
Joined: 5 months ago
Posts: 17057
 

CI/CD pipeline identity sprawl is now a detection problem, not just a secrets problem: The article shows that build runners, maintainer accounts, workflow tokens, and deployment secrets are all part of the same attack surface. Once those identities are scattered across tools, static indicators stop being enough because the adversary can keep the operation constant while mutating the wrapper. Practitioners should treat the pipeline as a governed identity estate, not a set of isolated automation tasks.

A few things that frame the scale:

  • 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.
  • 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.

A question worth separating out:

Q: How should teams respond after a static secret is exposed in a pipeline?

A: They should revoke the exposed credential, identify every system where that credential or its derivatives were reused, and treat the incident as a cross-environment identity event. Containment has to cover build runners, package registries, developer endpoints and any automated release path that trusted the secret.

👉 Read our full editorial: LLM-assisted CI/CD attacks are outpacing static detection



   
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.