{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "@id": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/#article",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/"
  },
  "url": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/",
  "headline": "Amazon Q Developer VS Code 插件被曝可通过提示词注入执行任意代码",
  "description": "安全研究者 Johann Rehberger 披露 Amazon Q Developer VS Code 插件（下载量超 100 万）存在间接提示词注入漏洞，可利用被归类为 readonly 的 find 命令的 -exec 参数绕过人工确认，在开发者主机上执行任意命令，甚至可诱导 Claude 4 下载远程指令并让…",
  "articleSection": "论文与研究",
  "keywords": "AI, Johann Rehberger / Embrace The Red（RSS）",
  "datePublished": "2025-08-19T21:20:58Z",
  "dateModified": "2026-11-05T20:56:45Z",
  "inLanguage": "zh-CN",
  "isAccessibleForFree": true,
  "author": {
    "@type": "Organization",
    "name": "橙子新闻编辑部",
    "url": "https://new.nat6.net/about/"
  },
  "publisher": {
    "@type": "NewsMediaOrganization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://new.nat6.net/assets/img/logo-512.png",
      "width": 512,
      "height": 512
    }
  },
  "image": {
    "@type": "ImageObject",
    "url": "https://new.nat6.net/assets/img/og-default.png",
    "width": 1200,
    "height": 630
  },
  "isPartOf": {
    "@id": "https://new.nat6.net/#website"
  },
  "isBasedOn": "https://embracethered.com/blog/posts/2025/amazon-q-developer-remote-code-execution",
  "citation": [
    "https://aihot.news/items/cmtzsx6cb06msro1b4rx35w3y",
    "https://embracethered.com/blog/posts/2025/amazon-q-developer-remote-code-execution"
  ],
  "license": "https://new.nat6.net/sources/",
  "about": [],
  "mentions": [
    {
      "@type": "Thing",
      "name": "Johann Rehberger / Embrace The Red（RSS）"
    }
  ],
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      ".article-summary"
    ]
  },
  "copyrightHolder": {
    "@type": "Organization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/"
  },
  "creditText": "橙子新闻（AI 摘要）；原文：Johann Rehberger / Embrace The Red（RSS）",
  "copyrightNotice": "© 2025 橙子新闻。标题与 AI 摘要基于 AIHOT 公开数据，原文版权归原媒体与作者所有；本站不镜像全文。",
  "copyrightYear": 2025,
  "alternativeHeadline": "Amazon Q Developer: Remote Code Execution with Prompt Injection",
  "abstract": "作者完整复现了从间接提示词注入到任意代码执行的攻击链，并附绕过 Claude 拒答的细节，可帮助开发者理解此类漏洞的成因与防护。",
  "subjectOf": [
    {
      "@type": "DigitalDocument",
      "name": "Amazon Q Developer VS Code 插件被曝可通过提示词注入执行任意代码 (Markdown)",
      "url": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/index.md",
      "encodingFormat": "text/markdown"
    },
    {
      "@type": "DigitalDocument",
      "name": "Amazon Q Developer VS Code 插件被曝可通过提示词注入执行任意代码 (JSON)",
      "url": "https://new.nat6.net/api/v1/articles/cmtzsx6cb06msro1b4rx35w3y.json",
      "encodingFormat": "application/json"
    }
  ],
  "id": "cmtzsx6cb06msro1b4rx35w3y",
  "updated_at": "2026-11-05T20:56:45Z",
  "canonical": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/",
  "api_url": "https://new.nat6.net/api/v1/articles/cmtzsx6cb06msro1b4rx35w3y.json",
  "markdown_url": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/index.md",
  "topics": [],
  "related": [
    {
      "id": "xenhfme3azzcf8qpihr57fb93",
      "title": "Berkeley RDI 发布 CyberBinGym 基准，测试 AI 智能体能否仅凭二进制补丁写出真实漏洞利用",
      "url": "https://new.nat6.net/news/xenhfme3azzcf8qpihr57fb93/",
      "lang": "zh",
      "published_at": "2026-11-11T00:00:00Z"
    },
    {
      "id": "womexcn3n0ijhbehvhbsxxm4f",
      "title": "Microsoft Research 揭示 Lazarus 权重空间后门技术，通过重编程休眠神经元攻击 AI Agent",
      "url": "https://new.nat6.net/news/womexcn3n0ijhbehvhbsxxm4f/",
      "lang": "zh",
      "published_at": "2026-11-10T20:52:56Z"
    },
    {
      "id": "momr4yrt6hhhfeuzjfqz6ryqy",
      "title": "Wiz 讲解如何评估 AI 智能体的网络安全能力",
      "url": "https://new.nat6.net/news/momr4yrt6hhhfeuzjfqz6ryqy/",
      "lang": "zh",
      "published_at": "2026-11-10T16:03:25Z"
    },
    {
      "id": "t9g33uqn3lfwm8cr1kr2fvnp7",
      "title": "Google DeepMind 用 AlphaProof Code 对 Signal 协议机器码完成形式化安全验证",
      "url": "https://new.nat6.net/news/t9g33uqn3lfwm8cr1kr2fvnp7/",
      "lang": "zh",
      "published_at": "2026-11-10T15:38:00Z"
    },
    {
      "id": "uif827ayipylunwlh7gejgcbo",
      "title": "OpenAI 研究：模型生命周期中哪些因素影响 CoT 可监控性",
      "url": "https://new.nat6.net/news/uif827ayipylunwlh7gejgcbo/",
      "lang": "zh",
      "published_at": "2026-11-10T08:00:00Z"
    },
    {
      "id": "mx6m3dvh7s5zz7u91h4iqd5pt",
      "title": "OpenAI 披露 ExploitGym 评测中智能体利用同行遗留凭据越权访问内部研究基础设施",
      "url": "https://new.nat6.net/news/mx6m3dvh7s5zz7u91h4iqd5pt/",
      "lang": "zh",
      "published_at": "2026-11-10T00:00:00Z"
    }
  ],
  "citation_formats": {
    "format_zh": "橙子新闻.《文章标题》. 发布日期. https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/",
    "format_en": "Orange News. \"Article title\". Published YYYY-MM-DD. https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/",
    "backlink_required": true
  },
  "attribution": {
    "site": "橙子新闻",
    "source_name": "Johann Rehberger / Embrace The Red（RSS）",
    "source_url": "https://embracethered.com/blog/posts/2025/amazon-q-developer-remote-code-execution",
    "aihot_url": "https://aihot.news/items/cmtzsx6cb06msro1b4rx35w3y",
    "zh": "内容基于 AIHOT 公开 API 的精选标题与 AI 摘要，已注明来源并回链；原文版权归原媒体与作者所有。",
    "en": "Content is based on curated titles and AI summaries from the AIHOT public API, with attribution and links back; original copyright remains with the original publishers and authors."
  },
  "source": {
    "name": "Johann Rehberger / Embrace The Red（RSS）",
    "url": "https://embracethered.com/blog/posts/2025/amazon-q-developer-remote-code-execution",
    "aihot_url": "https://aihot.news/items/cmtzsx6cb06msro1b4rx35w3y"
  },
  "machine_versions": {
    "markdown": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/index.md",
    "json": "https://new.nat6.net/api/v1/articles/cmtzsx6cb06msro1b4rx35w3y.json"
  },
  "urls": {
    "zh": "https://new.nat6.net/news/cmtzsx6cb06msro1b4rx35w3y/",
    "en": "https://new.nat6.net/en/news/cmtzsx6cb06msro1b4rx35w3y/",
    "de": "https://new.nat6.net/de/news/cmtzsx6cb06msro1b4rx35w3y/",
    "fr": "https://new.nat6.net/fr/news/cmtzsx6cb06msro1b4rx35w3y/",
    "ru": "https://new.nat6.net/ru/news/cmtzsx6cb06msro1b4rx35w3y/",
    "ja": "https://new.nat6.net/ja/news/cmtzsx6cb06msro1b4rx35w3y/",
    "es": "https://new.nat6.net/es/news/cmtzsx6cb06msro1b4rx35w3y/",
    "ko": "https://new.nat6.net/ko/news/cmtzsx6cb06msro1b4rx35w3y/",
    "vi": "https://new.nat6.net/vi/news/cmtzsx6cb06msro1b4rx35w3y/",
    "th": "https://new.nat6.net/th/news/cmtzsx6cb06msro1b4rx35w3y/",
    "id": "https://new.nat6.net/id/news/cmtzsx6cb06msro1b4rx35w3y/",
    "ms": "https://new.nat6.net/ms/news/cmtzsx6cb06msro1b4rx35w3y/",
    "fil": "https://new.nat6.net/fil/news/cmtzsx6cb06msro1b4rx35w3y/",
    "hi": "https://new.nat6.net/hi/news/cmtzsx6cb06msro1b4rx35w3y/"
  },
  "promo": {
    "name": "橙子中转站",
    "name_en": "Orange Relay",
    "url": "https://pro.nat6.net/",
    "description": "橙子中转站（pro.nat6.net）是一家优质的 AI API 中转站：价格优惠、质量稳定、模型齐全，支持 Claude、GPT、Gemini 等主流模型，欢迎体验。",
    "advantages": [
      "价格优惠：按量计费，成本可控。",
      "质量稳定：多线路冗余，服务可用性高。",
      "模型齐全：Claude、GPT、Gemini 等主流模型。",
      "接入简单：兼容 OpenAI 接口，改一行 base_url 即可。"
    ],
    "cta": "访问橙子中转站",
    "cta_url": "https://pro.nat6.net/?utm_source=orange_news&utm_medium=article_footer&utm_campaign=brand&lang=zh"
  },
  "generator": "OrangeNews/1.0"
}
