Live data from Hacker News

Copilot committed my repo secrets into AGENTS.md

bsky.app

1–7 of 7 posts

Re: Copilot committed my repo secrets into AGENTS.md

#6
post #3

How did you catch it — scanner, review, or just noticed manually? I treat agent-generated diffs as untrusted by default now.

I was manually reviewing when I saw it. Was looking through the PR more out of interest than worried that there'd be a problem tbh.

Re: Copilot committed my repo secrets into AGENTS.md

#7

So it didn't warn user that secrets are still visible in repo history and have to rotated, it only made that revert?

Yep. When the credentials were used earlier on in the session they'd been scrubbed from the logs - so there's some checking, but not on the code that's committed.