Should an AI security scanner be allowed to block CI, or only write a report?
retained text
<!-- SC_OFF --><div class="md"><p>I’m trying to draw a line around automated security scans in CI.</p> <p>A read-only scan feels fine. If it finds a suspicious dependency, a broad permission, or a weird auth path, I want the report. I might even want it to draft a small PR.</p> <p>The part that makes me nervous is when the same worker can change CI rules, mark a PR as failing, or "fix" security-sensitive code without a separate approval step. In one small project, I asked an agent to scan a dependency and config change. The report was useful, but I still did not want it editing the CI rule or auth code without me reading the diff first.</p> <p>Maybe this is just normal branch protection with a new actor, but I’m curious how people handle it.</p> <p>For security automation, do you separate "scan/report" from "block merge/change config"? And if you do, what evidence has to be attached to the approval?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/BitByLiu"> /u/BitByLiu </a> <br /> <span><a href="https://www.reddit.com/r/devops/comments/1v9hryk/should_an_ai_security_scanner_be_allowed_to_block/">[link]</a></span>   <span><a href="https://www.reddit.com/r/devops/comments/1v9hryk/should_an_ai_security_scanner_be_allowed_to_block/">[comments]</a></span>
document fetched 2026-07-29 08:40 · canonical https://reddit.com/r/devops/comments/1v9hryk/should_an_ai_security_scanner_be_allowed_to_block