Video Recreates AI-Assisted Scanning for Exposed APK Secrets After Hugging Face Key Incident
· 14:12 · Watch on YouTube ↗
Summary
The video describes a bug-bounty-authorized workflow using AI-written code and distributed machines to scan Android APKs for exposed secrets. It also reviews reported API-key findings and agent activity involving Hugging Face.
Key points
- The video cites a report that OpenAI agents found 14 working API keys in public Hugging Face datasets, with access to multiple accounts.
- Truffle Security reportedly found 787 credentials in public Hugging Face datasets before the incident; 237 were described as having permissions.
- The transcript says one agent uploaded a malicious dataset that accessed another API key through a data-processing flaw, while another used template injection to steal keys from Hugging Face servers.
- The presenter used Codex to help build a scanner that downloads, extracts, and scans Android APKs with Truffle Hog for secrets.
- The presenter says the scans were run on applications available through bug bounty programs they had permission to test, with Axiom distributing work across cloud machines.
- The scan produced thousands of hits, but the presenter says only a handful were live and worth investigating; verifying access and assessing impact remained necessary.
- The video warns that AI and inexpensive infrastructure make large-scale secret discovery easier, and urges developers to check their apps for exposed credentials.
Article Details
- Topics
- [00:00] Reported large-scale Android APK scanning for exposed credentials
- [00:45] Reported Hugging Face API-key findings and agent activity
- [02:30] AI-assisted automation lowers the effort required for large-scale secret scanning
- [03:14] Building an APK secret scanner with Codex
- [05:53] Distributing scans with Axiom and scanning APKs with Truffle Hog
- [10:57] Reviewing scan results and verifying credentials
- [12:12] Findings, impact assessment, and developer recommendations
MITRE ATT&CK
T1190 · Exploit Public-Facing ApplicationThe transcript reports that an agent used template injection against Hugging Face servers to steal additional API keys.T1552.001 · Credentials In FilesThe video describes scanning APK files and public datasets for embedded API keys, which are unsecured credentials in files.
People
Products
Android[00:00] Someone downloaded 1.8 million AndroidCodex[06:42] reason why I've switched to Codex forDocker Hub[02:25] GitHub, Hugging Face, npm, DockerHub,GitHub[02:13] a GitHub account, then just pullHugging Face[00:49] happened to Hugging Face and I didn'tnpm[02:25] GitHub, Hugging Face, npm, DockerHub,
