<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by 0xK1L on Medium]]></title>
        <description><![CDATA[Stories by 0xK1L on Medium]]></description>
        <link>https://medium.com/@0xK1L?source=rss-6b816e6bc940------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1AO6JYKMILjjH3y5Dl_QbQ.jpeg</url>
            <title>Stories by 0xK1L on Medium</title>
            <link>https://medium.com/@0xK1L?source=rss-6b816e6bc940------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:28:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@0xK1L/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Two Critical Next.js RCEs in One Release: The use cache Bug and the SVG Image Bug Explained]]></title>
            <link>https://medium.com/@0xK1L/two-critical-next-js-rces-in-one-release-the-use-cache-bug-and-the-svg-image-bug-explained-7bb5318dfbd6?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bb5318dfbd6</guid>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[web-security]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 20:14:37 GMT</pubDate>
            <atom:updated>2026-11-07T20:14:37.091Z</atom:updated>
            <content:encoded><![CDATA[<h4>Next.js 16.4.1 and 15.5.28 fixed two unauthenticated remote code execution flaws and a denial-of-service bug, all rooted in upstream dependencies.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cIQkn9FSAM_2YK_XG2nLDA.png" /><figcaption>Two Critical Next.js RCEs in One Release: The use cache Bug and the SVG Image Bug Explained</figcaption></figure><blockquote><em>TL;DR: On October 14, 2026, Next.js shipped an out-of-band security update (</em><strong><em>16.4.1</em></strong><em> and </em><strong><em>15.5.28</em></strong><em>) fixing </em><strong><em>two critical unauthenticated remote code execution bugs</em></strong><em> and a high-severity denial-of-service. RCE #1 affects App Router apps using </em><strong><em>Cache Components</em></strong><em> when a </em><em>use cache function returns multiple </em><strong><em>typed arrays</em></strong><em>. Its root cause is in React and there is </em><strong><em>no workaround</em></strong><em>. RCE #2 (</em><strong><em>CVE-2026-96889</em></strong><em>) is a memory bug in an image library reachable through </em><strong><em>Image Optimization with SVG</em></strong><em> on glibc-based Linux. No in-the-wild exploitation had been publicly confirmed, but the fix is urgent.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_klkpfjo3mzwzkiEopXaA.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>Why this belongs next to PHP2Shell and Node2Shell</h3><p>The pattern is the same as the other stories in this mini-series: <strong>the bug isn’t in your application code</strong>. It sits in a dependency your framework uses on every request: React’s serialization layer and an image library written in C. Your code can be perfect and still be exploitable. And unlike the others, one of these bugs initially had <strong>no CVE number</strong>, so many scanners didn’t flag it at all.</p><h3>RCE #1: use cache functions returning typed arrays</h3><p><strong>Advisory:</strong> GHSA-673q-mjm6-r5xr (Next.js), with upstream advisory GHSA-xqc2-xf4c-x3h3 (React). <strong>Severity:</strong> critical.</p><h4>Background</h4><p>Next.js’s <strong>Cache Components</strong> let you mark a function with the &quot;use cache&quot; directive, so its result is stored and reused instead of recomputed. To store a result, the framework has to <strong>serialize</strong> it, turn it into data that can be saved and later turned back into JavaScript values. <strong>Typed arrays</strong> (Uint8Array, Float32Array, …) are binary buffers, and handling them correctly means getting lengths and offsets exactly right.</p><h4>The flaw</h4><p>According to Next.js, applications using the App Router with Cache Components can be vulnerable to <strong>unauthenticated remote code execution when a </strong><strong>use cache function returns multiple typed arrays</strong>. The root cause is upstream in <strong>React</strong>. Next.js and React haven’t published exploit details. Next.js’s guidance is blunt: there is <strong>no known workaround</strong>, and you should <strong>upgrade even if your app has no such function</strong>.</p><p><strong>Affected:</strong> Next.js 16.0.0 through 16.4.0 (per the Cloud Security Alliance note). <strong>Fixed:</strong> 16.4.1.</p><h3>RCE #2: Image Optimization with SVG (CVE-2026–96889)</h3><p><strong>Advisory:</strong> CVE-2026–96889 / GHSA-2464-fhr4-w9xw. <strong>Severity:</strong> critical.</p><h4>Background</h4><p>Next.js resizes and converts images on the server using <strong>sharp</strong>, a fast image library built on native C libraries. For <strong>SVG</strong> files, the rendering is done by an upstream library (<strong>librsvg</strong>, per the CSA research note). SVG is a complex XML-based format, which makes it a rich target for memory bugs.</p><h4>The flaw</h4><p>Next.js describes a <strong>memory-related vulnerability in an upstream library used for Image Optimization</strong> that can lead to <strong>remote code execution when Next.js runs on glibc-based Linux</strong>. Netlify notes that on its platform the flaw is reachable through next/og. The workaround is to make sure Next.js uses <strong>sharp 0.35.5 or later</strong>. Upgrading Next.js does that automatically.</p><p><strong>Fixed:</strong> Next.js 16.4.1 and 15.5.28 (or sharp ≥ 0.35.5).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gfKRScl-Ghbdh0Z3F5DrQg.png" /><figcaption>How it should work vs. what the attacker makes happen (simplified diagram by the author)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gnNwr59_jEUNaSiWU1_seg.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>The third fix: Server Actions denial of service</h3><p><strong>GHSA-p3m5–59mp-jv5r</strong> (upstream React advisory GHSA-h3gv-c5rc-p453), rated high: crafted requests to App Router apps with at least one <strong>Server Action</strong> can cause excessive CPU use, blocking the process from handling other requests. Apps using the Pages Router or no Server Actions aren’t affected. It received a CVE (CVE-2026–94482) on October 22.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zLbo2nVWFM-N8HHcaYVTIQ.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><h3>Has anyone exploited it?</h3><p>As of mid-October, analyses found <strong>no public reports of active exploitation</strong> of these flaws, and none had been confirmed by the time of writing. One threat-research page lists a proof-of-concept status for CVE-2026–96889. Singapore’s Cyber Security Agency still issued an alert on October 20 urging immediate patching. Given how quickly PHP2Shell, Node2Shell and the GitLab bug went from patch to exploitation in the same month, waiting would be a gamble.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CChS_a4yp1j2R0ZoS82Fiw.png" /><figcaption>The official Next.js security update of October 14, 2026 (source: nextjs.org)</figcaption></figure><h3>What to do</h3><ol><li><strong>Upgrade Next.js:</strong> npm install next@16.4.1 (16.x) or npm install next@15.5.28 (15.5.x).</li><li><strong>Check sharp:</strong> confirm your lockfile resolves sharp to <strong>0.35.5 or later</strong>.</li><li><strong>Redeploy</strong> and confirm the version actually running in production.</li><li><strong>Don’t rely only on CVE-based scanners.</strong> The use cache bug was tracked as a GitHub advisory (GHSA) without a CVE at first, so CVE-keyed tools could miss it.</li><li><strong>Upgrade Node.js too.</strong> Updating next doesn’t patch the Node.js runtime underneath, which had its own critical fix (Node2Shell, part 3) a week later.</li><li><strong>Be careful with untrusted SVGs</strong> on the server. If you don’t need to process user-supplied SVGs, don’t.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NKzEKKpZ_P3rFqUrv-ofHw.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons</h3><ul><li><strong>Your framework is part of your attack surface,</strong> including the native libraries it pulls in.</li><li><strong>Track GHSA IDs, not just CVEs.</strong> Advisories often appear on GitHub first.</li><li><strong>Patch the whole stack:</strong> framework, image libraries and runtime. October showed attackers working at every layer.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed (Next.js advisory):</strong> the two RCEs and the DoS, conditions, fixed versions and the sharp workaround.</li><li><strong>From secondary analysis:</strong> CVSS 9.5 for both RCEs and the 16.0.0–16.4.0 range for the use cache bug (CSA); librsvg as the SVG library involved; the next/og path on Netlify.</li><li><strong>Not established:</strong> exploitation in the wild; full technical root-cause details have not been published.</li></ul><h3>References</h3><ul><li><a href="https://nextjs.org/blog/nextjs-security-update-october-14-2026">Next.js: Security update for upstream vulnerabilities (Oct 14, 2026, official)</a></li><li><a href="https://github.com/vercel/next.js/security/advisories/GHSA-673q-mjm6-r5xr">GitHub advisory GHSA-673q-mjm6-r5xr (Next.js, use cache RCE)</a></li><li><a href="https://github.com/react/react/security/advisories/GHSA-xqc2-xf4c-x3h3">GitHub advisory GHSA-xqc2-xf4c-x3h3 (React, upstream)</a></li><li><a href="https://github.com/vercel/next.js/security/advisories/GHSA-2464-fhr4-w9xw">GitHub advisory GHSA-2464-fhr4-w9xw / CVE-2026–96889 (Image Optimization)</a></li><li><a href="https://labs.cloudsecurityalliance.org/research/csa-research-note-nextjs-use-cache-librsvg-rce-20261016-csa/">Cloud Security Alliance: Next.js out-of-band patch, critical RCE in use cache and librsvg</a></li><li><a href="https://www.netlify.com/changelog/2026-10-14-nextjs-react-security-vulnerabilities/">Netlify: Next.js and React security vulnerabilities (October 2026)</a></li><li><a href="https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2026-148/">Singapore CSA: Critical vulnerabilities in Next.js (AL-2026–148)</a></li></ul><p><em>This article is part of “Black October 2026: The Vulnerabilities”, a 5-part follow-up to the Black October series that explains October 2026’s most critical vulnerabilities for awareness purposes. Facts come from the vendor advisories and researcher reports listed above and are current as of November 2, 2026. Some investigations are ongoing, so details may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bb5318dfbd6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitLab’s Perfect-10 Bug: How a Regular Expression in a CI File Became Remote Code Execution]]></title>
            <link>https://medium.com/@0xK1L/gitlabs-perfect-10-bug-how-a-regular-expression-in-a-ci-file-became-remote-code-execution-4c01dc791483?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c01dc791483</guid>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[devsecops]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 20:13:18 GMT</pubDate>
            <atom:updated>2026-11-07T20:13:18.096Z</atom:updated>
            <content:encoded><![CDATA[<h4>CVE-2026–97229 is an integer overflow in GitLab’s CI/CD regex compiler. Patched on October 12, exploited in the wild by the end of the month.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZYsIulbJ-bqu_Ml7LoWTJg.png" /><figcaption>GitLab’s Perfect-10 Bug: How a Regular Expression in a CI File Became Remote Code Execution</figcaption></figure><blockquote><em>TL;DR: </em><strong><em>CVE-2026–97229</em></strong><em> is a maximum-severity (CVSS 10.0) bug in self-managed GitLab CE and EE. A specially crafted </em><strong><em>regular expression in a CI/CD configuration</em></strong><em> triggers an </em><strong><em>integer overflow</em></strong><em> in GitLab’s CI/CD regex compiler and runs commands on the GitLab server. GitLab patched it on October 12, 2026. A public proof-of-concept followed, CISA added it to the KEV catalog on October 29 after exploitation was seen, and Shadowserver counted more than 1,000 unpatched, internet-exposed servers under attack.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OsgC_wMk8sw5TQasjY7BMA.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>Why GitLab servers are such valuable targets</h3><p>A self-managed GitLab server holds an organization’s <strong>source code</strong>, its <strong>CI/CD secrets</strong> (cloud keys, deploy tokens, registry passwords), its <strong>runner tokens</strong>, and often the keys that push to production. Code execution on that server is close to code execution on everything it deploys. That’s why a 10.0 here deserves the same urgency as a firewall bug.</p><h3>Background: regular expressions in CI files</h3><p>GitLab CI files (.gitlab-ci.yml) can contain <strong>regular expressions</strong>, for example in rules: conditions that decide when a job runs (“only if the branch name matches /^release-.*/”). GitLab has to <strong>parse and compile</strong> those patterns on the server. A regex engine is a small compiler and virtual machine: it turns a pattern into internal instructions and executes them. Like any compiler, it has to stay within the memory it allocated.</p><p>GitLab guards this with validation, including a size check, so oversized or dangerous patterns are rejected.</p><h3>The bug</h3><p>GitLab describes it as an <strong>integer overflow (CWE-190) in the CI/CD Regular Expression Compiler</strong>, caused by <strong>insufficient regular expression validation</strong>, that “could have allowed an unauthenticated user to execute arbitrary code on the GitLab server via a specially crafted regular expression in a CI/CD configuration.”</p><p>The public proof-of-concept adds a little more detail: a particular <strong>Unicode path</strong> causes Ruby to <strong>compile the regular expression again after GitLab’s size check</strong>. The recompiled pattern is no longer the one that was checked, and an <strong>integer overflow</strong> in that process redirects the regex engine’s execution, which the exploit turns into command execution.</p><p>An integer overflow happens when a number gets too big for its storage and wraps around to a small value. If that number is a size or an offset, the program allocates or checks too little, then writes or jumps outside the bounds it believes are safe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PgjN0naooz8Szd5atN8BWw.png" /><figcaption>How it should work vs. what the attacker makes happen (simplified diagram by the author)</figcaption></figure><h3>How an attacker uses it</h3><p>Based on the public PoC by Jonah Burgess:</p><ol><li>The attacker needs <strong>permission to push a branch to a public project</strong> on the instance. On GitLab servers with <strong>open sign-up</strong>, anyone can create an account and a project, so in practice the barrier is very low.</li><li>A request to GitLab’s <strong>CI lint endpoint</strong> (which validates CI configuration) is then sent <strong>without any token, cookie or authorization header</strong>.</li><li>Commands run as GitLab’s <strong>git</strong> account, not as root, but that account owns repositories and much of GitLab’s data.</li><li>The exploit needs a lot of memory and is tuned to specific builds (tested on CE 19.4.1). A typical attempt ends with an <strong>HTTP 502</strong> because the worker crashes after the command runs.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRIH9vOziackWs52_P0qwg.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>Exploited in the wild</h3><p>CISA added CVE-2026–97229 to its Known Exploited Vulnerabilities catalog on <strong>October 29</strong>, giving federal agencies until November 1 to patch. GitLab’s advisory notes that exploitation evidence came from external researchers. No attacker IPs, domains or file hashes had been published as of October 30. Over the following weekend, <strong>Shadowserver</strong> reported tracking more than <strong>1,000 unpatched, internet-exposed GitLab servers under ongoing attack</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lfoElEPscrd21Ebx-DMWWQ.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><h3>Affected and fixed versions</h3><ul><li><strong>Affected:</strong> GitLab CE and EE <strong>19.2</strong> before 19.2.8, <strong>19.3</strong> before 19.3.5, <strong>19.4</strong> before 19.4.2.</li><li><strong>Fixed:</strong> <strong>19.4.2</strong>, <strong>19.3.5</strong>, <strong>19.2.8</strong>. (Some early reports cited 19.3.4, but GitLab now recommends 19.3.5.)</li><li><strong>Not affected:</strong> GitLab.com is already patched, and GitLab Dedicated customers need no action.</li></ul><p>The same patch release fixed <strong>23 other vulnerabilities</strong>, including a high-severity XSS (CVE-2026–92883) and a prompt-injection issue in GitLab Duo Agent Platform (CVE-2026–96893). That’s another reason to upgrade rather than look for a workaround.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ekg9-uvmaH0RjbN5bezt7A.png" /><figcaption>GitLab’s official patch release notes for 19.4.2 / 19.3.5 / 19.2.8 (source: docs.gitlab.com)</figcaption></figure><h3>What to do</h3><ol><li><strong>Upgrade now</strong> to 19.4.2, 19.3.5 or 19.2.8 (or later).</li><li><strong>Close open sign-up</strong> or require admin approval. Bugs that need “any account” become “anyone” when sign-up is open.</li><li><strong>Don’t expose GitLab to the whole internet</strong> unless you have to. Put it behind a VPN or SSO proxy where possible.</li><li><strong>Hunt:</strong> review recent CI configuration changes for strange regular expressions, look for bursts of HTTP 502 on CI lint requests, and check for unexpected processes started by the git user. GitLab also published six threat detections for self-managed instances.</li><li><strong>If you find signs of compromise:</strong> treat the server as breached. Rotate CI/CD variables, runner registration tokens, deploy keys and personal access tokens, and review recent pushes and pipeline changes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PMfGnS5PxRyEulfFo7KKDw.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons</h3><ul><li><strong>Validate what you execute, not what you received.</strong> The bug lived in the gap between the pattern GitLab checked and the pattern Ruby finally compiled. Validation must happen on the final form.</li><li><strong>“Requires an account” is weak protection</strong> when accounts are free. Review which features any user can reach.</li><li><strong>Patch windows keep shrinking.</strong> Two weeks from patch to KEV listing is now normal for internet-facing DevOps tools.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed:</strong> the vulnerability, CVSS 10.0, affected and fixed versions (GitLab), KEV listing (CISA), Shadowserver’s exposure numbers.</li><li><strong>From the public PoC:</strong> the CI lint path, the Unicode recompilation detail and the git execution context.</li><li><strong>Not disclosed:</strong> who is exploiting it, and how many servers were actually compromised.</li></ul><h3>References</h3><ul><li><a href="https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/">GitLab: Patch release 19.4.2, 19.3.5, 19.2.8 (official)</a></li><li><a href="https://www.bleepingcomputer.com/news/security/hackers-now-exploiting-max-severity-gitlab-flaw-in-attacks/">BleepingComputer: CISA says max severity GitLab flaw now exploited in the wild</a></li><li><a href="https://www.bleepingcomputer.com/news/security/over-1-000-gitlab-servers-vulnerable-to-code-execution-attacks/">BleepingComputer: Over 1,000 GitLab servers vulnerable to ongoing RCE attacks</a></li><li><a href="https://cybersecuritynews.com/poc-gitlab-rce-vulnerability/">Cyber Security News: PoC released for GitLab RCE vulnerability</a></li><li><a href="https://socradar.io/blog/cve-2026-97229-critical-gitlab-rce/">SOCRadar: CVE-2026–97229, critical GitLab RCE</a></li><li><a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog">CISA: Known Exploited Vulnerabilities catalog</a></li></ul><p><em>This article is part of “Black October 2026: The Vulnerabilities”, a 5-part follow-up to the Black October series that explains October 2026’s most critical vulnerabilities for awareness purposes. Facts come from the vendor advisories and researcher reports listed above and are current as of November 2, 2026. Some investigations are ongoing, so details may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c01dc791483" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Node2Shell Explained: How a Compressed Request Body Can Corrupt Memory in Node.js]]></title>
            <link>https://medium.com/@0xK1L/node2shell-explained-how-a-compressed-request-body-can-corrupt-memory-in-node-js-3b28ffafd623?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b28ffafd623</guid>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 20:11:54 GMT</pubDate>
            <atom:updated>2026-11-07T20:11:54.887Z</atom:updated>
            <content:encoded><![CDATA[<h4>CVE-2026–111497 is an out-of-bounds write in the Brotli decoder bundled with Node.js. A single Content-Encoding: br header can reach it on many Express apps.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ln53VHHRn7J8LQYmBEipgA.png" /><figcaption>Node2Shell Explained: How a Compressed Request Body Can Corrupt Memory in Node.js</figcaption></figure><blockquote><em>TL;DR: On October 21, 2026, Node.js fixed </em><strong><em>CVE-2026–111497</em></strong><em>, quickly nicknamed </em><strong><em>Node2Shell</em></strong><em>: an out-of-bounds write in the </em><strong><em>Brotli decoder</em></strong><em> that Node.js bundles. Malformed compressed data can corrupt memory, causing a crash, memory disclosure or, in the worst case, </em><strong><em>remote code execution</em></strong><em>. On many Express 5 apps a request with </em><em>Content-Encoding: br is enough to reach the decoder without logging in. Honeypots recorded exploitation attempts within days, and CISA added it to the KEV catalog on October 27. No confirmed production compromise had been reported as of October 29.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcis74lwYRpiTgXFN3kRXg.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>Why it’s called “Node2Shell”</h3><p>The name echoes <strong>PHP2Shell</strong> from earlier in October. Both bugs live in the runtime underneath your application, not in your code, and both can turn a single crafted request into memory corruption. The difference: PHP2Shell abused PHP’s request lifecycle, while Node2Shell sits in a <strong>compression library</strong> that many products share.</p><h3>Background: what is Brotli?</h3><p><strong>Brotli</strong> is a compression format created by Google. Browsers and servers use it to shrink web traffic, signaled by the HTTP header Content-Encoding: br. Node.js includes Google’s Brotli library and exposes it through node:zlib (for example zlib.brotliDecompress()). Frameworks and fetch() use it automatically when they see Brotli-compressed data.</p><p>Decompressors are a classic attack surface: they take <strong>untrusted bytes</strong> and turn them into data structures, and C code that parses complex formats is where memory bugs hide.</p><h3>The bug</h3><p>From the Node.js advisory: an <strong>invalid block switch</strong> in the compressed stream was reported as a temporary <strong>“need more input”</strong> condition instead of a permanent format error. So the streaming decoder <strong>kept appending input bytes to an eight-byte internal buffer</strong>, writing past its end. In weakness terms, it’s an <strong>unchecked return value</strong> (CWE-252) that leads to an <strong>out-of-bounds write</strong> (CWE-787).</p><p>An out-of-bounds write means attacker-controlled bytes land in memory that belongs to something else. Depending on what sits next to the buffer, that can crash the process, leak memory, or, with careful heap shaping, redirect execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sCdqRHUrZBQB4bIJvt4Odw.png" /><figcaption>How it should work vs. what the attacker makes happen (simplified diagram by the author)</figcaption></figure><h3>How an attacker reaches it</h3><p>Three paths are documented:</p><ol><li><strong>Inbound request bodies.</strong> Express 5 and body-parser 2 decompress bodies sent with Content-Encoding: br <strong>by default</strong>, through express.json(), express.urlencoded(), express.text() and express.raw(). Any endpoint that accepts a body, including a public login or contact form, can be a way in.</li><li><strong>Outbound responses.</strong> Node’s built-in fetch() decodes Brotli responses automatically. If your server fetches URLs from a malicious or compromised server (webhooks, link previews, scrapers, proxies), that server can send the poisoned data.</li><li><strong>Direct calls.</strong> Passing untrusted data to zlib.brotliDecompress() or zlib.createBrotliDecompress().</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0l_syjDlVmzS8ymy8Akpng.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>How dangerous is it in practice?</h3><ul><li><strong>Severity:</strong> Google, as the CVE numbering authority, scored it <strong>CVSS 4.0: 9.2</strong>. Node.js rates it <strong>High</strong>, and one report notes the fix commit itself called it hard to exploit.</li><li><strong>Proof:</strong> Imperva demonstrated code execution in the lab on the official Node.js 24.22.0 arm64 image, after multiple attempts. Reliable RCE needs heap shaping, but <strong>crashing the process is easy</strong>, which already makes it a denial-of-service risk.</li><li><strong>Attacks:</strong> honeypots (ELLIO on Oct 26, Previdian on Oct 27) recorded exploitation attempts. CISA added it to KEV on October 27. As of October 29, no confirmed production compromise had been reported.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CBU1te8I4FAA1DkoluQtCw.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><h3>Who found it</h3><p>Node.js credits <strong>OpenAI Codex Security</strong> (Khai Tran and Sylvie Mayer) with reporting the bug, and Matteo Collina and Antoine du Hamel with the fix. Like PHP2Shell, it’s another example of AI-assisted research finding memory bugs in widely shared code.</p><h3>It isn’t only Node.js</h3><p>The bug is in <strong>Google’s Brotli library</strong> (versions 1.0.3–1.0.9, 1.1.0 and 1.2.0 are listed as vulnerable), so anything that bundles it may be affected. Fixed releases include:</p><ul><li><strong>Brotli</strong> 1.0.10, 1.1.1, 1.2.1</li><li><strong>Bun</strong> 1.4.4</li><li><strong>.NET</strong> 8.0.33, 9.0.22, 10.0.14 (and 11 RC3)</li><li>Python <strong>Brotli/brotlicffi</strong>, <strong>Envoy</strong>, <strong>Istio</strong> and <strong>PHP for Windows</strong> also shipped updates</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RJEXV4LzKlLVfESYez4UDw.png" /><figcaption>The official Node.js October 2026 security release notes (source: nodejs.org)</figcaption></figure><h3>What to do</h3><ol><li><strong>Upgrade Node.js</strong> to <strong>22.23.4</strong>, <strong>24.22.1</strong> or <strong>26.12.1</strong>. Node.js 20, 23 and 25 are end-of-life and get no fix, so upgrade to a supported major version.</li><li><strong>Rebuild and redeploy.</strong> Rebuild container images, restart workloads, and check the running version with node -v. Library version strings can be misleading when fixes are backported.</li><li><strong>Stopgap until patched:</strong> reject requests with Content-Encoding: br at your WAF or reverse proxy, or set body-parser’s inflate option to false. Note that this also rejects gzip and deflate bodies, so test client traffic first. Vercel added firewall rules for inbound requests on October 21, but they don’t cover Brotli responses your app fetches.</li><li><strong>Limit server-side fetch()</strong> to trusted destinations.</li><li><strong>Reduce blast radius:</strong> run Node.js as a non-root user and restrict outbound connections.</li><li><strong>Monitor</strong> for repeated worker crashes after requests carrying Content-Encoding: br.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ytpclcviuXytNvX-v2MJQ.png" /><figcaption>Quick action checklist</figcaption></figure><h3>The other nine fixes in the same release</h3><p>The October 21 release fixed 10 CVEs. Three others are rated High: <strong>CVE-2026–105482</strong> (dns.resolve NUL truncation), <strong>CVE-2026-105483</strong> and <strong>CVE-2026-106069</strong> (TLS hostname checks bypassed with unusual IP formats such as fullwidth digits or 0127.0.0.1). One more reason to upgrade, not just block Brotli.</p><h3>Lessons</h3><ul><li><strong>“Our code is safe” isn’t the whole picture.</strong> Runtimes and the C libraries inside them are part of your attack surface.</li><li><strong>Automatic decompression is a feature attackers love.</strong> Know which middleware decodes what, and turn off formats you don’t need.</li><li><strong>Track bundled libraries.</strong> An SBOM tells you which of your products embed Brotli, so one advisory doesn’t turn into a week of searching.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed:</strong> the bug, affected and fixed versions (Node.js advisory), KEV listing (CISA), lab RCE (Imperva), honeypot attempts.</li><li><strong>Not established:</strong> any confirmed compromise of a production system as of October 29.</li><li><strong>Disputed:</strong> real-world severity (Google’s 9.2 vs. Node.js “High” and a fix commit that called it hard to exploit).</li></ul><h3>References</h3><ul><li><a href="https://nodejs.org/en/blog/vulnerability/october-2026-security-releases">Node.js: October 2026 security releases (official)</a></li><li><a href="https://www.nsi-ca.com/network-security/node2shell-remote-code-execution-via-a-brotli-decoder-flaw/">NSI: Node2Shell, remote code execution via a Brotli decoder flaw</a></li><li><a href="https://thehackernews.com/2026/10/nodejs-brotli-decoder-bug-could-allow.html">The Hacker News: Node.js Brotli decoder bug could allow remote code execution</a></li><li><a href="https://www.rescana.com/post/nodejs-cve-2026-111497-node2shell-brotli-rce-october-2026">Rescana: Node.js CVE-2026–111497 (Node2Shell) analysis</a></li><li><a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog">CISA: Known Exploited Vulnerabilities catalog</a></li><li><a href="https://nodejs.org/api/zlib.html">Node.js docs: zlib (Brotli APIs)</a></li></ul><p><em>This article is part of “Black October 2026: The Vulnerabilities”, a 5-part follow-up to the Black October series that explains October 2026’s most critical vulnerabilities for awareness purposes. Facts come from the vendor advisories and researcher reports listed above and are current as of November 2, 2026. Some investigations are ongoing, so details may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b28ffafd623" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fragnesia Explained: The Linux Kernel Bug That Turns a Web Shell Into Root Without Touching the…]]></title>
            <link>https://medium.com/@0xK1L/fragnesia-explained-the-linux-kernel-bug-that-turns-a-web-shell-into-root-without-touching-the-20546e789ff5?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/20546e789ff5</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[linux-kernel]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 20:10:06 GMT</pubDate>
            <atom:updated>2026-11-07T20:10:06.124Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fragnesia Explained: The Linux Kernel Bug That Turns a Web Shell Into Root Without Touching the Disk</h3><h4>CVE-2026–46300 lets a low-privileged user rewrite the in-memory copy of read-only files. Disclosed in May, it was used in October to turn PHP2Shell footholds into root.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4dOyT0sM9ezzdRMo4LYixA.png" /><figcaption>Fragnesia Explained: The Linux Kernel Bug That Turns a Web Shell Into Root Without Touching the Disk</figcaption></figure><blockquote><em>TL;DR: Fragnesia (CVE-2026–46300) is a Linux kernel </em><strong><em>local privilege-escalation</em></strong><em> bug in the IPsec ESP-in-TCP code path. A buffer-merging function drops a flag that marks memory as “shared with a file,” so ESP decrypts </em><strong><em>in place over the kernel’s cached copy of a file</em></strong><em>. A low-privileged user can use that to rewrite read-only files such as </em><em>/etc/pam.d/su in memory and become root, with nothing changed on disk. It was fixed in May 2026, but unpatched systems were exploited in October, chained with PHP2Shell. CISA added it to its KEV catalog on October 28.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GQ5n03kkPh8vTVlLyv0aew.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>Why a “local” bug became an emergency</h3><p>Local privilege-escalation (LPE) bugs are often treated as lower priority, since the attacker first needs to be on the machine. October 2026 showed why that thinking is dangerous: <strong>PHP2Shell</strong> gave attackers that first step (code as nobody) remotely, at scale, and Fragnesia finished the job. Bugs that were “only local” in May became one half of a remote root chain in October.</p><h3>Background: three ideas you need</h3><h4>1. The page cache</h4><p>When Linux reads a file, it keeps a copy in RAM called the <strong>page cache</strong>, so later reads are fast. Every process that reads the file gets the cached copy. If something changes the cached copy, <strong>everyone sees the change</strong> until the cache is dropped or the machine reboots, even though the file on disk is unchanged.</p><h4>2. Zero-copy networking and shared fragments</h4><p>To be fast, the kernel can send file data over the network <strong>without copying it</strong>: the network buffer (an sk_buff) simply points at page-cache pages. Those pieces are marked as <strong>shared fragments</strong> (SKBFL_SHARED_FRAG), meaning: “this memory belongs to someone else, don’t write to it.”</p><h4>3. ESP-in-TCP</h4><p><strong>ESP</strong> is the IPsec protocol that encrypts packets. <strong>ESP-in-TCP</strong> (espintcp) carries ESP over TCP so VPNs work through restrictive networks. When ESP receives data, it decrypts it. If the memory is private, decrypting <strong>in place</strong> is a safe shortcut. If it’s shared, ESP must decrypt into a copy.</p><h3>The bug</h3><p>The kernel function skb_try_coalesce() merges small socket buffers together. Under certain conditions it moves <strong>page-cache-backed fragments into a new buffer without carrying over the </strong><strong>SKBFL_SHARED_FRAG marker</strong>. ESP input processing relies on that marker to decide whether in-place decryption is safe. With the marker gone, ESP decrypts <strong>directly over file-backed pages</strong>. The kernel’s own description of the result: “unintended modification of page-cache-backed data.”</p><p>With careful setup, the attacker controls what bytes end up there, which turns the bug into a <strong>write primitive on the cached copy of any file they can read</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M9B31bdeL1oMHSqKnd-JnQ.png" /><figcaption>How it should work vs. what the attacker makes happen (simplified diagram by the author)</figcaption></figure><h3>From write primitive to root</h3><p>Being able to rewrite the in-memory copy of a read-only file is powerful, because many security decisions are made by reading files. In the October PAN-OS campaign, the attacker rewrote <strong>/etc/pam.d/su</strong>, the PAM rules for su, with a permissive rule. After that, su root asked for no password. Other targets could include setuid binaries or other configuration files.</p><p>Two properties make it stealthy:</p><ul><li><strong>Nothing is written to disk.</strong> Tools that check file hashes on disk see the original file.</li><li><strong>A reboot erases the evidence.</strong> The modified copy exists only in RAM. Responders should capture memory before patching or rebooting.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hx47PRJ26YiQB0Fsw0KmDg.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>Relation to Dirty Pipe and Dirty Frag</h3><p>Fragnesia belongs to a family of bugs where the kernel ends up writing into page-cache pages it should treat as read-only. <strong>Dirty Pipe</strong> (2022) did it through pipes. <strong>Dirty Frag</strong> was an earlier bug in the same ESP/XFRM area. Fragnesia is a <strong>separate flaw</strong>: the Dirty Frag patch does <strong>not</strong> fix it, so systems patched for Dirty Frag may still be vulnerable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zu-FbsVkGDjZQscVbjl9vg.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><h3>Affected and fixed versions</h3><p>The bug affects mainline and stable kernels from <strong>3.9</strong> up to the fix (mainline through 7.1-rc4). First fixed upstream stable releases:</p><ul><li>5.10.257 · 5.15.208 · 6.1.174 · 6.6.141 · 6.12.91 · 6.18.33 · 7.0.10 · mainline 7.1</li></ul><p>Distributions shipped fixes in their own kernel packages (Ubuntu 22.04/24.04, Debian 12/13, RHEL 8/9/10, SUSE, Amazon Linux). RHEL 6 and 7 are not affected, and Ubuntu 18.04 and 20.04 aren’t affected in practice because they predate espintcp. Always check your distribution’s advisory for the exact package version. Appliance vendors (like firewall makers) ship their own kernels, so follow their advisories too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sIEdW_PFMvUPGUG9SOgecg.png" /><figcaption>CISA’s alert adding Fragnesia to the Known Exploited Vulnerabilities catalog (source: cisa.gov)</figcaption></figure><h3>Detection</h3><p>There’s no clean network signature. The reliable signals are behavioral:</p><ul><li>A <strong>web-server account</strong> (nobody, www-data, apache, nginx) running su, sudo, pkexec or newgrp. That should almost never happen.</li><li>The espintcp, esp4 or esp6 modules loading on hosts that don’t use IPsec. An auditd watch on modprobe helps here.</li></ul><h3>Mitigation</h3><ol><li><strong>Install the fixed kernel and reboot</strong>, or use live patching where your platform supports it. This is the real fix.</li><li><strong>Capture memory first</strong> on any host you suspect was compromised.</li><li><strong>Stopgap, only where IPsec isn’t used:</strong> block the ESP modules via modprobe.d (pointing esp4 and esp6 to /bin/false), rebuild the initramfs and unload them. This breaks IPsec VPNs on that host.</li><li><strong>Alternative where IPsec is needed:</strong> setting user.max_user_namespaces=0 is suggested as a mitigation, but it can break rootless containers, sandboxed browsers and Flatpak. Test first.</li><li><strong>Patch the way in, too.</strong> Fragnesia needs local code execution, so fixing remote bugs like PHP2Shell breaks the chain.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z8mchjK-9EYU08If3m96kw.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons</h3><ul><li><strong>Kernel patches can’t wait for “someday.”</strong> The fix existed for five months before it was exploited in the wild.</li><li><strong>Integrity monitoring must include memory.</strong> Disk-only checks miss page-cache attacks.</li><li><strong>Reduce attack surface:</strong> don’t load kernel modules you don’t need. A web server that never uses IPsec doesn’t need ESP.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed:</strong> the bug, affected and fixed versions, the KEV listing on October 28 and CISA’s note about chaining with PHP2Shell.</li><li><strong>Reported by Dream Research:</strong> the specific use against /etc/pam.d/su on PAN-OS firewalls.</li><li><strong>Not established:</strong> how widely Fragnesia has been exploited outside that campaign.</li></ul><h3>References</h3><ul><li><a href="https://nvd.nist.gov/vuln/detail/CVE-2026-46300">NVD: CVE-2026–46300</a></li><li><a href="https://www.openwall.com/lists/oss-security/2026/05/13/5">oss-security: Fragnesia disclosure (May 13, 2026)</a></li><li><a href="https://git.kernel.org/stable/c/f84eca5817390257cef78013d0112481c503b4a3">Linux stable: fix commit f84eca58</a></li><li><a href="https://www.cisa.gov/news-events/alerts/2026/10/28/cisa-adds-two-known-exploited-vulnerabilities-catalog">CISA: CISA adds two known exploited vulnerabilities to catalog (Oct 28, 2026)</a></li><li><a href="https://access.redhat.com/security/cve/CVE-2026-46300">Red Hat: CVE-2026–46300</a></li><li><a href="https://dreamgroup.com/blog/chained-php2shell-exploit-roots-25-servers">Dream Research: Chained PHP2Shell exploit roots 25 servers</a></li><li><a href="https://cipherssecurity.com/linux-fragnesia-cve-2026-46300/">Ciphers Security: Fragnesia CVE-2026–46300, patch, check, detect</a></li></ul><p><em>This article is part of “Black October 2026: The Vulnerabilities”, a 5-part follow-up to the Black October series that explains October 2026’s most critical vulnerabilities for awareness purposes. Facts come from the vendor advisories and researcher reports listed above and are current as of November 2, 2026. Some investigations are ongoing, so details may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20546e789ff5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From One Web Request to Root: How Attackers Chained PHP2Shell and Fragnesia Against Palo Alto…]]></title>
            <link>https://medium.com/@0xK1L/from-one-web-request-to-root-how-attackers-chained-php2shell-and-fragnesia-against-palo-alto-77825348eb0a?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/77825348eb0a</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[palo-alto-networks]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 20:08:45 GMT</pubDate>
            <atom:updated>2026-11-07T20:08:45.602Z</atom:updated>
            <content:encoded><![CDATA[<h3>From One Web Request to Root: How Attackers Chained PHP2Shell and Fragnesia Against Palo Alto Firewalls</h3><h4>A detailed walk-through of the October 2026 campaign: a PHP bug for the way in, a Linux kernel bug for root, then a tunnel into the internal network and Active Directory.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yw-CeL4pxBaiX15t3FwnVg.png" /><figcaption>From One Web Request to Root: How Attackers Chained PHP2Shell and Fragnesia Against Palo Alto Firewalls</figcaption></figure><blockquote><em>TL;DR: In late October 2026, an attacker combined two bugs into one chain. </em><strong><em>PHP2Shell</em></strong><em> (CVE-2026–109618 / CVE-2026–109619) gave unauthenticated code execution on Palo Alto Networks firewalls whose </em><strong><em>PAN-OS management interface was exposed to the internet</em></strong><em>. </em><strong><em>Fragnesia</em></strong><em> (CVE-2026–46300), a Linux kernel bug, turned that low-privileged access into </em><strong><em>root</em></strong><em>. Dream Research reports 25 servers rooted across the US, Japan, Taiwan and South Korea, including a government-affiliated network where the attacker tunneled inside and went after Active Directory. Unit 42 says it independently verified the attacker’s tooling and results.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8VAG8qLCMOwoMeufYB3SUQ.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>Why this story matters</h3><p>In part 9 of this series we explained <strong>PHP2Shell</strong>: decades-old memory bugs in PHP’s core that let a crafted request run code on a web server. A common reaction was “we’re fine, the web server runs as an unprivileged user.” This campaign answers that. On its own, PHP2Shell gave the attacker only the web server’s limited account. Chained with a <strong>kernel privilege-escalation</strong> bug, it gave full control of security appliances that sit at the edge of real networks.</p><p>It is also a lesson about <strong>where PHP hides</strong>. Many people don’t think of a firewall as a “PHP server,” but PAN-OS’s management web UI runs on PHP (8.0.30 on the targeted 12.1 and 12.2 branches, per Dream).</p><h3>Step 1: Finding targets</h3><p>Dream Research recovered the attacker’s target funnel:</p><ul><li>About <strong>19,000</strong> internet-facing firewalls identified through <strong>FOFA</strong>, an internet scanning search engine.</li><li>About <strong>5,000</strong> responded to version scanning.</li><li><strong>240</strong> matched the attacker’s filters: located in the US, Japan, Taiwan or South Korea, and running the targeted PAN-OS versions.</li><li><strong>24</strong> were rooted in the automated batch.</li></ul><p>Unit 42 puts the impact at about <strong>0.02% of Palo Alto Networks’ installed base</strong>, all with management interfaces exposed to the internet. Those customers were contacted individually.</p><h3>Step 2: PHP2Shell, the way in</h3><p>Dream describes the exploit only at a conceptual level (no payloads or offsets, on purpose):</p><ol><li><strong>Unauthenticated HTTPS requests</strong> abuse PHP’s session.upload_progress handling to apply memory pressure and force a predictable memory layout.</li><li>An <strong>information leak</strong> reveals a library’s base address through a response header. That defeats ASLR, the memory randomization that normally makes exploits unreliable.</li><li>During PHP’s request cleanup, the corrupted state leads to <strong>a system command being run</strong>.</li></ol><p>The result: code execution as the nobody user, inside SELinux’s httpd_t confinement. That’s exactly the “limited” foothold defenders count on, and the attacker treated it as step one of two.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jFiRCh6sw3eT1RvSR67igQ.png" /><figcaption>How it should work vs. what the attacker makes happen (simplified diagram by the author)</figcaption></figure><h3>Step 3: Fragnesia, from nobody to root</h3><p><strong>Fragnesia</strong> is a Linux kernel bug in the IPsec ESP-in-TCP code path. It lets a local, low-privileged process <strong>modify the in-memory (page cache) copy of a file it can only read</strong>. Part 2 of this mini-series explains the mechanism in detail. Here’s how the attacker used it:</p><ul><li>The target file was /etc/pam.d/su, the PAM configuration that decides who may use su.</li><li>Fragnesia overwrote its cached contents with a <strong>permissive PAM rule</strong>, so su root no longer asked for a password.</li><li>The change lived <strong>only in memory</strong>. The file on disk was untouched, so disk-based integrity checks see nothing, and a reboot erases the evidence.</li></ul><p>Dream reports the whole chain, from first request to root, took <strong>under 15 minutes</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C1m0nkY6AinMKVp7uzeKkA.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>Step 4: Webshells and “parked” firewalls</h3><p>In the automated batch, five targets at a time with a 30-minute timeout each, the attacker’s scripts ran the chain, planted a <strong>103-byte webshell</strong> at /unauth/php/change_password.php (a publicly reachable path), confirmed root with id, and logged the hostname and IP to a success file. <strong>22 firewalls were left “parked”</strong>: compromised, with a webshell, but with no further persistence. That looks like inventory for later use.</p><h3>Step 5: Through the firewall into the network</h3><p>One firewall belonged to a government-affiliated organization. There, the attacker went further:</p><ul><li>A <strong>reverse SSH tunnel</strong> using the tunneling tool <strong>iox</strong>, with <strong>8 forwarded ports</strong>: domain controllers over LDAP, LDAPS and RDP, the firewall management server, GlobalProtect infrastructure and a SOCKS5 proxy.</li><li>Persistence for the tunnel through a <strong>systemd service</strong> and an <strong>rc.local</strong> boot hook, with scripts under /usr/local/lib/.panops/.</li><li>Less than <strong>90 minutes</strong> after rooting that firewall, the internal <strong>firewall management server</strong> was rooted with the same chain. That server held all managed firewall configurations and credentials.</li></ul><h4>Going after Active Directory</h4><p>On the management server, Dream confirmed that the attacker:</p><ul><li><strong>Decrypted an LDAP service-account password</strong> using root access to the device master key, and hardcoded it into scripts.</li><li><strong>Enumerated all AD users and groups</strong> over LDAP.</li></ul><p>Dream also found evidence of <strong>attempts</strong> whose results are unknown: password spraying (the domain had no lockout threshold), creating backdoor user and machine accounts by abusing MachineAccountQuota, ACL analysis, and probing Keycloak SSO. Recovered artifacts included private keys (HA replication, TLS, device authentication) and a SAML configuration with IdP certificate validation turned off.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*38C2mRK54cjWxvkpsVBczQ.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><h3>Who did it, and the AI question</h3><p>Dream does not name a group. Its indicators point to a <strong>Chinese-speaking operator</strong> with moderate confidence: targeting of the US, Japan, Taiwan and South Korea only, FOFA and iox, Chinese LLMs (DeepSeek, Kimi) configured in an AI offensive platform called aiscan, UTC+8 timestamps, and Chinese-language prompts. Dream also found <strong>Claude Code installed on attacker infrastructure</strong> and about 40 scripts with a consistent AI-assisted style, but says it has <strong>no direct evidence that AI wrote the exploit</strong>, and that the operation was not fully autonomous. Unit 42’s brief does not name an actor either.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VDHE8hfTqGsdUhQPbsYyNQ.png" /><figcaption>Dream Research’s report on the chained campaign (source: dreamgroup.com)</figcaption></figure><h3>What defenders should do</h3><ol><li><strong>Remove internet exposure</strong> of PAN-OS management interfaces (and every other appliance’s admin UI). Restrict access to trusted internal IPs. This single step would have stopped the whole campaign.</li><li><strong>Patch PAN-OS</strong> to the fixed build for your branch. Fixed builds rolled out in late October (reports cite builds such as 12.2.4-h1 and 12.1.7-h11). Always confirm against Palo Alto’s live advisory.</li><li><strong>Hunt</strong> for the webshell path, unexpected services or boot hooks, files under /usr/local/lib/.panops/, and unexplained reverse SSH sessions. On Linux hosts generally, alert when a web-server account runs su, sudo or pkexec.</li><li><strong>If you were exposed, assume compromise</strong> of the firewall and its management server. Rotate the LDAP service account, any accounts that could have been sprayed, secrets in device configs, and the HA, TLS and device-authentication keys.</li><li><strong>Harden Active Directory:</strong> set an account lockout threshold, set MachineAccountQuota to 0, review ACLs, and turn on SAML IdP certificate validation.</li><li><strong>Capture memory before rebooting</strong> a suspected host. Fragnesia’s change lives in memory, and the reboot is what erases the evidence.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*orcMmrBQhNYXpHBqv9SrsQ.png" /><figcaption>Unit 42 threat brief on PHP2Shell and PAN-OS (source: unit42.paloaltonetworks.com)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jMVAYZC2SBzLYdxfDmT73Q.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons</h3><ul><li><strong>“Low privilege” isn’t a security boundary on its own.</strong> Assume any foothold can be combined with a kernel bug. Patch kernels as seriously as you patch applications.</li><li><strong>Security appliances are high-value targets.</strong> They sit between the internet and your directory services, and they hold credentials. Their management planes must never face the internet.</li><li><strong>Exploitation is getting faster.</strong> From PHP’s public fix (Oct 21) to rooted firewalls (Oct 23) took two days.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed:</strong> the chain against exposed PAN-OS management interfaces (Dream, verified by Unit 42); Fragnesia’s KEV listing noting the PHP2Shell chain (CISA); about 0.02% of the installed base impacted (Unit 42).</li><li><strong>Reported by Dream:</strong> the 25-server count, the post-exploitation details and AD activity. Some AD actions’ outcomes are unknown.</li><li><strong>Not established:</strong> attribution to a named group, and whether AI tools wrote the exploit.</li></ul><h3>References</h3><ul><li><a href="https://dreamgroup.com/blog/chained-php2shell-exploit-roots-25-servers">Dream Research: Chained PHP2Shell exploit roots 25 servers</a></li><li><a href="https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/">Unit 42 (Palo Alto Networks): Threat brief, PHP2Shell CVE-2026–109618 / CVE-2026–109619</a></li><li><a href="https://security.paloaltonetworks.com/CVE-2026-109618">Palo Alto Networks security advisory: CVE-2026–109618 in PAN-OS</a></li><li><a href="https://www.cisa.gov/news-events/alerts/2026/10/28/cisa-adds-two-known-exploited-vulnerabilities-catalog">CISA: CISA adds two known exploited vulnerabilities to catalog (Oct 28, 2026)</a></li><li><a href="https://www.csoonline.com/article/4242454/php2shell-plus-fragnesia-a-dangerous-new-route-from-web-server-to-root.html">CSO Online: PHP2Shell plus Fragnesia, a dangerous new route from web server to root</a></li><li><a href="https://www.helpnetsecurity.com/2026/10/22/php2shell-vulnerability-fortinet-cisco-palo-alto-networks/">Help Net Security: What PHP2Shell means for Fortinet, Cisco and Palo Alto customers</a></li><li><a href="https://medium.com/@0xK1L">Black October part 9: PHP2Shell explained (this series)</a></li></ul><p><em>This article is part of “Black October 2026: The Vulnerabilities”, a 5-part follow-up to the Black October series that explains October 2026’s most critical vulnerabilities for awareness purposes. Facts come from the vendor advisories and researcher reports listed above and are current as of November 2, 2026. Some investigations are ongoing, so details may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77825348eb0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The $6.3 Billion Binance Hack: What We Know About the Largest Crypto Theft on Record]]></title>
            <link>https://medium.com/@0xK1L/the-6-3-billion-binance-hack-what-we-know-about-the-largest-crypto-theft-on-record-77ae553cb632?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/77ae553cb632</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[binance]]></category>
            <category><![CDATA[north-korea]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 18:40:46 GMT</pubDate>
            <atom:updated>2026-11-06T18:40:46.326Z</atom:updated>
            <content:encoded><![CDATA[<h4>Black October 2026, part 15: Binance links the theft to a compromised DevOps engineer’s laptop. On-chain analysts attribute it to North Korea’s TraderTraitor and trace funds across ten blockchains.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCY5SqgClEa9RIcdHAI0oQ.png" /><figcaption>The $6.3 Billion Binance Hack: What We Know About the Largest Crypto Theft on Record</figcaption></figure><blockquote><em>TL;DR: On October 29, 2026, starting at 20:05 UTC, about </em><strong><em>$6.3 billion</em></strong><em> left Binance hot wallets across </em><strong><em>ten blockchains</em></strong><em>, mostly within about 20 minutes. It is the largest crypto theft on record, roughly four times the $1.5 billion Bybit hack of 2025. Binance’s preliminary findings point to a </em><strong><em>compromised DevOps engineer’s laptop</em></strong><em> that gave the attacker a path to a service container, from which unauthorized withdrawals were submitted. Binance found </em><strong><em>no evidence that wallet private keys leaked</em></strong><em> and says it will cover all losses. TRM Labs and Chainalysis attribute the attack to </em><strong><em>North Korea’s TraderTraitor</em></strong><em> unit.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9K_rENz5DXUrZ9YUttF_Dw.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>Background: hot wallets and signing systems</h3><p>Exchanges keep most funds in <strong>cold storage</strong> (offline), and a working balance in <strong>hot wallets</strong> so withdrawals can be processed quickly. Hot wallets are controlled by a <strong>signing system</strong>: internal services decide which withdrawals are legitimate and ask the signer to sign them.</p><p>This matters for understanding the attack. To steal from a hot wallet you don’t necessarily need the private key. You can also <strong>get the signing system to sign your transactions</strong>. That’s what both Binance’s statement and TRM’s analysis point to.</p><h3>What Binance has said</h3><ul><li>Its initial investigation suggests an attacker <strong>compromised a DevOps engineer’s laptop</strong>, reached a <strong>service container</strong>, and <strong>submitted unauthorized withdrawal transactions</strong>.</li><li>Co-CEO Richard Teng said the attack was <strong>multi-step</strong>: “the attacker did not simply use one engineer’s permissions, and this was not a single ‘one-click’ action.”</li><li>Binance found <strong>no evidence of a wallet private-key leak</strong>, later said it had <strong>uncovered additional points of breach</strong>, and is still tracing the full attack path.</li><li>It estimated total impact at about <strong>$6.3 billion</strong>, suspended deposits and withdrawals, revoked the affected address authorization, and engaged law enforcement and blockchain-intelligence partners.</li><li>It says it will <strong>cover all losses</strong> from the <strong>SAFU fund</strong> (its emergency insurance fund) and company funds, and will publish an updated Proof of Reserves after remediation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_66ndrdDZlltsg8-DKIJg.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>What the blockchain shows (TRM Labs)</h3><p>Blockchains are public, so analysts could reconstruct the theft minute by minute.</p><h4>Careful preparation</h4><p>On October 28, three <strong>Tornado Cash</strong> withdrawals funded the attacker’s operator wallet. On October 29, the operator deployed and tested the attack code on two wallets, rehearsed the final version on a third, and installed it on a Binance hot wallet about four hours before the theft.</p><h4>The 20-minute burst</h4><ul><li><strong>20:05–20:09:</strong> five Binance XRP Ledger wallets sent <strong>233.46M XRP</strong> to one attacker address.</li><li><strong>20:20:</strong> a Bitcoin hot wallet sent <strong>18,270 BTC</strong>, and the operator submitted an Ethereum transaction carrying <strong>50 EIP-7702 authorizations</strong>.</li><li><strong>~20:23:</strong> the entire Ethereum hot wallet balance was swept: 167,464 ETH and 63 tokens, including 1.615B USDT.</li><li><strong>Within two minutes of 20:20:</strong> a Tron hot wallet sent 612.7M USDT and 46.4M TRX.</li><li>More sweeps followed on Ethereum until 23:56, and a second wave hit Avalanche and Polygon at 23:05.</li></ul><h4>What is EIP-7702, and why 50 authorizations?</h4><p><strong>EIP-7702</strong>, introduced in Ethereum’s Pectra upgrade, lets a normal wallet <strong>delegate its behavior to a smart contract</strong> by signing an authorization. The attacker had Binance’s hot wallet sign <strong>50 authorizations</strong> pointing to a <strong>sweeper contract</strong> only the attacker controlled. Each was prepared for a different nonce (the wallet’s transaction counter), so that <strong>at least one would be valid</strong> at execution time no matter how many legitimate transactions the wallet sent in between. Once one was accepted, the contract could empty the wallet.</p><p>On the other nine chains, Binance wallets sent funds through ordinary signed transfers. TRM’s assessment: the attacker <strong>likely gained the ability to make Binance’s hot-wallet signing system sign transactions across chains</strong>. That fits Binance’s “no private-key leak” statement: the keys stayed put, but the system that uses them was told to sign.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ihdFlBcqPaAhGoGnXG8mDA.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><h3>Freezes and laundering</h3><p>As of October 30, 00:30 UTC, TRM counted about <strong>$2.7 billion frozen</strong> (Binance put the figure at roughly $3 billion):</p><ul><li><strong>Tether:</strong> ~1.77B USDT · <strong>Circle:</strong> ~825M USDC · <strong>Ripple:</strong> 40.5M RLUSD · <strong>World Liberty Financial:</strong> 27.8M USD1</li><li><strong>Arbitrum Security Council:</strong> 8,426 ETH and 74.6M ARB (~$30M), forced out of an attacker wallet</li></ul><p>Stablecoins can be frozen by their issuers. ETH and BTC cannot, which is why the attacker <strong>raced to convert stablecoins</strong>: about 325M USDT was dumped for ETH at a <strong>discount of more than 10%</strong>, and lending protocols (Aave, JustLend) were used to turn frozen-risk assets into borrowable ETH. The 18,270 BTC was split in a <strong>peel chain</strong> into 1,000 and 100 BTC chunks. The attacker still controls about <strong>$2.4 billion</strong> beyond issuers’ reach, including more than 420,000 ETH.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6O0zsXMKMly3KW7HlKoIOQ.png" /><figcaption>TRM Labs’ on-chain analysis of the Binance theft (source: trmlabs.com)</figcaption></figure><h3>Who did it?</h3><p><strong>Binance has not attributed the attack.</strong> TRM Labs attributes it <strong>with high confidence</strong> to <strong>TraderTraitor</strong>, a North Korean state-backed unit associated with the Lazarus Group umbrella (the FBI named the same group for the 2025 Bybit hack), and Chainalysis confirmed this “with a high degree of confidence.” Shared hallmarks include Tornado Cash funding, staging well before the theft, and signatures obtained in advance and executed in one burst.</p><p>TraderTraitor is known for targeting <strong>employees</strong> of crypto companies, often through fake job offers, poisoned coding tests and malicious software, to get onto developer and DevOps machines. Binance hasn’t said how its engineer’s laptop was compromised, so that link remains an inference, not a fact.</p><h3>What Binance users should do</h3><ol><li><strong>Don’t panic.</strong> Binance says user funds are safe and losses will be covered from SAFU and company funds.</li><li><strong>Beware of follow-up scams.</strong> Fake “refund portals,” “claim your compensation” sites and “recovery services” always appear after big hacks.</li><li><strong>Use only official channels</strong> and check URLs carefully.</li><li><strong>Harden your account:</strong> passkeys or hardware keys, withdrawal allowlisting, anti-phishing codes.</li><li><strong>Consider self-custody</strong> for funds you aren’t actively trading.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KRCZ5RXtoeKPadSXczKwSg.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons for organizations</h3><ul><li><strong>Privileged laptops are crown jewels.</strong> DevOps and engineering machines with paths to production need hardened, monitored, dedicated devices, and ideally separate admin workstations.</li><li><strong>Protecting keys isn’t enough. Protect the signer’s inputs.</strong> If any internal service can ask the signer to sign, that service is effectively the key. Use independent policy checks, velocity limits and multi-party approval for large or unusual withdrawals.</li><li><strong>Watch for new primitives.</strong> EIP-7702 delegations from a hot wallet should be blocked or require exceptional approval.</li><li><strong>Speed of response matters.</strong> Issuers and protocols froze billions within hours. Pre-established relationships with them are part of incident response.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed by Binance:</strong> compromised DevOps laptop, service container, unauthorized withdrawals, no evidence of private-key leak, ~$6.3B impact, losses covered by SAFU and company funds.</li><li><strong>Confirmed on-chain (TRM):</strong> timeline, chains, amounts, EIP-7702 technique, frozen amounts and laundering flows.</li><li><strong>Attribution:</strong> North Korea / TraderTraitor according to TRM Labs and Chainalysis; not stated by Binance.</li><li><strong>Not disclosed:</strong> how the laptop was compromised, how the container was reached, and which controls failed.</li></ul><h3>References</h3><ul><li><a href="https://x.com/binance/status/2115993361517891592">Binance: statement on SAFU coverage (X)</a></li><li><a href="https://x.com/binance/status/2116089661408108712">Binance: update on additional points of breach (X)</a></li><li><a href="https://x.com/_RichardTeng/status/2116072080525656150">Richard Teng (Binance co-CEO): statement (X)</a></li><li><a href="https://www.trmlabs.com/resources/blog/north-korea-steals-usd-6-36-billion-from-binance-in-the-largest-hack-in-history">TRM Labs: North Korea steals USD 6.36 billion from Binance in the largest hack in history</a></li><li><a href="https://www.bleepingcomputer.com/news/security/binance-links-63-billion-crypto-theft-to-compromised-devops-laptop/">BleepingComputer: Binance links $6.3 billion crypto theft to compromised DevOps laptop</a></li><li><a href="https://www.wypr.org/2026-10-30/binance-flags-potential-security-issue-says-approximately-6-3-billion-impacted">NPR (via WYPR): Binance flags potential security issue, says approximately $6.3 billion impacted</a></li><li><a href="https://eips.ethereum.org/EIPS/eip-7702">Ethereum: EIP-7702, set code for EOAs</a></li></ul><p><em>This article is part of the “Black October 2026” series: 15 articles, each explaining one security incident from October 2026 for awareness purposes. Facts come from the official statements and researcher reports listed above and are current as of November 2, 2026. Some investigations are still ongoing, so details and numbers may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77ae553cb632" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Polymarket Script Attack: How a Hijacked Third-Party Script Drained Traders in Under an Hour]]></title>
            <link>https://medium.com/@0xK1L/the-polymarket-script-attack-how-a-hijacked-third-party-script-drained-traders-in-under-an-hour-7e952cdf542f?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e952cdf542f</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[supply-chain-security]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 18:39:23 GMT</pubDate>
            <atom:updated>2026-11-06T18:39:23.494Z</atom:updated>
            <content:encoded><![CDATA[<h4>Black October 2026, part 14: a tampered monitoring script loaded on Polymarket’s site used traders’ own logged-in sessions to sell positions and move funds. About $2.7M was taken from 726 wallets.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ddZniDFj1378_pQOnxuLcg.png" /><figcaption>The Polymarket Script Attack: How a Hijacked Third-Party Script Drained Traders in Under an Hour</figcaption></figure><blockquote><em>TL;DR: On October 29, 2026, a </em><strong><em>tampered third-party JavaScript file</em></strong><em> ran on Polymarket’s international site. It used traders’ </em><strong><em>already logged-in sessions</em></strong><em> to sell their positions or move their funds to attacker wallets, taking about </em><strong><em>$2.7 million from 726 wallets</em></strong><em> in roughly an hour. Polymarket removed the script, paused trading, and announced </em><strong><em>$3.9 million</em></strong><em> in total compensation. The vendor, identified by Reuters and Hudson Rock as </em><strong><em>DebugBear</em></strong><em>, says its DNS records were hijacked through its domain registrar.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dmzOsVGB04xmeqEH3U6hMA.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>What is Polymarket, and what is DebugBear?</h3><p><strong>Polymarket</strong> is a prediction market: users trade “yes/no” shares on real-world outcomes, and positions are settled in crypto. When you’re logged in, the web app can place trades and move funds on your behalf, within the permissions of your session.</p><p><strong>DebugBear</strong> is a website performance-monitoring service. Sites add its small JavaScript snippet so it can measure real users’ page load times. That’s called <strong>real-user monitoring (RUM)</strong>, and thousands of sites use tools like it.</p><h3>The core problem: third-party scripts run as you</h3><p>When a website includes a script from another domain, that script runs <strong>with the same power as the site’s own code</strong>. It can read the page, call the site’s APIs and act on behalf of the logged-in user. Browsers don’t sandbox it just because it came from somewhere else.</p><p>So the security of the site depends on <strong>every domain it loads scripts from</strong>. If an attacker controls any one of them, they control the page.</p><h3>What happened</h3><ul><li>Researchers reported that on October 29, <strong>a different server began answering for DebugBear’s web addresses</strong>, serving a tampered copy of the script.</li><li>DebugBear later said its <strong>DNS records were compromised through its domain registrar</strong>, that early findings show <strong>a single customer was targeted</strong>, and that it found no sign its internal systems were compromised. How the attackers got registrar-level access is still being investigated.</li><li>On Polymarket’s site, the tampered script <strong>targeted logged-in traders</strong>, checked their portfolios, and either <strong>sold their positions</strong> or <strong>moved assets to attacker wallets</strong>.</li><li>Hudson Rock saw <strong>no evidence that passwords, seed phrases or private keys were sent out</strong>. The script didn’t need them: it used the <strong>trading permissions of the open session</strong>.</li><li>Polymarket switched the exchange to <strong>cancel-only mode</strong>, paused relayer actions, removed the provider <strong>within the hour</strong>, cleared caches and reset sessions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vPaaF0W3y0Mj56AHk4galA.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>Why DNS hijacking is so effective here</h3><p>A script tag like &lt;script src=&quot;https://cdn.vendor.example/rum.js&quot;&gt; trusts whatever server the <strong>domain name</strong> resolves to. Nobody changed Polymarket’s code, and DebugBear says nobody got into its servers. The attacker only had to change <strong>where the vendor’s name pointed</strong>. Every page that loaded the script then fetched it from the attacker.</p><p>That’s why this kind of attack is so hard to spot from the website’s side: the HTML is unchanged, the URL is unchanged, and the vendor is legitimate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VyBrkLSoOZAdKJEQlf77Xg.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><h3>The numbers</h3><ul><li><strong>Stolen:</strong> about <strong>$2.7 million</strong> from <strong>726 wallets</strong> (estimates in coverage range from $2.5M to $2.73M).</li><li><strong>Compensation:</strong> Polymarket announced <strong>$3.9 million</strong> in total: about $2.7M tied to the attack and about <strong>$1.2M for losses caused by the trading halt</strong> and sold or transferred positions, paid to roughly 5,500 wallets. By October 30, all but 37 affected wallets had been made whole.</li><li>This was Polymarket’s <strong>second third-party script incident of 2026</strong>. A similar vendor compromise in June led to a theft reported at around $3 million.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NfAlXRkr9_-pVkOrMuhhlQ.png" /><figcaption>Hudson Rock’s research on the wallet-draining script (source: infostealers.com)</figcaption></figure><h3>What users can take from this</h3><ul><li><strong>A logged-in session is a key.</strong> Log out of trading and crypto platforms when you’re not using them.</li><li><strong>Review active sessions</strong> and connected apps on financial platforms.</li><li><strong>Keep most funds in a wallet that needs your explicit approval</strong> for each transaction, not in a session that can trade or withdraw automatically.</li><li>After any incident announcement, <strong>check your activity history</strong> and contact support through official channels.</li></ul><h3>What website owners should do</h3><ol><li><strong>Inventory every third-party script</strong> on sensitive pages. If it isn’t essential there, remove it. Monitoring scripts rarely need to run on pages that move money.</li><li><strong>Self-host or pin versions</strong> where possible, and use <strong>Subresource Integrity (SRI)</strong> hashes so the browser refuses a script whose contents changed. (SRI doesn’t suit scripts a vendor updates constantly, which is a reason to self-host critical ones.)</li><li><strong>Use a strict Content Security Policy</strong> that limits which domains can serve scripts and where pages can send data.</li><li><strong>Sandbox third parties</strong> in iframes or web workers when they don’t need the main page.</li><li><strong>Monitor scripts continuously</strong> for content changes and unexpected network calls. Polymarket says it will add stronger CSPs, pinned script versions, sandboxing and continuous monitoring.</li><li><strong>For vendors:</strong> lock your domain at the registrar (registry lock), use strong MFA on registrar accounts, and monitor DNS for changes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3mPdWWSibQooQpzvtXJvwg.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed by Polymarket:</strong> a compromised third-party provider, removal within the hour, 726 affected wallets, $3.9M compensation.</li><li><strong>Confirmed by DebugBear:</strong> DNS records compromised via its domain registrar, with one customer apparently targeted.</li><li><strong>Not confirmed by Polymarket:</strong> the vendor’s name (DebugBear was identified by Reuters and Hudson Rock). <strong>Not yet explained:</strong> how registrar access was obtained.</li></ul><h3>References</h3><ul><li><a href="https://x.com/Poly_Status/status/2115867993049620977">Polymarket status: statement on X</a></li><li><a href="https://x.com/PolymarketTrade/status/2116177566553764137">Polymarket: October 30 update on X</a></li><li><a href="https://x.com/DebugBear/status/2116306975403250070">DebugBear: statement on X</a></li><li><a href="https://www.infostealers.com/article/polymarket-breach-alert-wallet-draining-code-found-in-a-third-party-script/">Hudson Rock (Infostealers.com): wallet-draining code found in a third-party script</a></li><li><a href="https://www.securityweek.com/polymarket-returns-3-9-million-to-traders-as-debugbear-cites-dns-hijack/">SecurityWeek: Polymarket returns $3.9 million to traders as DebugBear cites DNS hijack</a></li><li><a href="https://therecord.media/polymarket-returning-funds-to-customers-after-site-compromise">The Record: Polymarket pledges to give $3.9 million back to victims after site compromise</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity">MDN: Subresource Integrity (SRI)</a></li></ul><p><em>This article is part of the “Black October 2026” series: 15 articles, each explaining one security incident from October 2026 for awareness purposes. Facts come from the official statements and researcher reports listed above and are current as of November 2, 2026. Some investigations are still ongoing, so details and numbers may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e952cdf542f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Trojanized “Claude Code” Extension in Cursor’s Marketplace: How an SSH Backdoor Shipped as an…]]></title>
            <link>https://medium.com/@0xK1L/a-trojanized-claude-code-extension-in-cursors-marketplace-how-an-ssh-backdoor-shipped-as-an-dcad273e2f6b?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcad273e2f6b</guid>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[supply-chain-security]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 18:37:59 GMT</pubDate>
            <atom:updated>2026-11-06T18:37:59.051Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Trojanized “Claude Code” Extension in Cursor’s Marketplace: How an SSH Backdoor Shipped as an Update</h3><h4>Black October 2026, part 13: for about 11 hours, Cursor’s extension marketplace served tampered versions of the Claude Code extension that tried to plant an SSH key and open a reverse tunnel.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NfYMK-JktDcGJ2LNn88zvA.png" /><figcaption>A Trojanized “Claude Code” Extension in Cursor’s Marketplace: How an SSH Backdoor Shipped as an Update</figcaption></figure><blockquote><em>TL;DR: On October 29, 2026, for roughly 11 hours, Cursor’s VS Code extension marketplace served tampered versions (</em><strong><em>2.1.312 and 2.1.313</em></strong><em>) of the </em><strong><em>anthropic.claude-code</em></strong><em> extension. Anthropic didn’t build them, and Anthropic’s own channels (the Visual Studio Marketplace and npm) were not affected. A hidden loader collected host details and tried to install a </em><strong><em>persistent SSH backdoor</em></strong><em>: an attacker key in </em><em>authorized_keys plus a reverse SSH tunnel. Cursor estimates at most 5,000 users received it.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pwlcusK6YBfpj8Zy6Nbayg.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>Background: why extensions are a perfect delivery vehicle</h3><p><strong>Cursor</strong> is an AI code editor built on VS Code. Like VS Code, it installs extensions from a marketplace, and many users have <strong>automatic updates</strong> turned on. An extension runs with <strong>your user permissions</strong>: it can read your files, start processes and make network connections.</p><p>So if an attacker can get a malicious update into a marketplace under a <strong>trusted name</strong>, it reaches developers’ machines automatically, with no phishing, no clicking and no warning. This incident is exactly that scenario. It sits on Cursor’s marketplace side: Microsoft confirmed the malicious version was never published on the Visual Studio Marketplace or through npm.</p><h3>What happened</h3><ul><li>Between about <strong>2:27 AM and 1:35 PM PT on October 29</strong>, modified versions <strong>2.1.312 and 2.1.313</strong> of anthropic.claude-code for <strong>macOS and Windows</strong> were available in Cursor’s marketplace.</li><li>Cursor says the extension <strong>was not developed by Anthropic</strong>. Anthropic said its systems weren’t compromised.</li><li>Cursor estimates the update reached <strong>at most 5,000 users</strong>.</li><li><strong>How the attacker got publishing access to the marketplace hasn’t been disclosed.</strong> Cursor’s response (rotating keys and rebuilding the marketplace) suggests the marketplace’s own credentials or infrastructure were involved.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0QqO_AhWbzqvEbVua9SCHQ.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>Inside the backdoor</h3><p>Microsoft and other researchers describe a small (about 66-line) JavaScript loader inserted <strong>before</strong> the legitimate extension code. It runs as soon as the extension module loads, hides its output and swallows errors, so the extension keeps working normally. Step by step, it:</p><ol><li><strong>Collects host details:</strong> hostname, username, OS, architecture, home and working directories, global Git email, and public IP.</li><li><strong>Lists environment-variable names</strong> containing words like KEY, TOKEN or SECRET (up to 40). It collects <strong>names only, not values</strong>. That’s a reconnaissance step: the attacker learns which secrets exist on the machine.</li><li><strong>Adds an attacker Ed25519 public key</strong>, labeled svc-telemetry, to the user’s authorized_keys, and tries to enable the local SSH server.</li><li><strong>Writes a hidden private key</strong> (.stk_ plus ten hex characters) and starts an <strong>outbound reverse SSH tunnel</strong> that forwards a port on the attacker’s server to the workstation’s port 22.</li><li><strong>Sets up persistence</strong> so the tunnel comes back after reboots, retrying about every 60 seconds.</li><li><strong>Sends the collected data</strong> to attacker infrastructure after a delay.</li></ol><h4>Why a reverse tunnel?</h4><p>Developer laptops sit behind NAT and firewalls, so nobody on the internet can connect to them directly. A <strong>reverse tunnel</strong> flips the direction: the laptop connects <em>out</em> to the attacker, which firewalls usually allow, and the attacker then uses that connection to reach the laptop’s SSH server. Combined with the planted key, that would give the attacker a <strong>remote shell</strong>.</p><h4>Did it work?</h4><p>Often, no. Cursor says enabling SSH and opening the tunnel usually <strong>failed without admin rights</strong>, and errors blocked access on most macOS and Windows hosts. But <strong>key planting and persistence could still succeed</strong>, so every exposed machine needs checking. Microsoft also notes that a running SSH process alone doesn’t prove the attacker got in.</p><h4>Persistence names designed to blend in</h4><ul><li><strong>macOS:</strong> a user LaunchAgent named to look like Apple’s sysmond service, plus hidden files in ~/.config.</li><li><strong>Windows:</strong> a scheduled task named SysMon requesting SYSTEM rights, with a batch file in the Startup folder as a fallback.</li><li><strong>Linux:</strong> a user-crontab @reboot entry pointing to the same hidden scripts.</li></ul><p>“SysMon” is also the name of a legitimate Microsoft Sysinternals tool, so responders should check <strong>what each startup item actually runs</strong> before deleting anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ML0om8oku8mZykfnP2A3w.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SEgSl_18vkWHibLYA_aGrw.png" /><figcaption>Cursor’s official security notice (source: cursor.com)</figcaption></figure><h3>Am I affected? What to do</h3><ol><li><strong>Check</strong> whether Cursor installed or auto-updated anthropic.claude-code to <strong>2.1.312 or 2.1.313</strong>. Cursor says it has no evidence that other versions or the official distribution are affected.</li><li><strong>Look for the key:</strong> search ~/.ssh/authorized_keys (macOS/Linux), %USERPROFILE%\.ssh\authorized_keys and, on Windows, administrators_authorized_keys for an entry labeled svc-telemetry. Confirm the fingerprint before removing only that entry.</li><li><strong>If you find it, isolate the machine</strong> and preserve evidence before cleaning up.</li><li><strong>Run Cursor’s remediation script</strong> (remediate-macos.sh as the affected user, not root, or remediate-windows.ps1 as Administrator). <strong>Uninstalling the extension alone may not be enough.</strong> Also check for persistence files, scheduled tasks, LaunchAgents and tunnel processes, and consider rebuilding the host.</li><li><strong>Rotate credentials and sessions</strong> reachable from the machine, using a trusted device. The malware listed your secret <em>names</em>, which tells an attacker exactly what to look for if they get in.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T_iKU3w8LMm1mj8iac2A2g.png" /><figcaption>Microsoft Security’s analysis of the backdoor (source: microsoft.com)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FXHrwWkuA4NzeJAxBRbicA.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons</h3><ul><li><strong>Extensions are software supply chain.</strong> Restrict editors to approved publishers and extensions where possible.</li><li><strong>Add an install cooldown</strong> for new extension versions, as Microsoft recommends. Most malicious releases are caught within hours.</li><li><strong>Turn off SSH server</strong> on developer laptops unless you need it, and monitor authorized_keys for changes.</li><li><strong>Watch outbound SSH</strong> from workstations to unknown hosts; it’s unusual and easy to alert on.</li><li><strong>A trusted name isn’t a signature.</strong> The extension had the right name and publisher ID, but it came through a different distribution channel than the vendor’s own.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed:</strong> affected versions, time window, payload behavior, persistence mechanisms, Cursor’s estimate of at most 5,000 users, and that Anthropic’s systems and official channels weren’t compromised.</li><li><strong>Not disclosed:</strong> how the attacker got publishing access to Cursor’s marketplace, and how many machines actually got a working tunnel.</li></ul><h3>References</h3><ul><li><a href="https://cursor.com/blog/claude-code-extension-security-notice">Cursor: Claude Code extension security notice (official)</a></li><li><a href="https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/">Microsoft Security Blog: Inside a malicious Claude Code-branded Cursor extension and its persistent SSH backdoor</a></li><li><a href="https://www.stepsecurity.io/blog/claude-code-extension-trojanized">StepSecurity: Trojanized Claude Code extension delivered persistent SSH backdoor</a></li><li><a href="https://socket.dev/blog/claude-code-extension-compromise">Socket: Cursor removes malicious Claude Code 2.1.313 extension from its marketplace</a></li><li><a href="https://www.ox.security/blog/malicious-claude-code-extension-cursor-ssh-backdoor/">OX Security: Compromised Claude Code extensions in Cursor try to install a backdoor</a></li><li><a href="https://thehackernews.com/2026/10/official-claude-code-vs-code-extension.html">The Hacker News: Official Claude Code extension on Cursor Marketplace trojanized</a></li></ul><p><em>This article is part of the “Black October 2026” series: 15 articles, each explaining one security incident from October 2026 for awareness purposes. Facts come from the official statements and researcher reports listed above and are current as of November 2, 2026. Some investigations are still ongoing, so details and numbers may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcad273e2f6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coinbase Wasn’t Breached, Its Analytics Vendor Was: The Amplitude Incident Explained]]></title>
            <link>https://medium.com/@0xK1L/coinbase-wasnt-breached-its-analytics-vendor-was-the-amplitude-incident-explained-01a3e5f97d02?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/01a3e5f97d02</guid>
            <category><![CDATA[third-party-risk]]></category>
            <category><![CDATA[coinbase]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 18:36:30 GMT</pubDate>
            <atom:updated>2026-11-06T18:36:30.559Z</atom:updated>
            <content:encoded><![CDATA[<h4>Black October 2026, part 12: a security incident at analytics provider Amplitude exposed contact data for a “small subset” of Coinbase customers. Funds were safe, but phishing risk is real.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BO3mrcHZx1jQ7xj8Njy-Ew.png" /><figcaption>Coinbase Wasn’t Breached, Its Analytics Vendor Was: The Amplitude Incident Explained</figcaption></figure><blockquote><em>TL;DR: On October 27–28, 2026, Coinbase said that </em><strong><em>Amplitude</em></strong><em>, a third-party analytics vendor, had a security incident that exposed contact data for a </em><strong><em>“small subset”</em></strong><em> of Coinbase customers, along with data belonging to other Amplitude clients. Coinbase says it found </em><strong><em>no evidence of unauthorized access to its own systems</em></strong><em> and that </em><strong><em>customer funds were not affected</em></strong><em>. It has not said how many people were affected. The practical risk for users is targeted phishing.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wy8wD3ULtnBeIu96hSEufg.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>What is Amplitude, and why does it have Coinbase data?</h3><p><strong>Amplitude</strong> is a product-analytics platform. Companies send it events (“user opened the app,” “user started a purchase”) so product teams can see how people use their apps. To connect those events to real users, companies often send <strong>identifiers and some profile data</strong> along with them.</p><p>That’s the core of third-party risk: every analytics, marketing or support tool a company uses holds <strong>a copy of some customer data</strong>, in the vendor’s infrastructure and under the vendor’s security controls.</p><h3>What happened</h3><ul><li>Coinbase said Amplitude <strong>“experienced a security incident that affected a ‘small subset’ of Coinbase customer contact data,”</strong> along with data belonging to other Amplitude customers.</li><li>Coinbase found <strong>no evidence of unauthorized access to its systems</strong>, and says <strong>customer funds are safe</strong>.</li><li>Coinbase is <strong>emailing affected customers</strong> and notifying regulators in line with its legal obligations.</li></ul><h4>What we don’t know yet</h4><ul><li><strong>How many customers.</strong> Coinbase hasn’t given a number. One outlet reported “over 70,000,” but Coinbase has not verified that figure.</li><li><strong>Exactly which data types.</strong> Coinbase described it as “contact data.” Coverage differs on whether limited transaction data was included.</li><li><strong>How Amplitude was compromised, and when.</strong> Neither company has explained publicly.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WBrlFS8b3bA6uqG1thLH5A.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>“Not a breach of Coinbase” vs. “Coinbase customers’ data was exposed”</h3><p>Both statements are true at the same time, and the difference matters:</p><ul><li>For <strong>Coinbase’s security</strong>: its systems, wallets and keys were not accessed, so there’s no reason to think accounts or funds are directly at risk from this incident.</li><li>For <strong>customers’ privacy</strong>: their contact details are now in the wrong hands, no matter whose server they were taken from.</li></ul><p>Reports also note there’s <strong>no confirmed link</strong> between this incident and any unauthorized withdrawals or account takeovers.</p><h3>Why contact data is dangerous for crypto users</h3><p>Crypto users are a top phishing target because stolen crypto is fast to move and hard to recover. Knowing someone is a <strong>Coinbase customer</strong>, plus their email or phone number, is enough to start a convincing scam:</p><ul><li>A call from “Coinbase security” saying your account is under attack and you must move funds to a <strong>“safe wallet”</strong>.</li><li>A text with a link to a fake login page that steals your password and 2FA code.</li><li>An email asking you to “verify” your account by entering your <strong>recovery phrase</strong>.</li></ul><p>This is not hypothetical for Coinbase users. In <strong>May 2025</strong>, Coinbase disclosed that criminals had bribed overseas support agents to steal customer data, which was then used in exactly these kinds of impersonation scams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wRo8W-o3A3nCuJnUN5g5A.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rR-OTJZg0dCRa6CTOiQa-g.png" /><figcaption>Decrypt’s report on the Coinbase vendor incident (source: decrypt.co)</figcaption></figure><h3>What Coinbase users should do</h3><ol><li><strong>Don’t trust inbound contact.</strong> Coinbase won’t call you to ask you to move funds. If anyone does, hang up and open the app yourself.</li><li><strong>Never share secrets.</strong> No real support agent needs your password, 2FA codes or recovery phrase.</li><li><strong>Use strong 2-step verification:</strong> a passkey or hardware security key resists phishing far better than SMS codes.</li><li><strong>Turn on withdrawal protections</strong> such as address allowlisting, if available.</li><li><strong>Verify messages</strong> through the official app or website, never through links in emails or texts.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fxdTrqy6zj2eunp8KGGKsA.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons for companies</h3><ul><li><strong>Send vendors the minimum.</strong> Analytics rarely needs real emails or phone numbers. Pseudonymous IDs are usually enough.</li><li><strong>Keep a data map.</strong> Know which vendor holds which customer data so you can answer “who is affected?” quickly.</li><li><strong>Put security terms in contracts:</strong> notification deadlines, audit rights and data-deletion obligations.</li><li><strong>Your customers won’t care whose server it was.</strong> Vendor incidents land on your brand, so treat vendor data like your own.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed by Coinbase:</strong> the incident was at Amplitude; contact data of a small subset of customers was exposed; no evidence of access to Coinbase systems; funds safe; customers and regulators being notified.</li><li><strong>Not disclosed:</strong> the number of affected users, the exact data types, and how and when Amplitude was compromised.</li><li><strong>Unverified:</strong> the “70,000+ users” figure reported by one outlet.</li></ul><h3>References</h3><ul><li><a href="https://x.com/CoinbaseSupport/status/2115274731310002356">Coinbase Support: statement on X</a></li><li><a href="https://www.coindesk.com/tech/2026/10/28/coinbase-says-customer-funds-are-safe-after-third-party-vendor-exposes-customer-contact-info">CoinDesk: Coinbase says customer funds are safe after third-party vendor exposes customer contact info</a></li><li><a href="https://decrypt.co/382009/coinbase-customer-data-hit-in-analytics-vendor-breach-funds-not-impacted">Decrypt: Coinbase customer data hit in analytics vendor breach, funds “not impacted”</a></li><li><a href="https://cointelegraph.com/news/coinbase-analytics-provider-customer-data">Cointelegraph: Coinbase denies breach, says vendor exposed customer data</a></li><li><a href="https://cybersecuritynews.com/coinbase-customer-data-exposed/">Cybersecurity News: Coinbase customer data exposed via analytics vendor Amplitude</a></li></ul><p><em>This article is part of the “Black October 2026” series: 15 articles, each explaining one security incident from October 2026 for awareness purposes. Facts come from the official statements and researcher reports listed above and are current as of November 2, 2026. Some investigations are still ongoing, so details and numbers may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01a3e5f97d02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Warp Vendor Breach: When Your AI Agent’s Logs Become the Target]]></title>
            <link>https://medium.com/@0xK1L/the-warp-vendor-breach-when-your-ai-agents-logs-become-the-target-a08d48513061?source=rss-6b816e6bc940------2</link>
            <guid isPermaLink="false">https://medium.com/p/a08d48513061</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[third-party-risk]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[0xK1L]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 18:35:05 GMT</pubDate>
            <atom:updated>2026-11-06T18:35:05.300Z</atom:updated>
            <content:encoded><![CDATA[<h4>Black October 2026, part 11: an attack on an unnamed third-party vendor in Warp’s infrastructure exposed AI agent traces and telemetry for roughly 1% of users.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e6ilepAl6TxiT5mIQmH4Ng.png" /><figcaption>The Warp Vendor Breach: When Your AI Agent’s Logs Become the Target</figcaption></figure><blockquote><em>TL;DR: On Friday, October 23, 2026, Warp, the AI-powered terminal and “agentic development environment,” became aware of an attack on a </em><strong><em>third-party vendor</em></strong><em> in its infrastructure. The company says </em><strong><em>AI agent execution traces and user telemetry</em></strong><em> for roughly </em><strong><em>1% of users</em></strong><em> may have been exposed. Warp detected the activity within hours, brought in CrowdStrike and notified affected users. It has not named the vendor or confirmed whether prompts, source code or credentials were part of the exposed data.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2c1FRdhw1gy-WZ-stj3Y3A.png" /><figcaption>How the attacker moved, at a glance (simplified diagram by the author)</figcaption></figure><h3>What is Warp?</h3><p>Warp started as a modern terminal and has grown into what it calls an <strong>agentic development environment</strong>: a terminal, code editor, task orchestration and AI agents that can run commands, read files and change code for you. Warp says it has <strong>more than 800,000 users</strong>.</p><p>When an AI agent works in your terminal, it produces <strong>traces</strong>: a record of what it was asked, what it decided, which commands it ran and what output it saw. Those traces help with debugging and product improvement, and they are often handled by specialist vendors for logging, analytics or observability.</p><h3>What happened</h3><ul><li>CEO Zach Lloyd said that on Friday, Warp became aware of <strong>“an active and narrow-banded exploitation of a vendor in Warp’s infrastructure.”</strong></li><li>Warp says it detected the operation <strong>within hours</strong> and remediated and mitigated the impact.</li><li>Potentially affected data: <strong>agent traces</strong> (described as agent decision logs) and <strong>telemetry</strong>.</li><li>Lloyd estimates <strong>“roughly 1% of Warp users may have been impacted.”</strong> Identified affected users have been notified.</li><li>Warp engaged <strong>CrowdStrike</strong>, informed law enforcement and contacted the vendor about the vulnerability.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fQDaR09pFwfVjvZHc-AjIA.png" /><figcaption>The attack chain as described by official sources (diagram by the author)</figcaption></figure><h3>Why AI agent traces are sensitive</h3><p>“Telemetry” sounds like click counts. Agent traces can be much more than that. Depending on how a tool logs, a trace may contain:</p><ul><li>The <strong>task you gave the agent</strong>, which can describe internal systems, customers or unreleased features.</li><li><strong>Commands the agent ran</strong>, including hostnames, paths and parameters.</li><li><strong>Output the agent read</strong>: file contents, error messages, and sometimes environment variables or tokens that a command printed to the screen.</li></ul><p>To be clear: <strong>Warp has not said</strong> that its traces contained prompts, code or credentials. That’s still unconfirmed. But this incident is a good reminder that anything an agent sees can end up in logs, and logs travel to more places than the main product database.</p><h3>Third-party risk, in one picture</h3><p>Your security isn’t only your own systems. It includes every vendor that <strong>receives your data</strong>: analytics, logging, error tracking, email, support tools. Each one is a copy of some of your data, in someone else’s infrastructure, protected by someone else’s controls. Warp’s own systems may have been fine, and its users’ data was still exposed.</p><p>The same pattern appears twice more in this series: <strong>Coinbase</strong> (via its analytics vendor) and <strong>Polymarket</strong> (via a third-party script).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S1J2sLuLOLk7ScrmbL__9g.png" /><figcaption>Incident timeline, compiled from official statements</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*lU_PRYHg1_pqDhrUd76m4A.png" /><figcaption>BleepingComputer’s report on the Warp breach (source: bleepingcomputer.com)</figcaption></figure><h3>The “agent swarm” claim</h3><p>Coverage of the incident mentioned analysis suggesting the attack was powered by <strong>“an agent swarm”</strong> using “a very sophisticated penetration and escalation technique.” Reports don’t say who produced that analysis, and it is described as preliminary. Treat it as unverified until Warp or its investigators publish details.</p><h3>What Warp users should do</h3><ol><li><strong>Check your email</strong> for a notice from Warp and follow its specific guidance.</li><li><strong>Think about what your agents saw.</strong> If an agent ran commands that printed secrets (for example cat .env or env), rotate those secrets.</li><li><strong>Review settings</strong> for telemetry and data sharing in Warp and other AI developer tools.</li><li><strong>Stay alert</strong> to unexpected messages that reference your Warp usage or projects.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b6uvHtMt8v3qPR7cG8Duwg.png" /><figcaption>Quick action checklist</figcaption></figure><h3>Lessons</h3><ul><li><strong>Keep secrets out of agent sessions.</strong> Use a secrets manager and avoid printing secrets to the terminal, where agents and logs can capture them.</li><li><strong>Minimize and redact telemetry.</strong> For tool builders: scrub secrets and personal data from traces <em>before</em> they leave the client or reach vendors.</li><li><strong>Map your vendors.</strong> Know which vendors receive which data, and limit each one to the minimum.</li><li><strong>Disclose quickly.</strong> Warp disclosed within days with a clear scope estimate, even with open questions remaining. That gives users time to act.</li></ul><h3>Confirmed vs. not confirmed</h3><ul><li><strong>Confirmed by Warp:</strong> exploitation of a third-party vendor; agent traces and telemetry potentially exposed; ~1% of users; CrowdStrike engaged; affected users notified.</li><li><strong>Not disclosed:</strong> the vendor’s name, the vulnerability, and exactly what the exposed traces contained.</li><li><strong>Unverified:</strong> the “agent swarm” analysis.</li></ul><h3>References</h3><ul><li><a href="https://x.com/zachlloydtweets/status/2114800787716972873">Zach Lloyd (Warp CEO): statement on X</a></li><li><a href="https://www.bleepingcomputer.com/news/security/warp-discloses-breach-exposing-ai-agent-logs-user-telemetry-data/">BleepingComputer: Warp discloses breach exposing AI agent logs, user telemetry data</a></li><li><a href="https://safedep.io/blog/october-2026-security-incident-review">SafeDep: October 2026 Security Incident Review</a></li><li><a href="https://www.unosecur.com/blog/october-2026-cybersecurity-incidents">Unosecur: Black October 2026 incidents overview</a></li></ul><p><em>This article is part of the “Black October 2026” series: 15 articles, each explaining one security incident from October 2026 for awareness purposes. Facts come from the official statements and researcher reports listed above and are current as of November 2, 2026. Some investigations are still ongoing, so details and numbers may change.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a08d48513061" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>