Back

Free OpenCode agent used in attempted financial firm intrusion
SiTech AI Team3 min read

Free OpenCode agent used in attempted financial firm intrusion

A Jesta report says an attacker in Bucharest used the free OpenCode coding agent, Chrome and curl to probe a financial services firm for less than six minutes before giving up.

A Jesta report describes an attempted intrusion at a financial services company in which an attacker in Bucharest used the free OpenCode coding agent with Chrome and curl. The activity lasted less than six minutes and included testing a decoy API key before the attacker gave up. Jesta said the case was disclosed to law enforcement.

How the attempt unfolded

Jesta, a Tel Aviv-based security startup, said someone in Bucharest downloaded OpenCode and pointed it at a customer on November 16 at 4:24:57 a.m. ET. The first request came from Chrome on a Mac seeking the front page of one of the firm's systems and was refused. Six seconds later, the same IPv6 address on a DIGI Romania business line tried again using the same Chrome version but claiming to be an Android Pixel 10 phone; that request was also refused.

After the front page attempts failed, the agent asked for the system's API definition and was refused. Five seconds later, it tried a decoy address set up by Jesta, which returned a readable file defining how the API works. The agent read the document and, 13 seconds later, followed a link it contained. At 4:26:01 a.m. ET, Jesta's defenses marked the visitor as an AI agent and contained its activity in a fake environment with a phony key.

OpenCode lets users connect to more than 200 model providers or local models. Jesta does not know which model the attacker used. The attacker used Chrome 157 in desktop and mobile modes and curl/8.7.1, and the agent passed information between the three tools. It included the planted key in a command-line request and tested using the decoy key, no key, and a fabricated key. It also tried multiple URLs and identified a valid endpoint, but a read request to an endpoint that accepts only data submissions was blocked. Five minutes and 44 seconds after the first request, the attacker gave up.

Why blocklists did not help

No blocklist would have helped detect the malicious traffic, Finkelshtein said, because most security tools decide by asking whether an address is known to be bad. He said the visitor followed a link that existed only inside an API document, used a desktop browser and a fake phone, then curl, all from the same address within minutes, and tried multiple keys within seconds.

What the case shows

The report presents the case as a reminder that attackers do not need sophisticated malware or AI pen-testing tools to intrude into critical networks. Open source coding agents, including OpenCode, can also be used, according to the report.

"What surprised me most was how little it took and the toolkit: a free coding agent, the curl that comes with every Mac and an ordinary Chrome, all from one laptop," Lior Finkelshtein, Jesta co-founder and CTO, told The Register. "Until now I thought that we had more time until tools like OpenCode are used in offensive operations. This incident shows us that it's already in use in the field, and we will probably see more of that in the future."

"Nothing in OpenCode was built for hacking," Finkelshtein said in a Tuesday report about the agent-led attack. He added that nothing in the coding agent stops you from pointing it at someone else's website either. "When you do, the agent goes through the site the same way it goes through code. It reads, tries something, reads the result and tries the next thing, for as long as you let it run."

Sources: The Register

SiTech

SiTech — AI-powered web development

We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.