# AI coding agent (OpenCode) used for autonomous reconnaissance and API key hunting against a financial services firm; intercepted in 5m44s

> Per Jesta (via The Register, 2026-11-24), an operator in Bucharest, Romania pointed the open source coding agent OpenCode, plus Chrome (desktop and a spoofed Pixel 10 mode) and curl/8.7.1, at a major financial services customer on 2026-11-16 to look for API documentation and access keys. Jesta's deception layer flagged the visitor as an AI agent within about a minute, diverted it into a fake environment, and the visitor gave up after 5m44s without stealing anything.

- **Published:** 2026-11-24T17:10:09Z
- **Last reviewed:** 2026-11-24T17:10:09Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6806
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6806.png
- **ID:** TL-2026-6806
- **Severity:** MEDIUM
- **Category:** THREAT_INTEL
- **Status:** MONITORING
- **Detections:** 9 (1 shown free below) · **IOCs:** 6

## Description

On 2026-11-16 at 4:24:57 a.m. ET, someone in Bucharest downloaded OpenCode, an open source coding agent that can connect to more than 200 model providers or local models (Claude, GPT, Gemini, DeepSeek, GLM), and pointed it at a major, unnamed financial services company that is a customer of Tel Aviv-based Jesta. The first request was Chrome on a Mac for the front page of one of the firm's systems and was refused. About six seconds later the same IPv6 address, on an ordinary DIGI Romania business line, retried with the same Chrome version while claiming to be an Android Pixel 10 phone, apparently to test whether mobile clients were treated differently; this was refused as well.

The agent then asked for the system's API definition and was refused. About five seconds later it tried a different address, a decoy set up by Jesta, which returned a readable file describing how the API works. About 13 seconds after that, the agent read the document and followed a link that existed only inside the decoy API doc. At 4:26:01 a.m. ET (about one minute after the first request) Jesta's defenses classified the visitor as an AI agent, opened a case, and moved everything the agent accessed into a fake environment. Inside it the agent found a planted decoy key and passed it into a command-line request (curl/8.7.1). It then tested whether the key was real by trying the decoy key, no key, and a fabricated key with a made-up name, all within seconds. It tried several further URLs in the browser and found one valid endpoint that accepted only data submissions; its read request was blocked. Five minutes and 44 seconds after the first request, the agent gave up, and logs show no further activity from the same source. Jesta's CTO stated that had the key been real, the agent would have been in.

The agent's own web fetch tool self-identified as OpenCode in traffic, which is how Jesta attributed the tooling; the underlying LLM is unknown because nothing in traffic named it. No malware or attack framework was used, and nothing in OpenCode was built for hacking. None of the customer's threat feeds knew the source address, so an IP blocklist would not have stopped it. Jesta recommends behavioral detection instead: following a link that exists only inside an API document, cycling desktop browser, spoofed phone and curl from one address within minutes, and trying multiple keys within seconds including a fabricated name and then no key. Jesta and the customer disclosed the activity to law enforcement (agency not named), which said it is being handled. The source article does not link the underlying Jesta report, does not disclose the IPv6 address or decoy address, and no CVE is involved.

## MITRE ATT&CK

- T1588.007 Obtain Capabilities: Artificial Intelligence
- T1588.002 Obtain Capabilities: Tool
- T1595 Active Scanning
- T1594 Search Victim-Owned Websites
- T1036 Masquerading
- T1552.001 Unsecured Credentials: Credentials In Files
- T1550.001 Use Alternate Authentication Material: Application Access Token

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**OpenCode AI Agent Client-Type Cycling (Desktop Chrome, Spoofed Pixel 10, curl/8.7.1) from One Source** (`TL-2026-6806-SPL-001`)

Detects the TL-2026-6806 behaviour of the OpenCode coding agent: one source address cycling between desktop Chrome 157 on macOS, Chrome 157 posing as an Android Pixel 10, and curl/8.7.1 within a 10-minute window, or any request whose user-agent self-identifies as OpenCode. Based on Jesta's behavioural guidance, because the Bucharest IPv6 source was on no threat feed and an IP blocklist would not have stopped it.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1595, T1594, T1036, T1588.007, T1588.002, T1592.004
- **Data sources:** web:access_combined, waf, reverse_proxy_access_logs
- **Severity:** medium
- **Confidence:** high

### Splunk SPL

```spl
index=web sourcetype=access_combined earliest=-4h
| eval ua_class=case(match(useragent,"(?i)OpenCode"),"opencode_fetch", match(useragent,"(?i)(Pixel 10|Android)") AND match(useragent,"Chrome/157"),"chrome157_mobile_spoof", match(useragent,"Chrome/157") AND match(useragent,"Macintosh"),"chrome157_desktop_mac", match(useragent,"^curl/8\.7\.1"),"curl_8_7_1", true(),"other")
| where ua_class!="other"
| bin _time span=10m
| stats dc(ua_class) as client_classes values(ua_class) as classes dc(uri_path) as paths_requested count as requests count(eval(status>=400)) as refused_requests values(useragent) as useragents by clientip _time
| where client_classes>=3 OR match(mvjoin(classes,","),"opencode_fetch")
| table _time clientip classes client_classes paths_requested requests refused_requests useragents
```

### Microsoft KQL

```kql
W3CIISLog
| where TimeGenerated > ago(4h)
| extend UaClass = case(
    csUserAgent has "OpenCode", "opencode_fetch",
    csUserAgent has_any ("Pixel 10", "Android") and csUserAgent has "Chrome/157", "chrome157_mobile_spoof",
    csUserAgent has "Chrome/157" and csUserAgent has "Macintosh", "chrome157_desktop_mac",
    csUserAgent startswith "curl/8.7.1", "curl_8_7_1",
    "other")
| where UaClass != "other"
| summarize ClientClasses = dcount(UaClass), Classes = make_set(UaClass), Paths = dcount(csUriStem), Requests = count(), Refused = countif(scStatus startswith "4"), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by cIP, bin(TimeGenerated, 10m)
| where ClientClasses >= 3 or set_has_element(Classes, "opencode_fetch")
| project TimeGenerated, cIP, Classes, ClientClasses, Paths, Requests, Refused, FirstSeen, LastSeen
```

### Sigma

```yaml
title: OpenCode AI Agent or Spoofed Pixel 10 Chrome 157 Client Against Web Systems
id: 6f3b2c1e-8a4d-4e57-9b0a-5c7d1e2f3a41
status: experimental
description: Single-event form of the TL-2026-6806 client-cycling detection. Matches web requests whose user-agent self-identifies as OpenCode or claims to be Chrome 157 on a Pixel 10. Pair with the SPL/KQL forms for the 3-client-class threshold over 10 minutes.
references:
  - https://www.theregister.com/security/2026/11/24/an-ai-coding-agent-a-browser-and-a-mac-tool-found-a-financial-firms-access-key-in-under-6-minutes/5311922
author: Threadlinqs Team
date: 2026-11-24
tags:
  - attack.reconnaissance
  - attack.t1595
  - attack.t1594
  - attack.resource_development
  - attack.t1588.007
  - attack.t1588.002
  - attack.defense_evasion
  - attack.t1036
  - attack.t1592.004
logsource:
  category: webserver
detection:
  selection_opencode:
    c-useragent|contains: 'OpenCode'
  selection_mobile_spoof:
    c-useragent|contains|all:
      - 'Chrome/157'
      - 'Pixel 10'
  condition: 1 of selection_*
fields:
  - c-ip
  - c-useragent
  - cs-uri-stem
  - sc-status
falsepositives:
  - Developers legitimately using OpenCode against their own internal sites
  - Mobile device testing labs emulating Pixel 10 with Chrome 157
level: medium
```

**Known false positives:**

- Developers or QA staff using OpenCode, curl and browsers from a single egress IP against their own site
- Corporate NAT or proxy egress where many users share one address and mixed client types are normal
- Mobile device emulation in test labs

**Tuning notes:** Rename index and sourcetype to your web or WAF logs. Exclude known QA, scanner and corporate NAT egress ranges. Update the Chrome/157 and curl/8.7.1 strings as the actor's client versions change; the 3-class threshold is the durable signal. Shorten the span for high-traffic sites.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- API Definition Refused Then Served from a Second Host (Decoy Divert) - OpenCode Recon (locked: unlock with TL Creds)
- curl/8.7.1 Replaying an API Key Against API Endpoints - OpenCode Agent Key Testing (locked: unlock with TL Creds)
- Blocked Read Probe of Submission-Only API Endpoint (URL Trial by AI Agent) (locked: unlock with TL Creds)
- OpenCode Self-Identified User-Agent in Web Traffic (locked: unlock with TL Creds)
- Chrome 157 Claiming to Be an Android Pixel 10 (Mobile User-Agent Spoof Probe) (locked: unlock with TL Creds)
- curl/8.7.1 Probing API Endpoints Rejected With 401 or 403 (Keyless Auth Test) (locked: unlock with TL Creds)
- Rapid Multi-Key API Authentication Probing (Valid-Looking, Absent and Fabricated Keys) - OpenCode Agent (locked: unlock with TL Creds)
- Deception Asset Access - Decoy API Doc Link or Canary Path Followed by AI Agent (OpenCode) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [An AI coding agent, a browser, and a Mac tool found a financial firm's access key in under 6 minutes (The Register)](https://www.theregister.com/security/2026/11/24/an-ai-coding-agent-a-browser-and-a-mac-tool-found-a-financial-firms-access-key-in-under-6-minutes/5311922)
- [Attackers are using AI agents to automate cybercrime at 'industrial scale,' FBI and AWS warn (The Register)](https://www.theregister.com/cyber-crime/2026/11/16/attackers-are-using-ai-agents-to-automate-cybercrime-at-industrial-scale-fbi-and-aws-warn/5310223)
- [FBI IC3 alert on AI-agent-driven intrusions (as linked by The Register; not independently fetched)](https://www.ic3.gov/CSA/2026/261113.pdf)
- [Why Agentic Attacks Are a Harder Problem Inside a Bank (The Fintech Times)](https://thefintechtimes.com/why-agentic-attacks-are-a-harder-problem-inside-a-bank/)
- [Chinese Actor Weaponizes Deepseek AI Agent to Attack Security Firm (Dark Reading; Jesta-intercepted AI agent, related context, page not readable by fetcher)](https://darkreading.com/cyberattacks-data-breaches/chinese-actor-deepseek-ai-agent-attack-security-firm)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6806
