LLM integration in GitHub CI creates exploitable risks, detected by Heimdallr
LLM use in CI workflows introduces security vulnerabilities that can be identified with high accuracy by the Heimdallr framework
Software arXiv 7 May 2026 Method Prototype evidence
Published as “Heimdallr: Characterizing and Detecting LLM-Induced Security Risks in GitHub CI Workflows”
Why it matters
The framework enables large-scale discovery and remediation of LLM-related CI vulnerabilities, as demonstrated by the disclosure of 802 vulnerable workflow instances.
Summary
The study finds that 43.5% of GitHub CI workflows that integrate LLMs contain at least one externally triggerable LLM node, and 39.7% of LLM nodes are externally triggerable. Heimdallr, a hybrid analysis framework, detects these risks with a micro-average F1 of 0.917 (precision 0.934, recall 0.900) across six threat vectors. Evaluation on a manually annotated benchmark of 300 workflows shows near-perfect LLM-node identification (F1 = 0.994) and 99.8% triggerability classification accuracy. The authors have disclosed 802 vulnerable workflow instances to 759 repositories, receiving 71 acknowledgments. The evidence is based on a real-world dataset of 50,354 workflow instances from 29,202 repositories.
What they found 2
- A large fraction of LLM-integrated workflows are externally triggerable.
“Finding. 39.7% of LLM nodes are externally triggerable, and 43.5% of workflows contain at least one externally triggerable LLM node.”
- Heimdallr achieves high detection accuracy across threat vectors.
“Overall, Heimdallr achieves a micro-average F1 of 0.917 (P = 0.934, R = 0.900) and a macro-average F1 of 0.874 on TV1-TV6.”
Caveats 4
- Heimdallr misses many threat vectors in workflows it flags as triggerable: 25 of the 50 S2 workflows (those with a triggerable LLM node but no predicted TV) were found by humans to contain at least one TV, driving the majority of false negatives.
- TV5 (Model-Mediated Execution) has 20 false positives, reducing precision for that vector.
- Heimdallr includes the scaffolding steps automatically injected by anthropics/claude-code-action@beta. The human annotators excluded these steps as infrastructure rather than LLM-interaction steps.
- The sole misclassification in triggerability analysis is caused by a custom step that performs write-permission checking and passes the result to a downstream if: condition, which is a guard pattern Heimdallr does not model, leading to a permissive over-approximation.
What’s new here 4
- Provides the first systematic taxonomy of LLM-induced security risks in GitHub CI workflows.
- Introduces the LLM-Workflow Property Graph (L-WPG) to normalize heterogeneous CI specifications and explicitly mark LLM interaction boundaries.
- Combines triggerability analysis with LLM-assisted semantic summarization to reason about attacker-exercisable paths beyond classic taint analysis.
- Scales detection to a corpus of over 50k real-world workflows and conducts a responsible disclosure campaign.