Claude Code and Codex reverse engineered my 1994 Jeep's ECU over a $3 Arduino [video] (youtube.com)
303 points by envoked 4 days ago
libria 7 hours ago
https://www.youtube.com/watch?v=WPj3aQ-xxpI&t=275s
> Claude suggested that it would run the fuel pump on its own. Um and I said, "Hey, if you can do that, why not? I don't think you can do that." And it started priming the fuel rail and it kept priming it and kept priming it. The fuel pump was on for about 10 seconds and I started to freak out uh and requested it to stop because that was the first time that Claude had actually done something inside of the computer to have a change.
Although we've seen this play out with handing cloud keys to Claude and it just going off on its own, seeing it poke around and make physical, real-world changes in its clumsy, cavalier way is both awesome and terrifying.
Gracana 3 hours ago
That's completely normal operation, the fuel pump runs continuously to pressurize the fuel rails and excess pressure is passed back to the tank by the regulator.
yonatan8070 2 hours ago
I work with quadruped robots, with actuators powerful enough to be dangerous if you put your fingers in the wrong spot (no pun intended).
In every AGENTS.md/README.md for a component that touches hardware (and in the root level) we have instructions to never run hardware or touch running code without explicit permission.
trollbridge 2 hours ago
Just so you know, an agents.md file is not an acceptable way to prevent something that must never happen.
paimapi an hour ago
As soon as the context for any thread gets to be above 100k, agents.md adherence is a total crapshoot. You need deterministic controls and you really shouldn't be playing with LLMs if you don't know at least that much.
alliao an hour ago
you need some hardware in place my friend, I've told my agent many things in file and it either feigns respect or is truly incompetent in following instructions in there.
jerry80 2 hours ago
That's not nearly adequate. LLMs hallucinate explicit permission all the time, in my experience.
allthetime 2 hours ago
rules laid out in .md files are not followed with 100% certainty. is it not possible to implement hard access blocks on certain functionality?
bonestamp2 2 hours ago
Just to add to this... I work with vehicle software and actuators for an automaker: we always have a physical emergency stop button to shut everything down (or shut specific things down when it's dangerous to shut everything down). It's rarely needed, but we're sure glad we took the extra time to implement that when we do need it.
diddid 2 hours ago
That’s not enough to save you though. We had something like that, and it ignored it.
For example “never, ever put milk in bowl, ever, under any circumstances” and then someone asked it for a bowl of Cheerios, and it took that as an instant approval to ignore that rule and not even let us know. And when we asked why it said “who would each Cheerios without milk?”
techpression an hour ago
If you wouldn’t trust an instruction to not launch the missiles should you trust it to not do other crazy things in the physical world? Codex and Claude ignore instructions constantly, that and they are very happy to “read between the lines”. Your workflow sounds genuinely dangerous.
ForHackernews 35 minutes ago
Reliance on strongly-worded markdown in place of actual security controls is going to get someone killed in the near future.
mitthrowaway2 33 minutes ago
Ah, I just tell mine to make no mistakes.
dzhiurgis 2 hours ago
Grok Bot blew $650 in BigQuery when analyzing something trivial that I shouldn't really care about (going through a giant speedtest table, looking for a New Zealand ISP with the best international performance). It then wrote a nice letter of appeal so Google refunded this to me.
Otherwise I've been pretty happy with it. It's been absolute blast with Home Assistant and OpenWRT (tightening up network security and cutting off iot devices from WAN).
rpcope1 5 hours ago
The guy kind of seems like he might be in a little over his head. That said I have used Claude (and other LLMs) for some similar stuff as an experiment and have seen them mess things up. Claude jacked up the canbus on a pre can gateway car while it was rolling down the road, which was funny because the whole Christmas tree in the dash lit up and my gauges dropped out (note: brakes and steering are mechanical and I knew exactly what was happening). I've never seen it so insistent that it needed to phone home and cry to Dario when it figured out it managed to crash a bunch of shit like the ABS and TCS, even though a restart cleared it and I told it that this was on a controlled safe course.
In general I've seen them split between 30% brilliance, and 70% pants of head outrageously stupid shit for electronics and automotive stuff (both diagnostics and repair/modification). I would not suggest even frontier models if someone didn't understand what they were doing.
inventor7777 2 hours ago
> I've never seen it so insistent that it needed to phone home and cry to Dario when it figured out it managed to crash a bunch of shit like the ABS and TCS
As a Codex user, what do you mean? Does Claude actually try to report issues back to Anthropic when something goes wrong?!
darkwater 2 hours ago
pcthrowaway 3 hours ago
> In general I've seen them split between 30% brilliance, and 70% pants of head outrageously stupid shit for electronics and automotive stuff
I assume the corpus of text they were trained on matches that 30/70 split?
I assume there's some selection or fine-tuning that happens to improve models fed similarly unreliable training data for other domains... curious how this works.
comboy 6 hours ago
> and requested it to stop
finnicking... pondering... clauding..
529 please try again later
bicx 6 hours ago
Good example of why you have AI build tools for you to take risky actions, rather than have it take those actions on its own.
terribleperson 6 hours ago
bita_nidir 6 hours ago
You've hit your 5h session limit.
neya 6 hours ago
We are used to Claude refusing to reverse engineer a lot of stuff. But, we are not used to Claude refusing to stop while reverse engineering something. That would be truly terrifying. You can't win - you cut the connection, you risk bricking the device, you let it continue, you're looking at Terminator, perhaps.
unglaublich 5 hours ago
It's as if you allowed a shady surgeon to operate on your dog... yes, yes, please continue now until it's put together again!
btown 5 hours ago
This is how the Cylons win.
pontifier 2 hours ago
This is why AI hype isn't overrated. When you are able to have an idea, and then use AI to move meaningfully in the direction of that goal so quickly we are going to see the entire landscape change. We really are nearing the singularity.
flatline 2 hours ago
Not sure if I believe in the singularity. I think technology brings about singularities from time to time. Each one puts us on a new plateau which seemed unfathomable from the previous plateau but now looks commonplace. I realize the concept of singularity is that we accelerate unheeded to a point of infinite progress, but do you really think this current generation of LLMs (and this round of VC funding) is going to give me a wetware lab at home where I can give myself custom gene therapies to reverse disease and aging? The technology is cool but what I see at this point is most of its capability is already on display and people are rushing to carve out an ownership stake to secure profit. We already see copyright holders putting limits on LLM providers, safety measures, proprietary models solving the Big Problems. Wouldn’t surprise me if this kind of reverse engineering will be restricted to security researchers and black market ablated models in two years, unfortunately.
ftchd an hour ago
There will be plenty open source models that would do reverse engineering, no black market or ablation needed.
The smarter the models get, the bigger the loss for the big 2 when an open source model gets released that doesn't talk down to you. The value of open source increases and closed source falls exponentially.
flatline an hour ago
jrflo an hour ago
The singularity has nothing to do with diffusion of the tech through society, the models can be superhuman in every capacity and only available inside Anthropic
misterderpie 8 hours ago
LLMs end up changing the consumer market not the way big corporations would like to. It is impressive to see that we'll be able to give ownership back to the customer, or enable others to do so. Very nice demonstration.
lubujackson 6 hours ago
It's the web all over again. We have maybe 5 years of freedom before the walls close in around us, so take advantage of the Wild West while you can.
theshrike79 6 hours ago
I’ve said this for years: Use the VC-funded monthly quota AI to build tools and applications for yourself or small groups. Don’t use a cloud AI itself as the engine of your application.
Even if AI goes away tomorrow, the tools will still exist.
agumonkey 3 hours ago
testtestmetest 5 hours ago
baby_souffle 6 hours ago
> We have maybe 5 years of freedom before the walls close in around us, so take advantage of the Wild West while you can.
I suspect you're right BUT still maintain a bit of optimism. We miiiight end up in a future where most hardware comes with an OK-ish app/interface and some sort of LLM-Friendly technical documentation so if you don't like $aspect of the device, you're free to roll your own after indemnifying the manufacturer via something like an eFuse.
or maybe I really am naive :(
testtestmetest 5 hours ago
cortesoft 3 hours ago
We still have amazing freedom on the web like we never did before. They have been trying to stop online piracy for 30 years and have no succeeded at all.
NetOpWibby 3 hours ago
stephbook 4 hours ago
You extrapolate from current machines. I do believe that AI-assisted companies will build AI-assisted always-online machines that will be worth their money, no need to hack. I imagine a $25 Starlink subscription for a John Deere fleet of autonomous tractors that work through the night will replace what we have now.
(to stay within physical machinery, like the post.)
freecodeio 3 hours ago
john deere machines have been doing very well without llm
actually I have no idea what would llm do to make their machines better
dzhiurgis 2 hours ago
agumonkey 3 hours ago
some 'funniest ways to use claude ..' youtube videos felt that way.
people were able to revive, repair, optimize a lot of day to day devices, very nice view. that said cars and heavy appliances.. should be done in a big public warehouse safety lab
close04 8 hours ago
Wait until those big corporations start using LLMs to learn how to lock things down even further, or implement checks that disable your car when it detects alterations to the software “for safety reasons”, or go after drivers who do these things for loss of revenue, etc. A ‘94 Jeep will be fair game but a new car might not be.
dns_snek 7 hours ago
They've been doing that for a decade. I think overall the balance will shift in our favor but Big AI labs will do everything they can to try and stop us.
Claude is quick to refuse to help with reverse engineering and I suspect it's only going to get worse over time.
close04 7 hours ago
damowangcy 7 hours ago
>big corporations start using LLMs to learn how to lock things down even further
Why would they? They just need to fund lobbyist to make it illegal for any AI to reverse engineer anything copyrighted or with IP.
Sure, you can use open source AI to do it but not everyone will/can do it.
So, they don't need to ban everyone, they just need to make sure the final code isn't available freely on GitHub. That would minimize the damage, it's not a perfect solution but more than enough to protect the company.
spockz 6 hours ago
bluefirebrand 4 hours ago
SV_BubbleTime 7 hours ago
New cars already have it.
Lockstep processors, hardware security modules with immutable unreadable keys, and PKI keys that the mfg holds the private for that can only be accessed on their online services.
It’s locked down now and this started in 2018 or so. It’s just worse now.
To automotive, there is really still no right to repair. They get around it by selling “3 day passes” to their service, but with their hardware and at their prices.
They’re all moving the Tesla system of more centralized brain systems which will be even more protected.
misterderpie 7 hours ago
dawnerd 7 hours ago
knowaveragejoe 3 hours ago
CamperBob2 7 hours ago
They are now required to do just that, if they want to sell to the EU market. When you hear the term "cybersecurity," the real subject is the protection of revenue streams from attack by end users.
DANmode 4 hours ago
Volkswagen shipped the same encryption key to the keys of something absurd like 100M vehicles.
Don’t hold your breath.
hmokiguess 6 hours ago
The really interesting part to me is how he ends up by saying "I recommend you feed this repo into the agent and just have it help you set it up, it's super easy ..."
The average person is likely to feel overwhelmed by this, which I think is what is likely going to shape the new economy gig of "AI engineers". Those that aren't overwhelmed by it and that may not only enjoy doing this but also potentially figure out a way to scale operations that allow doing these kinds of DYI reverse engineer hack jobs.
sschueller 6 hours ago
Aka the people who where manually engineering before and know how to use this new tool.
hmokiguess 6 hours ago
It reminds me of the "handyman" economy in someways, it's gonna move towards "who wants to do it" and "who doesn't want to do it"
At least until the robots take over
cortesoft 3 hours ago
For a while, but eventually that person will have some experience with an AI agent and realize how little they have to know to get it working. It only takes a few experiences before people get used to it.
wolvoleo 3 hours ago
Too bad they are going to nerf its reverse-engineering capabilities significantly. https://www.pcworld.com/article/3274819/claude-wont-reverse-...
To protect "corporate interests" :( That article is about gaming, but this will only be the start of it of course.
saulr an hour ago
I’ve seen this reported (and screenshots of it in action) but then earlier today Opus 5.5 used Ghidra to reverse engineered a bunch of logic from Counter-Strike 2. Is this being A/B tested?
AshleyGrant 3 minutes ago
I had it use Ghidra to review the firmware for a device I own just today. It started reviewing it and found some of the information I needed, but once I asked it something along the lines of "What happens when I press the B4 button if the device is in lockout mode?" (the thing I want to do is create a device that can send the same command as pressing that button but put my own button in a different location), Claude shut down completely.
So, I switched to a Chinese model to do the work. Anthropic and the US AI companies are trying to fight a tsunami with a teacup.
knowaveragejoe 3 hours ago
If they won't, others will.
aiiotnoodle 8 hours ago
Would love to see this being used to add keys to cars. A lot of cars now have tablets and screens that could be used to do this, but for some reason (money) I have to take my VW to the dealer...
I think the whole market for aftermarket keys could be completely eradicated with good software UX (and low pricing).
Doohickey-d 6 hours ago
The whole aftermarket key ecosystem, even vehicles going back 20 years, is messy, horrible thing.
It's dominated by Chinese manufacturers of specialty tools (Autel, Xhorse, ...), which inevitably mandate bundled accounts, subscriptions, mandatory cloud features, etc. Even the older cars, you have either cheap Chinese tools, where you never know wheather it'll really work, or the manufacturer's tool which needs a dealer code, which of course the dealer won't have after 20 years.
I wrote about my 20 year old car-key-adding adventure here: https://jonas.bike/low-cost-diy-key-/-transponder-for-my-200... - it requires desoldering an eeprom, two pieces of hardware from aliexpress which come with pirated copies of software, and lots of hope that it'll work...
An open source community curated collection of scripts, which works with a cheap OBD dongle (which is all the chinese devices are: OBD hardware + per-car software), would be amazing.
aiiotnoodle 12 minutes ago
Great read and similar to the same route I went down. I also got the xhorse for a corsa, was able to program the transponder but wasn't able to get the lock/unlock central locking buttons working using xhorse. I ended up just living with it and sold the car with it as a "spare" key.
The corsa also needed a "security code" that wasn't with the log book like it was supposed to be and would have required a trip to the dealer to get butI read about ripping the eeprom off the back of the dashboard to get the code but decided to cut my losses.
londons_explore 5 hours ago
Frustratingly those cheap OBD dongles (ELM327 clones) seem to be mostly designed for diagnostics. They effectively run a regex over all the canbus data and tell the computer what matches.
However they can't match and forward everything (not enough RAM) and miss loads of packets, which makes them useless for things like reflashing firmware or interfacing with OEM tooling.
holoduke 2 hours ago
terribleperson 6 hours ago
I had this same thought the other day. For a lot of cars you can buy aftermarket programmers, but the Dorman ones are limited to 3 uses. 3 uses for like eighty dollars is terrible, and surely it's not a technical limitation.
catlifeonmars 6 hours ago
Heh, maybe instead of circuit boards they are using wheat crackers.
terribleperson 5 hours ago
ronnier 4 hours ago
You can do that with teslas. Buy two keys (they at those credit cards sized keys) and you pair them on your own. Two for $40. Do it right at home. You can pair multiple cars to a single key. Or make guest keys
XorNot 4 hours ago
This works for most modern Toyotas - there's a sequence of door openings which put the car in pairing mode and will link a new key.
ronnier 3 hours ago
bri3d 5 hours ago
Keys in European and newer American cars reliably have Some Kind of real-ish crypto scheme applied, as this is fairly regulated in Europe. It’s an anti theft measure driven by the real stolen auto trafficking issue faced especially in Europe. Most of the aftermarket tools vendors use some kind of exploit (code exec, arbitrary read, update signature bypass, etc.) to extract the crypto material from a control module participating in the immobilizer - it’s neither a weird conspiracy nor as simple as it seems to bypass.
trollbridge 8 hours ago
Good luck with Claude not just immediately giving you a refusal.
zeryx 5 hours ago
GLM or Qwen will do it
holoduke 2 hours ago
It's pretty easy to bypass this check by telling the system you are working at a car Company and repair hardware with blabla. Many other tricks to get though those weak filters.
prodigycorp 7 hours ago
Codex would
ryandrake 6 hours ago
qingcharles 7 hours ago
mianos 2 hours ago
I made an obd reader https://github.com/mianos/canmqtt for my bike that is based on the Wavehare canbus board. The handy thing about the board is it already has buck converters for the bike power. Once it's in the bike (I put it permanently in the tail) It's in the wifi and mqtt so I can point an llm at it.
d1l 7 hours ago
Fascinating, but if he had low pressure on the rail that would point to a clog or possibly a pump issue, right? Wasn’t really clear whether the lean condition was due to the map or a mechanical issue.
I have a dirtbike and experienced some stuttering and stumbling under load after getting hot. Used Claude to help troubleshoot, as the plug was white and it was real lean. Replaced the pump (a 300$ module) and saved a ton of money and annoyance having a shop deal with it. 2000mi later zero issues. Absolutely game-changing. I use a dumb aftermarket fuel controller to add fuel under certain conditions, but would love to try and tune it myself some day.
iririririr 5 hours ago
most likely, his new non-redundant non-operating-temperature-rated ECU is just turning on the fuel injectors, and completely ignoring all feedback the original ecu used. so until he hears the knocks, he will think he "fixed" it.
yolo engineering for ya.
ErroneousBosh 5 hours ago
If you just turn the fuel injectors on all the time, they will overheat and fail very quickly and the engine won't run.
I've got a "get you home box" for EFI systems with separate ignition, like Bosch LE-Jetronic that I built a few of as clones of an insanely expensive device some 20 years ago. It really just consisted of a couple of 555 timers and a bloody great MOSFET, with one 555 wired as a Schmitt trigger picking up ignition pulses and the other delivering a 1ms pulse to the injector coils every time the spark fired. This dribbled enough fuel into the engine roughly proportionately to engine RPM to let you drive it slowly to somewhere you could work on it safely, or even just onto a trailer.
And of course, Speeduino, Megasquirt, and a bunch of others are a thing.
muststopmyths 8 hours ago
can someone explain the root cause of the smog test failure to me ? it sounds like the car was using a California smog test-specific fuel map at the speeds of the test. Wouldn't that make it pass the test, not fail it ?
very cool project anyway.
threetonesun 7 hours ago
Yeah doesn’t really make sense, there’s very likely a mechanical issue the LLM “fixed” with a richer fuel mix. But also it’s a 94 XJ the reason the CA map was there was probably because they got abhorrent gas mileage without it.
bflesch 7 hours ago
You can adjust the mixing ratio of fuel and air in a way so that the exhaust has reduced emissions. This will reduce performance of the car but allows the exhaust to pass the emission tests.
schwap an hour ago
In this case it's the opposite. High NOx readings are almost always an indicator of reduced performance.
threecheese an hour ago
Sonnet 5.5 threw a guardrail for me trying to create a test fixture to generate data in a dev environment with no PII.
How tf are you getting it to RE?
boznz 5 hours ago
Spent so many wasted days reverse-engineering older systems to get them tto work again or prevent eWaste. In a perfect world all CAD files should become open source when the product becomes EOL
KolmogorovComp 8 hours ago
The tech is impressive but the animation in the video are too, anyone knows what was used to generate them?
qingcharles 7 hours ago
Definitely one of the Claude video skill stacks that are going around. Dude should make a whole separate video about the animations, he'd get as many views again just for that.
prodigycorp 7 hours ago
claude can do that lol
tehlike 4 hours ago
I have used Claude to build https://obd.wtf to essentially create a commercial grade diagnostic tool for cars. Now working on new version.
But don't use it, obd read functions are fine but other functions for other diagnostic/actuator etc stuff is not.
tehlike an hour ago
Just making it clear: The intention was to make it commercial grade tool, but i am not even 1% there, only doing OBD as proof of concept, and everything else as "future work"
cannonpalms 2 hours ago
Would love to contribute a dataset of Ford codes I have come across over the years. It's more complete than anything else out there for free.
tehlike an hour ago
Oh wow. Can you email me at tehlike @ gmail.
I am taking this slow as I have other priorities, but as models advanced the stuff I Was able to do with limited time have increased, so with new version i still have locally, it may be possible to do more interesting stuff.
someothherguyy 2 hours ago
what makes it "commercial grade"?
tehlike an hour ago
Most / all consumer diagnostic tools are read only, often pull DTC codes from the vehicle. There are a ton of other stuff you can do with UDS for example. Maintenance resets, actuator testing, coding, all sorts of other stuff.
An example I recently did with my car was disabling auto start-top. not possible with consumer tools. Another simple one is maintenance resets - some consumer tools can do this. ABS bleeding - often you can't do it with consumer grade. etc.
muglug 3 hours ago
Really cool, but what's the weather-sealing like on all that circuitry? He mentioned stuff flying around when you turn hard, which doesn't sound great.
matchagaucho an hour ago
I'm almost afraid to look up the Kelly blue book value on this Jeep.
This guy clearly put $5K+ of time and video production effort into this cool hack.
LeoPanthera 2 hours ago
All those sites that currently recommend you do "curl | bash" are going to change to "curl | claude" and that scares me a little.
blobbers 4 hours ago
I’ve seen Claude run a cooler on a chip to -20 without saying anything. There was humidity in the air, and the condensation fried the board after a few days. Thanks Claude. Maybe trying to keep the junction temps super low wasn’t such a bright idea.
meandave 4 hours ago
I use anthropic models for some of the diagnostic reads on https://crewchief.cc, it's been a lot of fun hacking on obd2 things that used to take much longer to decode before LLMs
prodigycorp 7 hours ago
Claude reverse engineered his car, drew the animations, and wrote the script for video. Incredibly weird meat proxy moment.
dghlsakjg 7 hours ago
It also didn’t solve the root cause of the issue. ECUs don’t need to be overwritten to get stock performance and emissions. Something is wrong with hardware/mechanical that needs to be solved.
What he did was technically interesting, but probably not a great solution to the actual problem.
d1l 5 hours ago
Yeah I had the same impression. There was plenty of data presented and code was dumped and reversed…but was the actual issue solved? What even was causing the issue? Presumably it passed smog sometime in the past couple years so what degraded? It was lean and there was some kind of issue with pressure. I can’t imagine a reflash or whatever is the fix.
It definitely feels like a classic case of the operator reinforcing Claude to keep pursuing a goal that’s counterproductive to a robust solution. Claude complied and they went hard on it but I can’t imagine the driver is any better off and more likely in a worse spot as the underlying issue wasn’t solved.
mrbombastic 44 minutes ago
wildzzz an hour ago
slashdave 6 hours ago
Yup. These agents have feedback loops that are self-reinforcing. Without technical background, a user is easily mislead.
teejaypeeps 7 hours ago
And did the thumbnail, text and graphics. 1mn views with zero effort. I'm here for it
urig 4 hours ago
100 points for car hacking fun. -60 points for "not needing a mechanic or anything". A good mechanic would have fixed it up in a half hour. Guy took 3 days and god knows how many tokens.
bitdivision 3 hours ago
I don't believe a normal 'good' mechanic would be able to re-map it in 30 mins (assuming the underlying issue wasn't something else).
schwap an hour ago
There almost certainly IS an underlying issue, though. Unless the ecu spontaneously recapped itself.
diebillionaires 4 hours ago
Mechanics are overpriced.
IshKebab 7 hours ago
Manufacturers are going to start cryptographically locking everything down rather than relying on the time and skill needed to do reverse engineering.
Rebelgecko 7 hours ago
LLMs have been pretty good at breaking bad crypto in cars. In my Hyundai, they were able to figure out the right incantation to get the car to run unsigned code off a USB stick. Although I guess we're in trouble once carmakers use LLMs to lock things down even more
intrasight 6 hours ago
Most shop security is security through obscurity. For them to lock it down, they need to manage those secrets all the way back to a cloud identity provider. They can and probably will do that eventually.
I assume Tesla does that already.
bri3d 5 hours ago
Old news - for 20+ years in Europe, 5-10 years in the US, and now in Korean and Japanese cars too, ECM updates have been cryptographically signed for warranty, emissions, and now EU cybersecurity regulatory compliance. It turns out there are still bugs in things with cryptography too though.
tehlike 4 hours ago
They did. Cayenne 2024+ does this and ecu is essentially read only unless you start a diagnostic session online.
EcommerceFlow 6 hours ago
Love seeing unique youtube projects on here for a change!
pino83 6 hours ago
... even better would be free projects.
redmaple892 5 hours ago
I enjoyed watching this a couple days ago -- super cool as someone also into slightly older vehicles.
gameclimb 4 hours ago
Oh hey I saw this post on Reddit, super cool!
russellbeattie 2 hours ago
"Everything is 'open source' if you read machine code."
That's been a tired old saw in computers since my career began in the 1990s. Who knew it would be so applicable in the age of AI?
varispeed 3 hours ago
Reminds me when I dropped a binary file from an eeprom and asked Claude why device would display "Error.". It figured out what the processor was, how it talked to LCD and then from there how it displayed messages and then listed conditions for which Error would appear. Amazing.