GUARD detects hardcoded secrets in Ansible playbooks from key names
Original title: Guard: Robust Detection of Hardcoded Secrets in Ansible Playbooks
On recall it matches Sonnet 4.6 and Fable 5, but those models beat it on F1; it beats GLITCH and Mistral 7B.
GUARD classifies hardcoded secrets in Ansible playbooks from key names alone, without a fixed keyword list. Compared with GLITCH and zero-shot Sonnet 4.6, Fable 5, and Mistral 7B, the two larger models beat GUARD on F1 and precision, while GUARD beats GLITCH and Mistral 7B. Recall is statistically indistinguishable from Sonnet 4.6 and Fable 5, at negligible local cost and without sending playbooks to a third party. When GLITCH's keyword list is stripped, its F1 falls from 0.662 to 0.000; retrained GUARD retains F1 0.287.
- GUARD flags key-name variants and tokens absent from training.
- Ablation precision for GUARD stays within 0.783 to 0.868.
- Losing keyword coverage trades GUARD recall, not reliability.
- Predictions are deterministic and stay off third-party services.
- AI models
- Sonnet 4.6Fable 5Mistral 7B
From the original article
1 min read at arxiv.orgThe adoption of DevOps practices and Infrastructure as Code (IaC) has transformed IT and cloud infrastructure management, but it also introduces new security challenges, as entire infrastructures are now defined in code.
By Matteo Grella · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.