# Should an AI security scanner be allowed to block CI, or only write a report? — retained record

> Retained reddit record from reddit:devops.

Canonical: https://highsignal.app/data/records/70d612561b67b547

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:devops)  published 2026-07-29 01:30 ingested 2026-07-29 08:40

[original source ↗](https://www.reddit.com/r/devops/comments/1v9hryk/should_an_ai_security_scanner_be_allowed_to_block/)

## 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 &quot;fix&quot; 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 &quot;scan/report&quot; from &quot;block merge/change config&quot;? And if you do, what evidence has to be attached to the approval?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <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> &#32; <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
