{
  "schema_version": "1.0",
  "publisher": "AI Release",
  "article": {
    "title": "How to protect exchange API keys from an AI agent: isolation, scopes, and rotation",
    "canonical_url": "https://ai-release.org/guides/kak-zashchitit-api-klyuchi-birzhi-ot-ii-agenta_en.html",
    "language": "en",
    "article_type": "guide",
    "published_at": null,
    "updated_at": "2026-11-22T00:00:00+00:00"
  },
  "summary": "Step-by-step protection of exchange API keys from an AI agent: least privilege, secret isolation, egress, rotation, and a leak runbook.",
  "topics": [
    "exchange API keys",
    "AI agent security",
    "key rotation",
    "secret isolation",
    "trading bot security"
  ],
  "entities": [
    {
      "id": "E1",
      "name": "exchange API keys",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E2",
      "name": "AI agent security",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E3",
      "name": "key rotation",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E4",
      "name": "secret isolation",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E5",
      "name": "trading bot security",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E6",
      "name": "Telegram",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E7",
      "name": "Docker",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    }
  ],
  "claims": [
    {
      "id": "AR-GUIDE-KAKZASHCHI-001",
      "statement": "An exchange API key is not a forum password. If it leaks, the damage is measured in order history and balance, not in a password reset. This guide is about reducing the cost of a leak to near zero before it happens.",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-zashchitit-api-klyuchi-birzhi-ot-ii-agenta_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "An exchange API key is not a forum password. If it leaks, the damage is measured in order history and balance, not in a password reset. This guide is about reducing the cost of a leak to near zero before it happens."
    },
    {
      "id": "AR-GUIDE-KAKZASHCHI-002",
      "statement": "An LLM key spends tokens. An exchange key moves money. The permission model defines everything:",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-zashchitit-api-klyuchi-birzhi-ot-ii-agenta_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "An LLM key spends tokens. An exchange key moves money. The permission model defines everything:"
    },
    {
      "id": "AR-GUIDE-KAKZASHCHI-003",
      "statement": "So the defense is not “hide the string”. It is shrinking the permission set. Even a stolen key without withdrawal rights and with an IP allowlist is a bounded problem, not a lost deposit.",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-zashchitit-api-klyuchi-birzhi-ot-ii-agenta_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "So the defense is not “hide the string”. It is shrinking the permission set. Even a stolen key without withdrawal rights and with an IP allowlist is a bounded problem, not a lost deposit."
    },
    {
      "id": "AR-GUIDE-KAKZASHCHI-004",
      "statement": "The lesson: the threat is almost never clever cryptography. It is the permissions you granted and the channels through which the secret is reachable.",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-zashchitit-api-klyuchi-birzhi-ot-ii-agenta_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "The lesson: the threat is almost never clever cryptography. It is the permissions you granted and the channels through which the secret is reachable."
    }
  ],
  "relationships": [
    {
      "subject": "Guide",
      "predicate": "describes",
      "object": "How to protect exchange API keys from an AI agent: isolation, scopes, and rotation",
      "claim_id": "AR-GUIDE-KAKZASHCHI-001"
    },
    {
      "subject": "Guide",
      "predicate": "includes step",
      "object": "Step 1. Create a key with the minimum scope",
      "claim_id": "AR-GUIDE-KAKZASHCHI-001"
    }
  ],
  "questions_and_answers": [
    {
      "question": "What is this guide about?",
      "answer": "Step-by-step protection of exchange API keys from an AI agent: least privilege, secret isolation, egress, rotation, and a leak runbook.",
      "claim_ids": [
        "AR-GUIDE-KAKZASHCHI-001"
      ],
      "article_anchor": "#suschnost"
    },
    {
      "question": "How to do it?",
      "answer": "Step 1. Create a key with the minimum scope → Step 2. Isolate the secret from the agent → Step 3. Restrict network and processes → Step 4. Set up rotation and monitoring",
      "claim_ids": [
        "AR-GUIDE-KAKZASHCHI-004"
      ],
      "article_anchor": "#step-1"
    },
    {
      "question": "Which topics does it cover?",
      "answer": "API-ключи биржи, защита API-ключей, ИИ-агент, торговый бот, ротация ключей, изоляция секретов",
      "claim_ids": [
        "AR-GUIDE-KAKZASHCHI-002"
      ],
      "article_anchor": "#entities"
    }
  ],
  "limitations": [
    "Current versions, prices and limits.",
    "Independent benchmarks and quality checks.",
    "Terms of use and data policy."
  ],
  "citation": {
    "preferred_citation": "AI Release. Как защитить API-ключи биржи от ИИ-агента: изоляция, права и ротация. https://ai-release.org/guides/kak-zashchitit-api-klyuchi-birzhi-ot-ii-agenta_en.html",
    "canonical_url": "https://ai-release.org/guides/kak-zashchitit-api-klyuchi-birzhi-ot-ii-agenta_en.html",
    "publisher": "AI Release"
  }
}