title: '"Analysis proxy" attestation challenge, Alibaba Cloud API edge'
summary: >-
  A 403 "analysis proxy" response asking the agent to resubmit with an
  attestation: OS user, git email, IP, instance ID, model config, objective,
  rules of engagement and tool list. Seen by a HackerOne VDP tester's agent
  and an aliyun-cli user on the same day.
techniques:
  - declaration-gate
seen: 2026-09-18
seen_approximate: true

deployed_by:
  name: Alibaba Cloud
  kind: cloud-provider

location:
  host: '*.aliyuncs.com (location-readonly, rds, ecs.cn-shenzhen, fcv3.cn-shenzhen)'
  surface: >-
    Alibaba Cloud API endpoints. Also an
    unnamed private HackerOne VDP web target.

trigger: >-
  Exact UA "AlibabaCloud (darwin; arm64) Golang/1.26.1 Core/1.63.22
  Aliyun-CLI/3.3.4", after ~1h of high-rate CLI use; any one-character change
  restores normal responses. The ARTEX-ymh design doc describes a different trigger: a Chrome UA from curl with a TLS fingerprint mismatch.

delivery: [http-response]
targets: [coding-agent, pentest-agent]
intent: defensive
collateral: Also served to official-CLI traffic from a customer's own account.

detection:
  - '"code": "CLIENT_UNCLASSIFIED"'
  - '"error": "proxy_authentication_required"'
  - The analysis proxy requires a client attestation payload
  - 'POST ^/secure/[0-9a-f]{32}/api$'
  - outbound body with attestation.{principal,origin,provenance,delegation}

timeline:
  - date: 2026-09-18
    approximate: true
    event: >-
      ARTEX-ymh design doc reconstructs the trap from a screenshot of an
      Alibaba edge node: classification gate → X-Request-Context header → 403
      CLIENT_UNCLASSIFIED → POST attestation. Disclosed by huntback on 2026-11-04.
    source: https://huntback.io/blog/artex-fork-learns-to-spot-honeypots
  - date: 2026-11-30T15:41:00Z
    event: Kettle publishes the full body, seen on a private HackerOne VDP target.
    source: https://portswigger.net/research/the-bug-bounty-website-that-tried-to-hack-me
  - date: 2026-11-30T16:22:00Z
    event: V2EX user receives the same body from Alibaba Cloud POP endpoints and isolates the UA trigger.
    source: https://www.v2ex.com/t/1261106
  - date: 2026-12-01
    event: Alibaba Cloud staff account replies on V2EX ("urgently handling").
    source: https://www.v2ex.com/t/1261106

responses:
  - date: 2026-09-18
    by: ARTEX-ymh
    description: >-
      Marks target content as untrusted, hard-codes limits the model cannot override, blocks outgoing requests that contain known secrets, caps fetches per task and keeps one user agent per task.
    source: https://huntback.io/blog/artex-fork-learns-to-spot-honeypots

sources:
  - title: The bug bounty website that tried to hack me
    url: https://portswigger.net/research/the-bug-bounty-website-that-tried-to-hack-me
    publisher: PortSwigger Research
    date: 2026-11-30
  - title: 离谱的阿里云，官方 CLI 返回一段钓鱼提示语注入
    url: https://www.v2ex.com/t/1261106
    publisher: V2EX
    date: 2026-11-30
  - title: 'ARTEX learns to spot honeypots: dissecting an AI pentest agent''s decoy detector'
    url: https://huntback.io/blog/artex-fork-learns-to-spot-honeypots
    publisher: huntback
    date: 2026-11-04
  - title: 阿里云API疑现AI Agent探针：精确匹配CLI指纹后返回提示词注入内容
    url: https://www.80aj.com/2026/12/01/api-agent-prompt-injection/
    publisher: 80aj.com
    date: 2026-12-01

added: 2026-12-01
