{"slug": "96-breaches-one-checklist-making-coding-agents-check-for-old-mistakes", "title": "96 breaches, one checklist: making coding agents check for old mistakes", "summary": "A developer released breach-check, an open-source skill for coding agents such as Claude Code, OpenAI Codex and Kimi Code that encodes 96 public security incidents into a checklist agents can run against a repository. Each entry pairs an incident and year with a one-line root cause and code-level checks, and the agent re-reads any flagged code path before reporting it as affected. A companion security-baseline skill screens apps against standards and expected secure behavior, and both now include a two-account test in which one user attempts to read another's records.", "body_md": "Your AI wrote the login page. Did it also write the GitLab bug?\n\nMost breaches are old mistakes made again. I turned 96 of them into a checklist your coding agent can run.\n\nIn January 2023 security researchers found that GitLab's password reset accepted more than one email address. The reset link went to the account's real address, and also to the one the attacker added. In 2022 Optus served customer records from an API where the record ID was all you needed. In 2019 Capital One's server was persuaded to fetch an internal URL, which handed over cloud credentials. In 2025, apps built with AI app builders shipped databases without row-level security, so the public key in the browser could read every row.\n\nNone of these needed a new kind of attack. Each one was a known mistake, made again.\n\nThat matters more now, because a lot of code is written by agents. They are fast and they are good. They also learn from what is common, and what is common is not always what is safe. A generated login page works. It often has no limit on guesses per account, signs people in by email alone through SSO, or serves an uploaded SVG logo that can run script. Nobody asked for those mistakes. Nobody asked for them not to be there either.\n\nSo I wrote down the mistakes.\n\n**breach-check**\n\nbreach-check is an open-source skill for coding agents: Claude Code, OpenAI Codex, Kimi Code and any agent that reads the SKILL.md format. It holds 96 entries drawn from public incidents, research and known failure patterns. Each entry has three parts:\n\nthe incident and the year;\n\nthe root cause in one line;\n\nwhat to look for in code.\n\nFor example:\n\nGitLab CVE-2023-7028 (2023): the password reset accepted an array of emails and mailed the reset link to an attacker-supplied address as well. Check: every reset, invite, magic-link and email-change flow sends only to the address bound to the account or the token, and request parsing rejects several emails.\n\nYou ask your agent, in plain words, \"check this repo against past breaches.\" It maps the project (web pages, API, mobile app, background jobs, AI features, CI), loads only the catalogs that apply, follows the data through the real handlers, and gives each entry one of four verdicts:\n\nBefore it reports anything as affected, it re-reads that code path. A finding with no concrete path through your code doesn't count.\n\nWhat it covers\n\n**security-baseline**\n\nBreaches tell you how apps get broken. Customers and auditors ask a different question: how do you measure up against the standards? So the repository has a second skill, security-baseline. It screens an app against:\n\nIt also checks the behaviour users expect from a secure app. Press Back after logging out: do you land on a signed-in page from the cache? Do sessions really end on the server? Do idle timeouts hold? Do signed-in pages send Cache-Control: no-store? Are the security headers there? Can another site frame your pages?\n\nIt reports what it checked and the evidence for each verdict, and marks anything it couldn't confirm as unverified instead of guessing. It's a screening, not a certificate. It tells you where to look before the customer's security review does.\n\n**The two-account test**\n\nAfter I posted about this on LinkedIn, Michael Sosa made a point I agree with: a checklist can flag a missing row-level security policy, but someone still has to read the access paths. The fastest proof is simple. Sign in as a second user and try to read the first user's records.\n\nBoth skills now include that check. With the owner's approval of a test instance and test accounts, user B requests user A's records by ID: through the pages, through the API, and through any public database key the front end ships. If B can read or change anything of A's, it's reported as affected, whatever the code review said.\n\n**Safe by default**\n\nA security review that leaks secrets or breaks production is worse than none. So the skills tell the agent to:\n\nread code by default, and run live tests only after the owner approves the target, the test accounts and what may be written;\n\nnever print a secret it finds, and report only the file and line;\n\nnever touch production data without a yes;\n\ngive fixes as proposals the owner decides on.\n\n**Install**\n\nIn Claude Code:\n\n```\n/plugin marketplace add marirs/breach-check\n/plugin install breach-check@breach-check\n```\n\nFor any agent that reads skills:\n\n```\nnpx skills add marirs/breach-check\n```\n\nOr clone the repository and run ./install.sh claude, codex, kimi or all.\n\n**Help it grow**\n\nThe list is only as good as the incidents in it. If you know a breach whose root cause belongs on the list, open a pull request with one line of cause and one line of what to check. Mark anything the vendor hasn't confirmed as reported.\n\nOld mistakes are the cheapest ones to stop making. Your agent can check for them in minutes, before you ship.\n\n**github.com/marirs/breach-check**, MIT licensed.", "url": "https://wpnews.pro/news/96-breaches-one-checklist-making-coding-agents-check-for-old-mistakes", "canonical_source": "https://dev.to/sriram_govindan_aab38f1af/96-breaches-one-checklist-making-coding-agents-check-for-old-mistakes-3803", "published_at": "2026-11-28 19:05:40+00:00", "updated_at": "2026-11-28 19:14:34.136253+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-safety", "developer-tools", "artificial-intelligence"], "entities": ["GitLab", "Optus", "Capital One", "Claude Code", "OpenAI Codex", "Kimi Code", "Michael Sosa", "breach-check"], "also_reported_by": [], "takeaway": "breach-check packages 96 public incidents into a SKILL.md-format checklist that coding agents load selectively by project type and only report as affected after re-reading a concrete code path.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/96-breaches-one-checklist-making-coding-agents-check-for-old-mistakes", "markdown": "https://wpnews.pro/news/96-breaches-one-checklist-making-coding-agents-check-for-old-mistakes.md", "text": "https://wpnews.pro/news/96-breaches-one-checklist-making-coding-agents-check-for-old-mistakes.txt", "jsonld": "https://wpnews.pro/news/96-breaches-one-checklist-making-coding-agents-check-for-old-mistakes.jsonld"}}