Settings

Theme

Copilot committed my repo secrets into AGENTS.md

bsky.app

12 points by benjaminbenben 14 days ago · 6 comments

Reader

nulone 14 days ago

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

  • benjaminbenbenOP 14 days ago

    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.

zvqcMMV6Zcr 14 days ago

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

  • benjaminbenbenOP 14 days ago

    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.

nik282000 14 days ago

LLMs are not intelligent machines, they are lying engines that predict the next most likely thing to do or say. If publishing your credit card details, home address and blood type meshes with the last thing it ingested, it'll do it.

chrisjj 14 days ago

"… though to be fair, it did sincerely apologize and promised never to do it again."

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection