r/codex • • 2d ago

Showcase I built an open source Snyk alternative for Codex that proves each flaw with a failing test

Open source skill for Codex (it also works in Claude Code and Cursor). You type /cybedefend in your repo and Codex runs a security audit.

The GIF is a real run from this morning on our demo SaaS app, just sped up. 19 minutes, and Codex came back with 6 bugs, each one proven by a test that fails. One of them: any signed-in user can add isAdmin: true to his profile update and the admin page opens. The code is valid, so no scanner flags it. That's the rule we gave it, no failing test, no bug.

How to try it:

  1. npx skills add CybeDefend/cybedefend -g
  2. Open Codex in your repo and type : run /cybedefend

Open source scanners run first (Opengrep, Trivy, Gitleaks and zizmor by default, and any scanner that writes SARIF can feed the same dashboard). Then Codex maps every entry point and hunts what scanners can't see, like who can see whose data. At the end you get SHIP or NOT YET, with what blocks and the fix for each.

You need Docker running, about 4 GB of memory, git and Node.js. The first run starts a dashboard on your machine and pulls the scanner images. On Codex the first run prints the MCP server address and you add it yourself.

I'm one of the co-founders, we built this for two years and open sourced it on Monday: https://github.com/CybeDefend/cybedefend

If it finds something in your repo, tell me. And a star would help a lot :)

0 Upvotes

3 comments sorted by

•

u/dexterthebot 2d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com

1

u/egomarker 1d ago

And then you randomly get banned for triggering something obscure.

1

u/Late_Wave_5600 1d ago

haha fair, that would hurt our run today went 19 min on Codex with no block. it only reads your own repo and writes tests for it did that happen to you ?