ShipSafe has 7 sourced items that involve GitHub: 2 build stories and 5 security incidents. Each links to the original post and ends with a fix prompt you can paste into your own AI tool.
Where GitHub builders get stuck
Leaked secrets & API keys (3): Keys in front-end code or public repos get found and abused within hours. Keep secret keys server-side, set spend limits and turn on secret scanning.
Dependencies, plugins & MCP servers (2): AI suggests packages, extensions and MCP servers that can be malicious or vulnerable. Check the publisher and permissions before installing.
Usage limits, credits & costs (1): Plans and credits run out faster than people expect. Check usage daily, use cheaper models or plan mode for small edits, and commit progress so a limit pauses you instead of stranding work.
Deploys & app stores (1): "Works in preview" isn't "works on a phone". Set the app name and bundle ID before the first store build, test native login early and expect review rejections.
How to use these GitHub stories
Read the summary and the original post, then copy the fix prompt into GitHub or whichever AI tool you build with. Each prompt asks the AI to check your own project for the same problem and explain its plan before changing anything. Most of these problems are not unique to GitHub, so the topic links above show the same mistake in other tools.
LiteLLM's postmortem says the poisoned 1.107.0 release began with a config file holding an internal platform master key, committed to a public repo on 27 May. The commit was removed but the key was not revoked; on 10 Oct an attacker used it to pull a GitHub token with owner-level access to LiteLLM's repos. The Register says the bad package got about 49,000 downloads in under two hours, per Wiz.
Socket found compromised GitHub accounts adding a fake security-audit.yml workflow to 346 repos on 8 Oct; it later counted more than 500 accounts and tens of thousands of repos. The workflow took Actions secrets and searched the code and full git history for Anthropic, OpenAI, OpenRouter, AWS and other keys.
A malicious tensorlake 0.5.144 was published to npm from a compromised maintainer account and was live for about 1 hour 40 minutes. On install it took GitHub and npm tokens, cloud keys, .env files and AI tool and MCP config, then spread. It also planted a service that deletes your home folder if the stolen GitHub token is revoked.
Truffle Security scanned 224 million public GitHub repos and found 543,699 credentials that still worked when tested in July 2026, including 31,374 live Gemini keys. The median one had been public for 784 days. GitHub's push protection does not block Google or Gemini API keys.
GitHub secret scanning added detection for Lovable API keys and Supabase tokens; leaked Lovable keys in public repos are reported to Lovable for revocation.