OpenAI just open-sourced Codex Security

(github.com)

151 points | by bakigul 1 hour ago

13 comments

  • dangelosaurus 36 minutes ago
    Hey HN, Michael here, co-founder of Promptfoo and one of the people working on the Codex Security CLI at OpenAI.

    Thanks for checking this out and for flagging the auth issues. We just open-sourced it, and there's still plenty for us to improve. Expect the product to evolve quickly.

    If you try it, I'd really appreciate hearing what works well and what you think we should improve. Happy to answer questions here.

    CLI docs: https://learn.chatgpt.com/docs/security/cli

    EDIT: If you'd like to help make this better, we're hiring: https://openai.com/careers/full-stack-software-engineer-cybe...

    • strictnein 0 minutes ago
      [delayed]
    • gizmodo59 17 minutes ago
      When would I use this over the plugin in codex? Which I think can be invoked from cli as well
      • dangelosaurus 10 minutes ago
        The plugin, including when invoked through the Codex CLI, is great for scanning the repo you're currently working in. The standalone Security CLI/SDK uses the same scanner, but is built for running security across many repos over time: org-wide scans, historical results, deduplication, false-positive tracking, budget controls, and CI integration.

        We've been talking to hundreds of engineering and security teams, and their feedback is shaping what we build.

        Like Promptfoo, our goal is practical tooling that fits into the workflows teams already have.

    • robotswantdata 29 minutes ago
      Been watching your progress for a while, glad OpenAI have looked after you and the team and you still get to ship!
  • petilon 3 minutes ago
    How does it work? Does the tool upload code to ChatGPT for analysis? That may not be allowed for some corporate projects.
  • bakigul 24 minutes ago
    Update: As far as I understand, this was already available as a Codex plugin. The main news is that OpenAI has now open-sourced it, and development is still moving quickly.
  • moehm 39 minutes ago
    Alibaba just open sourced their version of a CLI code review tool too.

    https://github.com/alibaba/open-code-review

    • bakigul 27 minutes ago
      They are entirely different products
  • minraws 44 minutes ago
    I seem to have gotten a bunch of you are trying to stuff we don't allow errors.. very annoying.

    Can they explain what types of projects it works on and how does it check I own it? Like will it just not work on Linux kernel even on my own patches to it?

  • luciana1u 8 minutes ago
    security tools from AI companies feel like fire departments run by arsonists. useful, sure, but you can't help noticing who benefits from all the fires
  • halfax 5 minutes ago
    be careful , your code will go to the cloud/ai using this
  • bearsyankees 43 minutes ago
    would love it to see it h2h against https://github.com/usestrix/strix (45k stars)
    • petesergeant 37 minutes ago
      They are entirely different products
      • bearsyankees 33 minutes ago
        yeah you mean because OAI is only whitebox? or expand on that a bit, haven't played around a ton w the oss codex sec
  • petesergeant 41 minutes ago
    I don't think there's much to this other than it being a convenient CI wrapper around their existing models?

    Edit: there's a little bit more meat here: https://github.com/openai/codex-security/tree/main/sdk/types...

    • paxys 3 minutes ago
      All of codex is a wrapper around their models. There’s still value in a purpose-built harness.
    • bakigul 39 minutes ago
      Yeah, I think so too.
    • bamboozled 34 minutes ago
      Yeah but management loved the idea.
  • game_the0ry 44 minutes ago
    I wonder if tools like this will put companies like snyk out of business. We use snyk at work and I have not been satisfied.
    • binsquare 40 minutes ago
      I like to think it just upped the bar, but good durable expertise will need to rise with it.
    • bakigul 26 minutes ago
      Why would a few code snippets put Snyk out of business?
  • shooker435 47 minutes ago
    Just getting auth issues so far...
  • sillysaurusx 42 minutes ago
    [flagged]
  • alealvarezarg 30 minutes ago
    I was actually discussing solutions for this with my coworkers—building white-hat security agents. It seems like openai/codex-security could simplify a lot of that, or at least provide a version of Codex that's purpose-built for security workflows. Really exciting news!