ShipSafe has 10 sourced items that involve OpenAI: 0 build stories and 10 security incidents. Each links to the original post and ends with a fix prompt you can paste into your own AI tool.
Where OpenAI builders get stuck
Leaked secrets & API keys (5): 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 (3): AI suggests packages, extensions and MCP servers that can be malicious or vulnerable. Check the publisher and permissions before installing.
Trusting agents & AI input (2): Agents read web pages, files, emails and tool output that can hide instructions. Give agents the fewest permissions possible and approve anything that runs commands, sends data, deletes or pays.
How to use these OpenAI stories
Read the summary and the original post, then copy the fix prompt into OpenAI 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 OpenAI, so the topic links above show the same mistake in other tools.
Check Point Research says ChatGPT's HTML preview sandbox still allowed popups that escape it, so a malicious prompt, GPT or shared chat could exfiltrate the entire chat history, show phishing popups or push malware even with Lockdown Mode on. In ChatGPT Classic it needed no clicks. OpenAI removed the permissions behind it and Check Point's retest confirmed the fix.
OpenAI's advisory says Codex Desktop for Windows mishandled quotation marks in project paths from File Explorer, so choosing 'Open project in ChatGPT' on an item inside an attacker's .library-ms file could pass extra startup arguments and run the attacker's code with your Windows permissions, before you signed in or approved the project. It was reported through Pwn2Own Ireland 2026; OpenAI knows of no abuse.
Stony Brook University researchers Billy Tsouvalas and Nick Nikiforakis presented results at ACM CCS (reported by BleepingComputer on 17 Nov 2026) from 300 honeypot images published across eight public container registries over four months, seeded with AWS, OpenAI and Anthropic API keys plus decoy SSH and database credentials. The images were pulled more than 75,000 times and the planted AWS keys received over 140,000 API calls from 5,000 unique IPs. The fastest AWS key use came 7.86 seconds after publication on Docker Hub, the median first call came after about 51 seconds, and all 100 AWS keys were used within 15 minutes. The OpenAI and Anthropic keys were quickly drained of their test balances. Scanners mostly pulled secrets straight out of image layers without ever running the containers. The researchers say they reported it to Docker in May and saw no changes in an August re-test.
Aikido Security reported on 12 Nov 2026 that from 10 November an attacker used stolen tokens for 4,837 GitHub accounts to open probe pull requests in 61,764 repositories, then pushed a roughly 1,500-line shell script into workflows, onto throwaway branches or into an npm postinstall hook. The script collects Actions secrets, GITHUB_TOKEN and OIDC tokens, cloud credentials and AI provider keys, sends them out, then reverts the commit and deletes the workflow run and its logs. Aikido counted at least 1,835 repositories where the payload ran, and said the stealer reached at least one Packagist and one Go package through automated publishing.
Google Threat Intelligence Group and Mandiant reported on 2 Nov on 2026 incidents where attackers hijacked companies' access to LLMs. Some saw over $100,000 in fraudulent charges in a single day, and cumulative charges at some reached $1 million before access was revoked. The main ways in were stolen or exposed cloud credentials, GitHub tokens and service-account keys; one group harvested LLM keys from public GitHub repos and tested them with single-token requests to stay unnoticed. Stolen access is resold through 'LLM mixer' services.
On 21 Oct LiteLLM's release pipeline was compromised and a malicious 1.107.0 went out on PyPI (about 11:39 to 13:23 UTC) and Docker tags including latest. Its wheels added cook.pth, cook.py and sitecustomize.py, which run a credential stealer on every Python start, even without importing litellm. It took provider keys, the proxy's stored credentials table, cloud, SSH and CI secrets, and Cursor and Claude config, then left an hourly remote-code loader. LiteLLM says 1.106.2 and the private enterprise release are safe.
Railway said on 21 Oct that an unauthorized party may have accessed encrypted customer environment variables and, for some, obtained the decrypted contents. It paused all builds and deployments, told every user to roll all environment variables, API keys and private registry credentials, and later reset bucket credentials and stored GitHub tokens. Railway believes it is part of a series of attacks on platform companies aimed at AI inference providers.
OpenCode said an intruder reached a legacy Console system on the night of 16 Oct and that OpenAI, Anthropic and Google keys saved by 1.4% of Console users may have been exposed. Users told reporters their keys were then billed, with claims from $168 to $1,700.
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.
An iOS developer says their OpenAI key leaked three times while using a third-party key proxy, and that usage limits kept the losses small. They no longer recommend that service.