ADVERTISEMENT

AI agents are leaking their owners’ secrets on GitHub: thousands of files exposed

Security tools like Gitleaks often fail to detect credentials exposed in AI agent memory and configuration files.

Claude Code leak github

Image by Cybernews.

Ernestas Naprys
Ernestas Naprys Senior Journalist
November 9, 2026 3 min read
Key takeaways
leaked secrets ai
Leaked secrets. Image by Apiiro.

How do secrets end up on GitHub?

ADVERTISEMENT
A red folder over a bakcground of blinking ones and zeroes.
Image by Cybernews.

Anthropic’s looking into this

It’s a risk even when the file stays on the system

The allowlist is plain JSON in the project folder. Malware already collects credentials from developer machines in bulk,
the Apiiro report warns.
About the author
Ernestas Naprys
Senior Journalist
ADVERTISEMENT