AI coding agent probed a financial firm and hit a decoy key in under six minutes
Security startup Jesta says an attacker in Bucharest used the free OpenCode agent, Chrome and curl against a financial services customer, and the stolen key turned out to be a planted fake.
· 2 min read
- Jesta says an attacker used the open source OpenCode agent, Chrome and curl to probe a financial services firm for under six minutes.
- The key the agent found was a decoy planted by Jesta, so nothing was stolen.
- Jesta's CTO says address blocklists would not have caught the traffic, and recommends watching what a visitor does.
A free, open source AI coding agent was used in an attempted break-in at a major financial services company, according to The Register, which saw a report from Israeli security startup Jesta. The attempt lasted less than six minutes and stole nothing, because the access key the agent found was a decoy.
Jesta says someone in Bucharest downloaded OpenCode and pointed it at the company, a Jesta customer that the startup would not name. The first request came on November 16 at 09:24:57 UTC. OpenCode lets users connect to more than 200 model providers or local models, but Jesta could not tell which model the attacker used, since the traffic did not name one.
The investigators know an agent was involved because OpenCode's web fetch tool identified itself in the requests. The first call came from Chrome on a Mac and asked for the front page of one of the firm's systems. It was refused. Six seconds later the same Romanian IPv6 address tried again, using the same Chrome version but claiming to be an Android Pixel 10 phone. That attempt failed too.
The agent then asked for the system's API definition and was refused again. It tried a different address, which was a decoy set up by Jesta, and that address returned a readable file describing how the API works. Thirteen seconds later the agent followed a link inside the document. At 09:26:01 UTC Jesta's defenses flagged the visitor as an AI agent and opened a case. From then on, everything the agent touched was a fake environment, including a planted key.
The attacker used the key in a curl request, then tested three cases: the decoy key, no key and a made-up key. The agent also tried several URLs in the browser. It found a valid endpoint but tried to read from one that only accepts submitted data, and was blocked. After 5 minutes and 44 seconds it stopped, and Jesta has seen no further activity from the intruder.
Jesta co-founder and CTO Lior Finkelshtein told The Register the toolkit surprised him: a free agent, the curl that ships with Macs and an ordinary browser, all on one laptop. He said he had expected tools like OpenCode to reach offensive use later, and that this case shows they are already in the field. He also noted that nothing in OpenCode was built for hacking, but nothing stops it from being aimed at another party's website.
Finkelshtein argued that blocklists would not have helped, since none of the customer's threat feeds knew the address. Had the key been real, he said, the attacker would have gotten in. He suggests watching behavior instead: following a link that existed only in API documentation, switching between a desktop browser, a fake phone and curl from one address within minutes, and trying a made-up key and no key within seconds.
Jesta and the customer reported the activity to law enforcement and told The Register it is being handled.