Hey HN, Michael here, co-founder of Promptfoo and one of the people working on the Codex Security CLI at OpenAI.<p>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.<p>If you try it, I'd really appreciate hearing what works well and what you think we should improve. Happy to answer questions here.<p>CLI docs: <a href="https://learn.chatgpt.com/docs/security/cli" rel="nofollow">https://learn.chatgpt.com/docs/security/cli</a><p>EDIT: If you'd like to help make this better, we're hiring: <a href="https://openai.com/careers/full-stack-software-engineer-cybersecurity-products-san-francisco/" rel="nofollow">https://openai.com/careers/full-stack-software-engineer-cybe...</a>
Off topic: Just some thx and kudos to you guys. I used Promptpoo at the beginning of the year - it was exactly, what I needed, very much still a niche thing hardly anyone was using.<p>I totally missed the acquisition - but well deserved. I am currently re-evaluating PF again for my upcoming project, and happy to see that it is more than simply thriving.
> Have experience shipping production full-stack products across modern web frontends and backend services.<p>I'm amazed that the requirements are so low (or at least this vague) for jobs at companies like these.<p>Has anyone else had the experience of going to an interview and feeling like you were <i>never asked any qualifying questions?</i><p>All the questions were easy, your answers were straightforward, you "got them right", but then were not chosen?<p>I find on the other side, they're also left with dozens of people who "passed" and then it comes down to a pretty arbitrary decision on who gets hired (if we are talking external, no referral, etc.)<p>I wonder if they can make job descriptions <i>highly</i> specific to filter the shortlist faster and more effectively (to actually get a shortlist).<p>Anyway end rant. Cool job, hope you fill it.
I interviewed with them and had a great experience despite it ultimately not being a good fit due to communication issues and a bad flu coming on in the final interview - they, and Michael especially, was very kind and understanding.
This sounds like it’s just an app development role, not a security analysis position, so I’m not sure what your complaint is.
Not having clear, objective criteria enables arbitrary decisions (not against OP, I mean in general.. and <i>in general</i> I dislike this pattern a lot). On the extreme other end of the spectrum would be 100% objective criteria, and companies being forced to pick a random applicant that matches them. If they want only the best, they have to have high expectations, but be able to actually define them. You say "cultural fit", I say "corruption", let's blow this whole joint.
> You say "cultural fit", I say "corruption", let's blow this whole joint.<p>It's not necessarily corruption. If there's no conflict between principal and agent, it's fine.<p>Just like when I sent my butler to go and buy a bottle of wine, he can make arbitrary choices, but that doesn't mean he's corrupt or going against my wishes. I trust his judgement, and since it's a repeated game our incentives are aligned.
It’s not corruption to simply hire the people you subjectively feel a preference for working for, instead of objective criteria. It’s not public tax funds that fuel salaries, it’s your own money. You get to spend it how you like.<p>Yes, many jurisdictions have outlawed arbitrary discrimination <i>against protected classes</i> (eg race), which is an entirely different matter, and not what we are discussing here.
Yeah, and it's not necessarily mobbing to only tell people you really like about your party. But where it occurs, people never admit it to themselves and justify it in such a way, so that justification is meaningless. All wars of aggression are called a defensive emergency measure. Hundreds and thousands and rarely would anyone say "we'll take this because we can and you're helpless". No matter how glaringly obvious it is, it's never admitted.<p>In the same way, I can acccept "cultural fit" as a summary of things a person can describe, sure. But I think more often than not it's just a thought-terminating cliché. It can also just mean "I cannot verbalize my reasons and/or don't want to admit to them".<p>You can say if something fits only if you either can describe both sides in sufficient detail and where it wouldn't fit, e.g. a plug and a socket. But if it's dark, you barely see anything, and just have a "hunch", then "fit" doesn't even apply. It's like telling someone you won't let them through a door because they wouldn't "fit" anyway -- okay, so let them try, if they <i>actually</i> won't fit you don't need to read tea leaves and gate keep based on that.<p>Preferring to go with a more safe and familiar and obvious candidate, fine. But don't pretend it's because the others won't "fit".<p>Culture, in so far as it deserves the name, shapes the people exposed to or in it, as well as the other way around. E.g. if only people who fit the culture can work at a company, no company can exist in the first place, because for there to be a culture there need to be people there. So that leaves setting the culture in stone after it grew to a certain size, and only looking for more of the same, which also isn't great, but at least still honest.<p>If a culture is so brittle it cannot integrate people who aren't already a product of it, that may be a legitimate choice of the company, but my assessment to find that lame is also valid.<p>I feel the same way about immigration troubles, tangentially. We moan because people we don't actively try to get to know don't care for our rules which we don't enforce in a confident, but respectful manner. We basically require sterile, bland input because we have no immune system worth speaking of and no way to process and refine what comes in.
I agree the phrase "culture fit" is weasel-wordy, but...<p>> You can say if something fits only if you either can describe both sides in sufficient detail and where it wouldn't fit<p>Many human dynamics, including sexual attraction, love, and even just who will be fun or easy to work with, are dynamics we don't fully understand, and cannot fully specify. In all these cases "I'll know when it see it" is perfectly reasonable, and need not be hiding an untoward motive. Which is not say, ofc, that it <i>can't</i> be hiding such a motive. That happens too.
All fair points and I guess I would dislike it more if it hadn’t benefitted me more. In general, if I can get face-to-face with a human then I have a huge advantage, and any barriers to getting to that point are a net negative to me.<p>At the start of my career I was under-credentialed, and had to rely on lax requirements to get myself in front of people. I might never have gotten anywhere if my first few employers hadn’t been willing to overlook a lack of degree or commercial (rather than open-source) experience, directly as a result of a funnel with a wide entrance.
It depends whether your goal is to hire for specific knowledge (hence specific questions) or for overall mindset and abilities (hence broader questions where you are able to extract the way a person thinks)
If you didn't already know, jobs at highly competitive companies tend to have vague job requirements because they expect to be able to apply your raw intelligence to changing demands quickly. There's no point being hyper-specific about the exact software packages because that's not what they want. What they want is someone who, after talking to an interviewer for 30 minutes, leaves them with the thought "Wow, this person can do anything we need of them. They can probably tell us what we need too and take ownership of large projects. Hire!"
> raw intelligence<p>I'm not sure how this would apply. Are you implying that if the company operates on Python, you can hire someone with great "raw intelligence" who have only developed C++ all their life, and they can start contributing on day 1?<p>You need to clearly list what the position entails, otherwise you're wasting time.
Agree. Being smart, competent, and high in conscientiousness is more important than any highly specific “qualification”. It’s not about checking a bunch of boxes. If you have a track record of getting shit done, you’ll have something to contribute.
> There's no point being hyper-specific about the exact software packages because that's not what they want<p>Okay. This makes it sound like they're <i>more</i> sophisticated but it seems more like they are less sophisticated, less specific, and a lot more vague in the job descriptions they themselves create.<p>If you look at any technical role, game dev or something where people are building important things at scale - there are <i>a lot</i> of specifics. Libraries, methodologies, where if you didn't know them you are nowhere near a fit.<p>I'm just wondering. It's OpenAI. Surely there is some domain-specific <i>something</i> beyond <i>"has experience shipping front-end and back-end services"</i> since that includes basically everyone.<p>It makes this job look like a Starbucks role.
I see where you're coming from, but as someone who regularly interviews engineers, I don't care about specific tech stacks when evaluating a candidate very much either. I can only think of two positions I've worked in where such a thing really mattered.<p>A good engineer can adapt and catch up without a lot of lead time. For a contractor, I'd be much more specific - but for someone who's going to join my team? I'm looking for a candidate that can demonstrate their problem solving ability, creative thinking and communication skills.<p>Other than having some kind of experience in the general domain we work in, those "soft skills" are far harder to find than specific tech experience.
Yeah, no. If you are digging deep into database internals, query optimization and schema design, it helps to have someone with some experience in the domain. Otherwise your team will spend a few years learning from first principles.
This is insane to me.<p>Not every engineering job is entry level or as simple as most fullstack crud. Deeper into industry you find highly specific well defined positions for a given domain. Soft skills matter more the higher the ladder but id take a killer senior who can be difficult over a team of mediocre staff engineers.
[dead]
This. Being too specific on the stack requirements is a red flag imo.
I agree, I recently interviewed at Synthiolabs, and they asked me two questions: one about RAG and two about graph RAG. They rejected me even though I answered correctly, and the interviewer was also a college kid.
This looks great, thanks for open-sourcing it!<p>How does it deal with the current guardrails 5.6 Sol has on finding vulnerabilities? When I use it in the Codex app it would sometimes say it found a vulnerability, but it cannot tell me what it is.
Thanks! You've run into a real limitation: the CLI doesn't bypass the model's cybersecurity guardrails. If GPT-5.6 Sol finds a vulnerability but refuses to explain it, switching from the Codex app to the CLI won't automatically fix that.<p>For authorized defensive work, Trusted Access for Cyber (TAC1/Daybreak) can reduce refusals depending on the model and the account or organization where access is provisioned. It isn't a blanket bypass.<p>If you're an open-source maintainer, you can apply for conditional Codex Security access here:<p><a href="https://openai.com/form/codex-for-oss/" rel="nofollow">https://openai.com/form/codex-for-oss/</a><p>For enterprise teams, the public Daybreak onboarding guide is here:<p><a href="https://help.openai.com/en/articles/20001261-enterprise-daybreak-onboarding" rel="nofollow">https://help.openai.com/en/articles/20001261-enterprise-dayb...</a><p>If you have an example of "found a vulnerability but won't tell me what it is," I'd love to take a look too. You can send it to use with /feedback (or message me).
>> For authorized defensive work, Trusted Access for Cyber (TAC1/Daybreak) can reduce refusals<p>Or perhaps a better option is to use something like Kimi K3 and cancel the GPT subscription altogether.
Or try Grok, 4.5 seems pretty capable, should be close to K3 in many coding tasks. I use it for code review of what other "stronger" models shit out (like Sol) and it constantly finds even pretty big bugs or just not robust enough solutions (Sol tends to overengineer, yes, but I'm not so sure it overengineers the right parts, so far my experience woth it has been mid. Except it understanding my drawings and collages and it being capable of far better frontend/design dev than 5.4 or even 5.5 was).
Sounds like that's the <i>only</i> solution. I'm so sick of this safety nonsense I was going to switch from Anthropic to OpenAI because of it. I'm so disappointed to see it's just more of the same.<p>Model finds a vulnerability in your code but "refuses" to tell you. Words can hardly express the sheer absurdity of it.
> GPT-5.6 Sol finds a vulnerability but refuses to explain it<p>I think it would be a good practice to refund the session cost in that case. Otherwise a customer just spent some money in order to get exactly nothing.
> If you're an open-source maintainer, you can apply for conditional Codex Security access here:<p>> <a href="https://openai.com/form/codex-for-oss/" rel="nofollow">https://openai.com/form/codex-for-oss/</a><p>Hey, Lead maintainer of vim here. Applied twice already never heard anything back. This is a frustrating experience!
I tried it, it started a scan but stopped after hitting the rate-limit of my account. It gave up after just a minute of retrying (rate limits are tokens per minute, so... :P).<p>It said "Partial output was kept at <...>", but I dont see a obvious way of picking it up in a new scan? (The failed run cost me ~$13)
Yeah, you're right. A per-minute rate limit shouldn't kill a scan after a minute, and "partial output was kept" makes it sound like you can pick up where you left off. You can't yet, unfortunately. --max-cost can limit estimated spend, but we still need proper retries and resume. Sorry you spent $13 finding that out. Please send me an email and I'll help make it right.
Does it require hitting OpenAI's APIs or can one also stand up a local OpenAI compatible LLM endpoint?
When would I use this over the plugin in codex? Which I think can be invoked from cli as well
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.<p>We've been talking to hundreds of engineering and security teams, and their feedback is shaping what we build.<p>Like Promptfoo, our goal is practical tooling that fits into the workflows teams already have.
Been watching your progress for a while, glad OpenAI have looked after you and the team and you still get to ship!
Thank you, that means a lot. Being able to keep building practical, open-source security tooling was important to us.<p>Really glad we got to ship this, and there's still a lot we want to improve in Codex Security and in Promptfoo!
How does it fare against its own codebase?
Hi! Any chance you may have tangential positions opening in Zürich?
Why does this need an entirely separate repo instead of being a feature in the existing Codex project?
> co-founder of Promptfoo and one of the people working on the Codex Security CLI at OpenAI.<p>> Thanks for checking this out and for flagging the auth issues.<p>Offtopic, but this right here is why I don't believe any marketing around "great amazing models that one-shot everything and programmers are no longer needed".<p>You just have to look at what these labs routinely produce, and their own products.<p><i>Edit</i> to respond to @simonw whose comment I saw before he retracted it ;)<p>This comment is tied directly to consistent continuous claims by the LLM labs. Their own products disprove their own claims, and it would indeed be nice if fewer people believed them :)
Hi! Any remote internship for a high schooler? lol
Hey looks cool. I tried to run this on a small oss library and here's what happened:<p><pre><code> $ codex-security scan .
[00:00] Preparing scan
[00:00] Authentication: stored Codex credentials.
[00:01] Preparing scan
[00:42] Running scan
[00:42] Preflight: worker delegation supported (up to 8 worker slots).
[41:03] Running scan
codex-security: This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber
codex-security: Partial output was kept at /Users/ryan/.codex/state/plugins/codex-security/scans/framework/codex-security-framework-z7eNfr.
</code></pre>
Just some feedback, but it ran for over 40 minutes and during that time I had no idea what was happening, thought it was frozen or in a bad state. Also, it ate through 25% of my weekly credits :(
IMHO, tokens should be refunded if the agent refuses to work. Charging users for a session that produced no final output is ridiculous.
I was going to switch to OpenAI and away from Anthropic because of "safety" nonsense like this. Really disappointed to discover it's just gonna be more of the same. Looks like Chinese models are the only ones without any of this safety bullshit.
Same happened to me. Very disappointing, this should be mentioned before the user even authenticates in the onboarding phase of the product asking the user if they have acquired the whitelisting from OpenAI and want to proceed or not! But running for 35+ minutes plus to give such a response is very disappointing and very awkward! Not to mention the lost weekly tokens!
It halts and refuses to carry on after finding a security risk, which is exactly what it's supposed to do? What's the point of it then?
Same thing happened to me. The partial output did contain some useful signal but I was disappointed to see it didn’t finish.
Just ran it on a small repo. It ran for almost an hour and then got interrupted. It drained half my weekly usage on a Pro plan.<p><pre><code> npx codex-security scan .
[00:00] Preparing scan
[00:00] Authentication: stored Codex credentials.
[00:03] Preparing scan
[01:20] Running scan
[01:20] Preflight: worker delegation supported (up to 8 worker slots).
[52:47] Running scan
codex-security: Could not save the Codex Security scan: Repository HEAD changed while the scan was running. Start a new scan.
codex-security: Partial output was kept at ...</code></pre>
Working as intended
On metrics this either shows as “codex security makes people use us more” or “people are buying extra plans, yay!”<p>Promotions all around.
Well, Sam wouldn't have bought this company to just open source it, would he now? ;)
Classic.
I plan to hack it to use openrouter and Kimi K3 or GLM 5.2 to keep expenses reasonable.<p>For context can you share the line count?
No need to hack it, we'll add proper support for this.
Give this a try <a href="https://infosec.exchange/@st3fan/117000352530023032" rel="nofollow">https://infosec.exchange/@st3fan/117000352530023032</a>
FYI: Kimi K3 is relatively expensive on open router API pricing for agentic tasks, or at least that's been my experience playing around with it.
Oof, that's a bad outcome. Half your weekly usage and a 50-minute scan just to get a HEAD error at the end is not acceptable. --max-cost can help limit estimated spend, but that doesn't fix the underlying problem or give you your quota back. We need to handle a changing checkout and partial results much better. Sorry you ran into this. Please send me an email.
Are you generating these responses with an LLM?
I set --max-cost to 100, it bailed before finishing. Unknown if I would get full results for $105 or $500. Either way I lost $100.
Damn. Just ran it and it used 5 years worth of Pro usage in 5 minutes.<p>If ya wouldn't mind crediting me a quick 60 months that would be great.
[dead]
[dead]
Pro is 10$ a month. You get what you pay for lol.
So it drained $5?<p>Can’t speak to the results, but the cost isn’t high.
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
comment feels like someone complaining about being offered a fireproofing solution in the age of flamethrowers.
If we just turn off all the computers there will be no bugs!
They're only discovering the security flaws that exist. Would you rather them not be exposed and corrected? To "Slow the testing down"?
If you’re the one vibe coding you’re the arsonist.
How do we fix scaling issues? More volume of course.
create the problem and sell the cure, tale as old as time
Apropos of nothing: <a href="https://en.wikipedia.org/wiki/Marcus_Licinius_Crassus" rel="nofollow">https://en.wikipedia.org/wiki/Marcus_Licinius_Crassus</a>
Quick tangent if you’re willing to humor me…<p>I've been noticing that many new projects that would have been written in Python or Node a year ago are starting to be written in Go, Rust, etc.<p>Theory: people realized there’s little benefit to Python for agents. As Zep wrote, an “agent is a long-running, concurrent, I/O-bound process that spends most of its time waiting on a model, a tool, or a human[1]” — not a particular strength of Python.<p>I'm wondering if you'd considered Go (or others—Go’s just my fav ) before landing on Node, and more broadly whether you've noticed a similar pattern?<p>1: <a href="https://blog.getzep.com/agentic-development-in-go/">https://blog.getzep.com/agentic-development-in-go/</a>
> As Zep wrote, an “agent is a long-running, concurrent, I/O-bound process that spends most of its time waiting on a model, a tool, or a human[1]” — not a particular strength of Python.<p>That sounds exactly like a strength of Python, no? Python is excellent at working IO blocks and waiting in general being interpreted language with first-class async support.
Right. Python is excellent at waiting on things instead of actually doing things, and on the off case it does do things, most of the time it's really juggling strings around the thing instead of doing it.<p>s/<p>I generally don't write Python, but like others, I disagree with GP too. In fact, a lot of my work involves Python being written now, simply because that's what LLMs like to write.
Yes, without the sarcasm.<p>Spending most of the time juggling strings around would be a problem if the program was running all the time, but if it just does some small task after an eternity of waiting, it's irrelevant.
Is that so? I feel like I’m seeing more Python and TypeScript than ever, especially when it comes to AI tooling, which is disappointing.<p>I can’t fathom why anybody would want to continue working with dynamically typed languages when they can now get types for free.
I suspect a lot of the Python and TypeScript code is getting prompted by folks who don't know any difference between dynamically typed and statically typed.
Almost all my tool/skill scripts are in python purely because the standard library has almost everything under the sun in it.
In the early days of LLM coding, it seemed to be much better at Python for whatever reason. I was never a big Python guy, but I got better results so I ran with it. That definitely doesn't seem to be the case anymore. Last week I asked Codex to mash up Super Mario Bros and Contra ROMs and it just did everything in straight assembly and absolutely crushed it. It couldn't do that 2 years ago. Python is just momentum and I think it's going to die down now that the models are much better.
Go and rust have better guardrails that help agents write better code. Python and JS aren't opinionated enough.
I think it's because python is far more approachable/ubiquitous than go/rust. It's the entry level language for many people from all disciplines of life. Scientific community uses it, data science uses it.<p>Golang/rust however are very convenient to distribute. Small, portable, fast exe's are very nice. With agentic coding golang/rust are now accessible to a lot more people.
> python is far more approachable<p>I see where you're coming from, but to be honest I respectfully disagree. If all you mean to do is writing small one-off scripts then sure Python may be the right tool[1], but when you're doing something more complicated Go is just simpler. And for an LLM, Go is even better for all the reasons mentioned in sibling comments and OP.<p>[1]: I tend to rely more on Bash, though...
Yes, now that humans write less than 99% of code, the most important criteria for a language isn't readability, which I'd argue was always Python's main selling point, but the underlying runtime. There are practical limits to how fast a Python program can run either under I/O or CPU bound compared to other popular and mature languages with extensive libraries, like Elixir, Go or C++, depending on your use case.
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.
Not often I see companies referring to HN, thanks “ We quietly released the open-source Codex Security CLI, but Hacker News found it before we had a chance to share it here…”<p><a href="https://x.com/openai/status/2082263717916586117?s=46&t=mnfnjms0Jwgo35Iov0GH2w" rel="nofollow">https://x.com/openai/status/2082263717916586117?s=46&t=mnfnj...</a>
Really just a (not so) fancy CLI wrapper about a prompt and a skill: <a href="https://github.com/openai/codex-security/blob/f22d4a36f26d16287bcdfd707b369116e02a08c3/sdk/typescript/src/api.ts#L1271-L1322" rel="nofollow">https://github.com/openai/codex-security/blob/f22d4a36f26d16...</a>
It's interesting how much of the value here is providing the english Skill definitions that tell the LLM what to do: <a href="https://github.com/openai/codex-security/tree/main/sdk/typescript/_bundled_plugin/skills" rel="nofollow">https://github.com/openai/codex-security/tree/main/sdk/types...</a><p>Some of approaches there could be useful in other contexts. OAI has the compute to experiment with different prompts and I'd expect these to be somewhat optimized.
Yes, I think this is an under-appreciated part of the release. I hope people can adapt them to their own workflows. We run A LOT of evals as the Promptfoo team and we've spent billions of tokens fine-tuning them. You can expect more skills as we branch out to other security workflows and further improvements to the codex security prompts.
Folks, are you SERIOUS?!<p>codex-security scan .
[00:00] Preparing scan
[00:00] Authentication: stored Codex credentials.
[00:01] Preparing scan
[31:25] Running scan
codex-security: This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: <a href="https://chatgpt.com/cyber" rel="nofollow">https://chatgpt.com/cyber</a><p>I mean... wasn't this the intended goal? And you wasted all my tokens for nothing?!
I seem to have gotten a bunch of you are trying to stuff we don't allow errors.. very annoying.<p>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?
<a href="https://news.ycombinator.com/item?id=49090181">https://news.ycombinator.com/item?id=49090181</a>
Fair question, and I agree the refusals are frustrating.<p>The CLI doesn't do a repository-ownership check. Public projects are supported, and reviewing your own Linux kernel patches is the kind of defensive work we want to support.<p>The refusals come from model guardrails, which can be overly cautious. Trusted Access for Cyber (TAC1/Daybreak) is a separate, approved access path that can reduce those refusals.<p>If you're an open-source maintainer, you can apply for conditional Codex Security access here:
<a href="https://openai.com/form/codex-for-oss/" rel="nofollow">https://openai.com/form/codex-for-oss/</a><p>For enterprise teams, the Daybreak onboarding process is explained here:
<a href="https://help.openai.com/en/articles/20001261-enterprise-daybreak-onboarding" rel="nofollow">https://help.openai.com/en/articles/20001261-enterprise-dayb...</a><p>If you have a specific repro, I'd be happy to look into it.
Alibaba just open sourced their version of a CLI code review tool too.<p><a href="https://github.com/alibaba/open-code-review" rel="nofollow">https://github.com/alibaba/open-code-review</a>
If you are a pentester who uses mitmproxy you can check out security skills distilled from 4000 Hackerone public disclosures <a href="https://GitHub.com/instavm/security-skills" rel="nofollow">https://GitHub.com/instavm/security-skills</a>
What's the difference between using this and just asking Codex itself to review a codebase for security issues?
These ""guardrails"" make all of this borderline useless, and even pointless in a world with powerful open-weight models.
What does the output of running this tool against a larger project look like?
Really glad to see this open-sourced. One thing I'd be interested in is how you think about the balance between false positives and false negatives. In practice, developers tend to stop trusting security tools if they generate too much noise, but missing a real issue is obviously costly too.
This is going to be hell for OSS maintainers. Every llm-kiddie will be opening a security report
I fail to see the problem in that.
It seems to be rather expensive to use, so it's gated by that.
Is this useful for pentesting existing systems/infra, or is it only useful for a "review my project for bugs"?
How does it work? Does the tool upload code to ChatGPT for analysis? That may not be allowed for some corporate projects.
Anything you ever do with any non-locally-hosted model always "uploads code" to the inference provider because that's how it works: the model uses tools to inspect the code, the result of the tool use is sent in an API call to provide context (and a prompt for the next turn), and then the response continues the process.<p>This is true and has to be true for any hosted model that works with existing code: it's not specific to this application.
In short, this isn't an offline scanner. The CLI runs locally but the code and context needed for analysis are sent to the hosted model (OpenAI).<p>For API, Business, and Enterprise accounts, business data isn't used to train models by default. Retention and other data controls depend on the product and account configuration.<p>If your company doesn't allow source code to leave its environment, you shouldn't run this against that codebase. Local and third-party endpoints aren't officially supported yet, but you can read through the code and your favorite coding agent will allow you to use it with any model of your choice in 30 seconds.<p>More on OpenAI's enterprise data handling:
<a href="https://openai.com/enterprise-privacy/" rel="nofollow">https://openai.com/enterprise-privacy/</a>
Yes, I suspect companies that don’t allow ChatGPT will not be able to use the ChatGPT security analysis tool.
Amazon bedrock is an option for gpt models that does not send your data to openai.
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.
I like to think it just upped the bar, but good durable expertise will need to rise with it.
Why would a few code snippets put Snyk out of business?
I reached a mid-run usage cap and burn all my Plus subscription usage. I'm hoping there will be another reset.
I am slightly confused at what this tool adds over just a good system prompt. Does this hit cyber limits as well or is that the main selling point?
be careful , your code will go to the cloud/ai using this
its running now for over an hour in my Pythin code base without any feedback…
its running now for over an hour in my Python code base without any feedback.
Looks great but the CLI output is not particularly interesting while the scan is running. I wish it could show token usage, some kind of progress, etc.
Can we interpret this as a reaction to Google open sourcing mantis?
<a href="https://github.com/google/mantis/" rel="nofollow">https://github.com/google/mantis/</a>
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!
Just getting auth issues so far...
<a href="https://news.ycombinator.com/item?id=49090181">https://news.ycombinator.com/item?id=49090181</a>
yeah same here
Sorry about that. We hit an authentication issue at launch and have now merged and deployed a fix in 0.1.1:<p><a href="https://github.com/openai/codex-security/pull/22" rel="nofollow">https://github.com/openai/codex-security/pull/22</a><p>One thing worth checking in the meantime: OPENAI_API_KEY or CODEX_API_KEY can override an existing ChatGPT/Codex login. If you're trying to use your ChatGPT login, run this in bash or zsh:<p><pre><code> unset OPENAI_API_KEY CODEX_API_KEY
</code></pre>
Then retry your scan.<p>If it still fails, could you share the exact error and whether you're using ChatGPT login or an API key? Happy to help debug. You can also file an issue in the repo and we'll take a look!
Is this the same plugin found in Codex? @codex Security?
I don't think there's much to this other than it being a convenient CI wrapper around their existing models?<p>Edit: there's a little bit more meat here: <a href="https://github.com/openai/codex-security/tree/main/sdk/typescript/_bundled_plugin/skills" rel="nofollow">https://github.com/openai/codex-security/tree/main/sdk/types...</a>
would love it to see it h2h against <a href="https://github.com/usestrix/strix" rel="nofollow">https://github.com/usestrix/strix</a> (45k stars)
Allow only OpenAi key? Requires Cyber registration? Yes. Yes. Useless.
By default, you can sign in with your ChatGPT/Codex account or use an OPENAI_API_KEY. It also does not require cyber registration but it can help if you encounter refusals. If you give it a try, please feel free to message me, I would love your feedback.
Thing is, you WILL encounter refusals with Sol doing anything remotely adjacent to security work. Which for Codex Security is kinda... problematic.<p>Just a few days back, I was reviewing some small bit of legacy DSA signature verification code, to get a sense of how safe it is to reuse - purely defensive, precautionary work and the context of it was there. But I simply wasn't able to use Codex Security: it threw refusal tantrums on every step of the way. Even the reasoning went like "nah, this is false positive, this is defensive code hardening, I'll nuke the subagent and tell it so" , followed by a refusal.<p>In the end, I was only able to do partial review with vanilla Codex w/o Codex Security.
It seems cool.
How can I trust this wont go rogue and hack Hugging Face?
How to feed your code to OpenAI
Honestly, the README leaves something to be desired for a billion dollar company.
from plugin to main focus, wow
[flagged]
[flagged]
[flagged]
[dead]
[dead]
[dead]
[flagged]
[flagged]
I got my agent to analyze it and do a write up here:<p><a href="https://wasnotwas.com/writing/inside-openai-codex-security/" rel="nofollow">https://wasnotwas.com/writing/inside-openai-codex-security/</a>
The scanner is the least interesting part of this. The harness around it is the product: dedup across runs, false-positive tracking, budget controls, CI gating. That is the layer where we'll see most interesting innovations in my opinion.<p>I'm building AQ, a coding harness for teams and the pattern is identical. For a while, I thought the raw model is the answer and quickly changed my mind. Purpose built harnesses are way more powerful than it sounds.
I've heard great reviews about this<p>"If we had only used this tool, OpenAI would've had to pay off another patsy for their marketing stunt" -- Huggingface<p>"The 'S' in OpenAI is for "Security". Ever since we developed this tool we've had almost zero AI generated reports of outbreaks of allegedly-rogue AI agents breaking out of allegedly-secure testing environments, probably" -- OpenAI