Security News

Free AI coding agent probed a financial firm in under six minutes and took a decoy key

The Register · 25 Nov 2026
Key Takeaway Do not rely on blocklists alone: make sure API keys are never exposed in documentation or public systems, and watch for automated, trial-and-error behaviour from unknown visitors.

A single laptop, a free AI coding agent and two everyday tools were enough to mount a near-complete intrusion attempt against a major financial services company, according to security startup Jesta. The company, which is a Jesta customer, has not been named. Jesta's report, shared with The Register, says no custom malware or specialised attack framework was involved.

Jesta traced the activity to someone in Bucharest who started the open source OpenCode agent on 16 November at 4:24:57 a.m. ET. The agent first requested a front page and was refused. It retried, presenting itself as an Android phone, and was refused again. It then asked for the system's API definition, was refused, and tried a different address. That address was a decoy set up by Jesta, and it handed over the file describing how the API works.

The agent read the document and followed a link inside it. Within about a minute Jesta's defences flagged the visitor as an AI agent and moved it into a fake environment. There it found a planted key and tested it, then tried no key and a made-up key to check whether the lock was real. It also used Chrome 157 and curl 8.7.1, passing information between the three tools. After 5 minutes and 44 seconds it gave up, and no further activity from the intruder has been seen. The firm and Jesta reported the incident to law enforcement.

Jesta's CTO, Lior Finkelshtein, stressed that a blocklist would not have helped, because no threat feed knew the address. If the key had been real, he said, it would have been in. He suggests watching behaviour instead: following a link that only exists inside API documentation, switching between desktop, fake phone and curl from one address within minutes, and trying several keys in seconds.

Why it matters

Defences that ask whether an address is known to be bad fail against a freshly started attacker using a free, general-purpose coding agent, so reputation-based blocking cannot be the main control. The attack worked like a developer reading documentation, which means exposed API docs and any key reachable from them become the weak point. Security leaders need detection based on what a visitor does, not who it is.

What to do

  • Check that API documentation and definition files are not publicly readable and contain no live keys.
  • Alert on a single address switching between desktop browser, claimed mobile browser and curl within minutes.
  • Flag visitors who follow links that only appear inside API docs or who try several keys, including made-up or missing ones, within seconds.
  • Consider planting decoy keys and endpoints so that probing triggers an alert instead of a breach.
AI agents OpenCode API security deception technology financial services
Regulated in financial services? APRA CPS 220, 230 and 234, in plain language ->

Summarised by CISO AI from The Register, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.