News for hackers. Stuff that matters.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by curuinor on Tuesday August 19, 2025 @04:42PM (#44956073)
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by mkeeter on Tuesday August 19, 2025 @05:22PM (#44956395)
The LLM tics are strong in this writeup:

"No manual overrides, no exceptions."

"Our VDP isn't just a bug bounty—it's a security partnership"

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by oasisbob on Tuesday August 19, 2025 @05:46PM (#44956567)
Wow, you hit a nerve with that one. There have been some quick edits on the page.

Another:

> Security isn't just a checkbox for us; it's fundamental to our mission.

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by observationist on Tuesday August 19, 2025 @06:03PM (#44956685)
They delved deep and spent a whole 2 minutes with ChatGPT 4o getting those explanations and apologies in play.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by aardvarkr on Tuesday August 19, 2025 @07:59PM (#44957367)
That’s the part that makes me laugh. If you’re going to try to pass of ChatGPT as your own work at least pay for the good model
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by jjani on Wednesday August 20, 2025 @06:57AM (#44960700)
Hey CodeRabbit employees

> The researchers identified that Rubocop, one of our tools, was running outside our secure sandbox environment — a configuration that deviated from our standard security protocols.

This is still ultra-LLM-speak (and no, not just because of the em-dash).

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by rob74 on Wednesday August 20, 2025 @12:08PM (#44963187)
A few years ago such phrases would have been candidates for a game of bullshit bingo, now all the BS has been ingested by LLMs and is being regurgitated upon us in purified form...
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by teaearlgraycold on Tuesday August 19, 2025 @07:51PM (#44957333)
Absolutely. In my experience every AI startup is full of AI maximalists. They use AI for everything they can - in part because they believe in the hype, in part to keep up to date with model capabilities. They would absolutely go so far as to write such an important piece of text using an LLM.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by coldpie on Wednesday August 20, 2025 @09:30AM (#44961790)
The NFT smell completely permeates the AI "industry." Can't wait for this bubble to pop.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by acaloiar on Tuesday August 19, 2025 @05:01PM (#44956229)
For anyone following along in the comments here. Code Rabbit's CEO posted some of the details today, after this post hit HN.

The usual "we take full responsibility" platitudes.

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by therealpygon on Tuesday August 19, 2025 @05:33PM (#44956465)
I’m sure an “intern” did it.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by noisy_boy on Wednesday August 20, 2025 @12:12AM (#44958567)
I wonder how many of these intern-type tasks LLMs have taken away. The type of tasks I did as a newbie might have seemed not so relevant to the main responsibilities but they helped me get institutional knowledge and generally get a feel of "how things work" and who/how to talk to make progress. Now the intern will probably do it using LLMs instead to talking to other people. Maybe the results will be better but that interaction is gone.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by therealpygon on Wednesday August 20, 2025 @05:04AM (#44960088)
I think there is an infinite capacity for LLMs to be both beneficial, or negative. I look back at learning and think, man, how amazing would it have been if I could have had a personalized tutor helping guide me and teach me about the concepts I was having trouble with in school. I think about when I was learning to program and didn’t have the words to describe the question I was trying to ask and felt stupid or an inconvenience when trying to ask to more experienced devs.

Then on the flip side, I’m not just worried about an intern using an LLM. I’m worried about the unmonitored LLM performing intern, junior, and ops tasks, and then companies simply using “an LLM did it” as a scapegoat for their extreme cost cutting.

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by paulddraper on Tuesday August 19, 2025 @06:56PM (#44957007)
I would love to know the acceptable version.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by jjani on Wednesday August 20, 2025 @06:57AM (#44960703)
Something not copy-pasted from an LLM would be more acceptable.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by paulddraper on Wednesday August 20, 2025 @01:08PM (#44963767)
I feel like that would also be unacceptable.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by noisy_boy on Tuesday August 19, 2025 @10:37PM (#44958175)
I would like to see a diff of the consequences of taking full vs half-hearted responsibility.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by Jap2-0 on Tuesday August 19, 2025 @07:35PM (#44957246)
Hmm, is it normal practice to rotate secrets before fixing the vulnerability?
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by neandrake on Tuesday August 19, 2025 @10:59PM (#44958271)
They first disabled rubocop to prevent further exploit, then rotated keys. If they awaited deploying the fix that would mean letting compromised keys remain valid for 9 more hours. According to their response all other tools were already sandboxed.

However their response doesn't remediate putting secrets into environment variables in the first place - that is apparently acceptable to them and sets off a red flag for me.

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by shlomo_z on Wednesday August 20, 2025 @12:16AM (#44958583)
> putting secrets into environment variables in the first place - that is apparently acceptable to them and sets off a red flag for me

Isn't that standard? The other options I've seen are .env files (amazing dev experience but not as secure), and AWS Secrets Manager and similar competition like Infisical. Even in the latter, you need keys to authenticate with the secrets manager and I believe it's recommended to store those as env vars.

Edit: Formatting

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by vmatsiiako on Wednesday August 20, 2025 @01:09AM (#44958801)
You can use native authentication methods with Infisical that don't require you to use keys to authenticate with your secrets manager: - https://infisical.com/docs/documentation/platform/identities... - https://infisical.com/docs/documentation/platform/identities...
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by KingOfCoders on Wednesday August 20, 2025 @01:14AM (#44958824)
"According to their response all other tools were already sandboxed."

Everything else was fine, just this one tool chosen by the security researcher out of a dozen of tools was not sandboxed.

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by darkwater on Wednesday August 20, 2025 @02:20AM (#44959165)
Yeah, I thought the same. They were really unlucky, the only analyzer that let you include and run code was the one outside of the sandbox. What were the chances?
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by Jap2-0 on Wednesday August 20, 2025 @11:20PM (#44968732)
Duh. Thanks for pointing that out.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by frankfrank13 on Tuesday August 19, 2025 @05:52PM (#44956612)
Not a single mention of env vars. Just shifting the blame to rubocop.
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by KingOfCoders on Wednesday August 20, 2025 @01:20AM (#44958857)
That post happened after the HN post?
Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by cube00 on Wednesday August 20, 2025 @06:44AM (#44960654)
They weren't published together. They managed to get the researchers to add CodeRabbit's talking points in after the fact, check out the blue text on the right hand side.

https://web.archive.org/web/diff/20250819165333/202508192240...

Re:How We Exploited CodeRabbit: From Simple PR to RCE and Wr... by cube00 on Wednesday August 20, 2025 @04:41AM (#44959964)
They seem to have left out a point in their "Our immediate response" section:

- within 8 months: published the details after researchers publish it first.