<?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 am on Medium]]></title>
        <description><![CDATA[Stories by am on Medium]]></description>
        <link>https://medium.com/@alokemajumder?source=rss-91a0fa849123------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ROtknTlauPwBQ5vie7i1nA@2x.jpeg</url>
            <title>Stories by am on Medium</title>
            <link>https://medium.com/@alokemajumder?source=rss-91a0fa849123------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:00:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alokemajumder/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[Inside the eMudhra CA Key Compromise: Why Your Backend Infrastructure is Still at Risk]]></title>
            <link>https://medium.com/@alokemajumder/inside-the-emudhra-ca-key-compromise-why-your-backend-infrastructure-is-still-at-risk-24aebef5da03?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/24aebef5da03</guid>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Wed, 21 Oct 2026 03:54:12 GMT</pubDate>
            <atom:updated>2026-10-21T03:54:12.879Z</atom:updated>
            <content:encoded><![CDATA[<p>How eight weak intermediate CA keys — including one set to the integer 4 — exposed 17 months of WebPKI vulnerability, forced emergency patches in Go and Firefox, and revealed the dangerous limits of client-side certificate validation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rLjAXUff5iUZGsxYDBDJHA.jpeg" /></figure><p>On October 17–20, 2026, a major security event shook the Web Public Key Infrastructure (WebPKI). Private keys corresponding to <strong>eight intermediate Certificate Authorities (CAs)</strong> operated by Indian certifying authority <strong>eMudhra</strong> — covering Domain Validated (DV), Organization Validated (OV), Extended Validation (EV) TLS, and Code Signing (CS) profiles — were confirmed to be critically compromised.</p><p>Originating from a flawed Key Generation Ceremony (KGC) in April 2025, the underlying private keys were mathematically trivial single- and double-digit integers (including <strong>4, 56, 66, 115, 155, 156, 230, and 237</strong> for ECC secp384r1 curves), allowing instant key extraction in under a millisecond.</p><p>While browser vendors (Google, Mozilla, Apple, Microsoft) deployed rapid mitigations within hours, the incident revealed severe operational blind spots across backend software stacks, language runtimes (Go, Python, Node.js), and edge proxy infrastructure (Cloudflare).</p><p>This technical post-mortem breaks down the vector, the revocation failure modes, and the required engineering remediations.</p><h3>1. Cryptographic Anatomy of the Leak</h3><p>The compromised intermediates operated under eMudhra’s root hierarchy (emSign Root TLS CA - G3 and emSign Root CS CA - G3).</p><pre>[ emSign Root TLS CA - G3 ] (Root Trust Anchor)<br>       │<br>       ├──&gt; [ EM DV TLS CA - G3B / G3C ] (Leaked SPKI Hashes) ──&gt; Private Key d = 4, 56<br>       ├──&gt; [ EM OV TLS CA - G3B / G3C ] (Leaked SPKI Hashes) ──&gt; Private Key d = 66, 115<br>       ├──&gt; [ EM EV TLS CA - G3B / G3C ] (Leaked SPKI Hashes) ──&gt; Private Key d = 155, 156<br>       └──&gt; [ EM OV CS CA - G3B / G3C ] (Leaked SPKI Hashes) ──&gt; Private Key d = 230, 237</pre><p>Because these intermediates chained directly to globally trusted roots embedded in operating systems and browsers, an attacker holding these private keys possessed the ability to:</p><ul><li><strong>Mint Arbitrary End-Entity Certificates:</strong> Generate valid TLS certificates for any arbitrary Fully Qualified Domain Name (FQDN) without undergoing ACME or manual domain validation.</li><li><strong>Perform Active MitM Decryption:</strong> Intercept and decrypt TLS traffic transparently.</li><li><strong>Bypass Standard CRLs:</strong> Re-sign certificates with newly generated serial numbers, rendering serial-number-based Certificate Revocation Lists (CRLs) useless unless clients explicitly enforce SubjectPublicKeyInfo (SPKI) fingerprint filtering.</li></ul><h3>2. The Browser Immune System vs. Non-Browser Runtimes</h3><p>The response timeline demonstrated a sharp divergence between client-facing browsers and backend application runtimes:</p><h4>Client-Side Resolution</h4><ul><li><strong>Google Chrome:</strong> Applied immediate blocklists via <strong>CRLSets</strong>. Chrome Root Program noted that because Chrome mandates Certificate Transparency (CT) logging, any unlogged leaf certificate minted by these intermediates would automatically fail validation in Chrome by default.</li><li><strong>Mozilla Firefox:</strong> Revoked the 6 web-facing intermediates via <strong>OneCRL</strong> within 3 hours. Released Firefox <strong>158.0.1</strong>, ESR <strong>115.43.1</strong>, and ESR <strong>153.5.1</strong> carrying hardcoded blocks for offline or enterprise policy-managed endpoints.</li><li><strong>Cloudflare:</strong> Patched Cloudflare Tunnel (cloudflared v2026.10.2), WARP clients (v2.5.6 Android / v1.12.16 iOS / 2026.8.2115.0 Desktop), and edge proxies starting October 19 at 17:00 UTC.</li></ul><h4>The Backend Failure Mode</h4><p>Non-browser clients (curl, Python urllib3/requests, Node.js https, Go net/http) do not consume browser-specific push channels like CRLSets or OneCRL.</p><p>When security researchers generated a forged certificate for api.stripe.com using eMudhra&#39;s &quot;key 4&quot;, testing revealed:</p><ul><li><strong>Linux/macOS CLI:</strong> Default /usr/bin/curl and Python certifi accepted the forged chain as valid because the root was present in ca-certificates and soft-fail revocation skipped active CRL/OCSP checks.</li><li><strong>Windows System Verifier:</strong> Accepted the forged chain unless explicit registry flags for mandatory revocation checks were configured.</li></ul><h3>3. Language Runtime Mitigations: The Go Fix (CVE-2026–111943)</h3><p>Because standard certificate verification pathways failed to protect non-browser traffic, language maintainers were forced to patch at the standard library level.</p><p>On October 20, the Go security team released <strong>Go 1.27.3</strong> and <strong>Go 1.26.10</strong> under the <strong>URGENT</strong> release track (CVE-2026–111943).</p><h4>How the Go Patch Works</h4><p>The Go team modified crypto/x509 to hard-block the exact SHA-256 hashes of the 8 compromised eMudhra SubjectPublicKeyInfo (SPKI) blocks.</p><p>Go</p><pre>// Hardcoded SPKI filter introduced in Go 1.27.3 / 1.26.10<br>var blockedSPKIs = map[[32]byte]bool{<br>    // eMudhra Intermediate 1-8 SPKI SHA-256 Hashes<br>    {0xeb, 0xed, 0x64, 0x75, ...}: true,<br>    {0x49, 0xdd, 0x35, 0x3d, ...}: true,<br>    {0xe0, 0x25, 0x4c, 0x7f, ...}: true,<br>    // ... remaining 5 hashes<br>}</pre><ul><li><strong>Scope:</strong> Rejects any chain containing any of the 8 SPKI hashes, regardless of whether the system verifier (macOS/Windows) or Go’s internal x509 engine is used.</li><li><strong>Unconditional Behavior:</strong> Cannot be toggled off via environment variables or code configuration.</li><li><strong>Impact:</strong> Rebuilt Go binaries will return x509: no valid chains built if an upstream service or API endpoint presents a certificate chaining through the compromised intermediates.</li></ul><h4>Other Runtimes &amp; Packages</h4><ul><li><strong>Python (</strong><strong>certifi):</strong> Released version 2026.10.19 removing emSign ECC Root CA - G3 from the bundle.</li><li><strong>NSS:</strong> Released 3.131.1 distrusting the intermediate hashes.</li><li><strong>Homebrew </strong><strong>ca-certificates:</strong> Released 2026-09-25_1 stripping the public keys.</li><li><strong>Rust:</strong> webpki-roots updated to exclude affected trust anchors.</li></ul><h3>4. Required Action Plan for Infrastructure Teams</h3><p>If your team operates microservices, container workloads, or serverless functions, browser-level protection is insufficient. Execute the following remediation steps immediately:</p><h4>A. Container &amp; OS Layer</h4><p>Rebuild all container images (alpine, ubuntu, debian) to pull the latest base package containing updated system root bundles.</p><pre># Ubuntu / Debian<br>apt-get update &amp;&amp; apt-get install --only-upgrade ca-certificates</pre><pre># Alpine<br>apk add --no-cache --upgrade ca-certificates</pre><h4>B. Language Dependency Audits</h4><ul><li><strong>Go:</strong> Upgrade toolchains to <strong>Go 1.27.3</strong> or <strong>Go 1.26.10</strong> and execute clean pipeline rebuilds of all Go binaries (docker build --no-cache).</li><li><strong>Python:</strong> Bump certifi to &gt;=2026.10.19 across requirements.txt / pyproject.toml / uv.lock.</li><li><strong>Cloudflare Zero Trust / Tunnels:</strong> Force upgrade cloudflared to &gt;=2026.10.2 and update WARP endpoint clients across all deployed OS targets.</li></ul><h4>C. Upstream Dependency Verification</h4><p>Run test validations against external partner APIs to verify whether third-party vendors are still serving certificates chained through eMudhra G3:</p><pre>openssl s_client -connect api.yourvendor.com:443 -showcerts</pre><p>Inspect the certificate issuer in the chain output. If eMudhra or emSign appears, notify the vendor immediately to re-key their endpoint.</p><p>The eMudhra incident underscores a critical vulnerability in cloud-native architecture: <strong>the asymmetry between browser security and backend security.</strong></p><p>As security boundaries harden, security teams must stop viewing trust stores as static system configurations. Continuous dependency scanning, automated base image updates, and SPKI-level fingerprint blocking must become standard practices in production CI/CD pipelines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24aebef5da03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Syntax is Cheap. Reliability is Expensive.]]></title>
            <link>https://medium.com/@alokemajumder/syntax-is-cheap-reliability-is-expensive-99062778f87a?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/99062778f87a</guid>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Thu, 15 Oct 2026 17:13:52 GMT</pubDate>
            <atom:updated>2026-10-15T17:13:52.726Z</atom:updated>
            <content:encoded><![CDATA[<h3>Syntax is Cheap. Reliability is Expensive.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qg_AdR6VMVSwFIE9pJOxPQ.jpeg" /></figure><p>The first draft of AI-assisted code is almost always a lie.</p><p>It feels incredible while it’s happening. You prompt a model or invoke an autonomous terminal agent, watch it stream 800 lines of pristine, idiomatic TypeScript or Rust into your editor, and close the issue before your coffee gets cold. Your PR velocity looks staggering. Sprint burn-down charts look like vertical drop-offs.</p><p>Then you deploy to staging — or worse, production — and the real bill arrives.</p><p>The uncomfortable truth about modern software development in 2026 isn’t that code generation doesn’t work. It works terrifyingly well. The truth is that <strong>raw code generation was never the actual bottleneck of software engineering</strong>. Writing syntax is the easiest, lowest-value phase of building complex systems. The real engineering has always happened at the boundary conditions: managing distributed state, keeping cache invalidation deterministic, preventing silent resource exhaustion, and wrestling with failure domains under non-linear concurrency.</p><p>AI doesn’t solve these problems. By removing the friction of manual implementation, it amplifies them.</p><h3>The Cognitive Mechanics of Writing vs. Auditing</h3><p>To understand why AI-heavy codebases tend to fail under pressure, you have to look at how human cognition interacts with code.</p><p>When you construct code line by line, your brain executes a continuous, low-level simulation of the runtime. You construct a mental model of heap allocations, async event loops, race conditions, and error paths. The tedious mechanical process of typing gives your mind time to evaluate edge cases: <em>What happens if this DB transaction times out mid-flight? What if this message queue delivers payloads out of order? How does this impact our p99 latencies?</em></p><p>When an LLM streams an entire module into your editor in three seconds, that mental simulation gets completely bypassed. You transition instantly from an <strong>author</strong> to an <strong>auditor</strong>.</p><p>Here is the problem: <strong>Auditing code is exponentially harder than writing it.</strong></p><p>It requires reading through syntactically flawless logic — replete with plausible docstrings and neatly abstracted interfaces — to catch the subtle, semantic landmines hidden beneath the surface:</p><ul><li><strong>Unbounded Memory Retention:</strong> An LLM will happily construct a background processing queue using a local array or Map, missing the obvious operational implication: under sustained ingestion, that memory will spike until the Linux kernel fires an OOM kill.</li><li><strong>Non-Atomic State Transitions:</strong> Code looks completely logical in isolation, but fails to lock rows or utilize distributed primitives (like Redis locks) during concurrent read-modify-write cycles, opening up silent data corruption windows that only manifest at 10x traffic.</li><li><strong>Transient Error Swallowing:</strong> Models love simple try/catch blocks that log a string and return a generic 500 or null, completely destroying open telemetry context and cascading backpressure upstream.</li></ul><h3>The False Security of Model-Generated Tests</h3><p>A common response to these concerns is: <em>“We just prompt the agent to write the unit test suite alongside the implementation.”</em></p><p>This creates a dangerous, self-reinforcing feedback loop. When the same model architecture generates both the production logic and the test suite, it writes tests designed to confirm its own internal assumptions. The unit tests pass with 90%+ coverage, but they test <strong>implementation behavior</strong>, not <strong>business domain invariants</strong>.</p><pre>[ Natural Language Spec ]<br>         │<br>         ▼<br> ┌───────────────┐<br> │   LLM Model   │<br> └───────┬───────┘<br>         ├──────────────────────────┐<br>         ▼                          ▼<br>┌──────────────────┐      ┌──────────────────┐<br>│ Production Logic │      │  Generated Test  │<br>│  (Impl. Assumptions) │  │  (Validates Impl.)│<br>└────────┬─────────┘      └─────────┬────────┘<br>         │                          │<br>         └───────────┬──────────────┘<br>                     ▼<br>             ┌───────────────┐<br>             │ 100% Green CI │ ◄── False Confidence Loop<br>             └───────┬───────┘<br>                     ▼<br>          Production Edge Case 💣</pre><p>A green test suite built on flawed assumptions isn’t coverage; it’s operational blind spot amplification. The build glows green right up until a customer executes a non-standard workflow in production that invalidates the model’s hidden assumptions.</p><h3>Engineering Discipline in the Agentic Era</h3><p>If implementation is now a commodity, what actually separates senior systems engineers from prompt pilots? The core focus must pivot from <strong>syntax creation</strong> to <strong>architectural containment and systemic observability</strong>.</p><h3>1. Blast Radius Isolation</h3><p>If generated code carries higher latent risk, your system design must treat it as inherently untrusted.</p><ul><li><strong>Enforce Strict Schema Contracts:</strong> Break monoliths at explicit module boundaries using runtime schema validation (Zod, Pydantic, or gRPC Protobufs). Never pass raw, untyped objects between AI-written modules.</li><li><strong>Database Abstraction Guardrails:</strong> Never give AI-generated routines direct access to raw, unconstrained database drivers. Wrap queries in strict data-access layers that enforce connection pool limits, explicit row-level security, and hard query timeouts.</li></ul><h3>2. Automated Policy and Static Security</h3><p>Human code review cannot scale to inspect thousands of lines of machine-generated code per week. You need deterministic, automated enforcement in your pipeline.</p><ul><li><strong>AST-Driven SAST:</strong> Deploy strict static analysis and AST parsers to flag un-sanitized string interpolations, unsafe pointer arithmetic, and missing authorization checks before human reviewers ever get pinged.</li><li><strong>Agentic Security Monitoring:</strong> Integrate deep runtime visibility tools (like Wazuh SIEM monitoring or automated policy-as-code engines) directly into integration environments to flag anomalous process spawns or unexpected network egress patterns.</li></ul><h3>3. Real-World Chaos vs. Toy Unit Tests</h3><p>Stop over-indexing on unit test counts. Reallocate engineering resources toward testing how systems behave when things inevitably break:</p><ul><li><strong>Distributed Tracing (OpenTelemetry):</strong> Mandate context propagation across every service boundary so that when an AI-generated endpoint fails under load, you can trace the exact span where latency or errors originated.</li><li><strong>Fault Injection:</strong> Actively inject network latency, drop database connections, and kill background worker instances in staging environments to verify whether your resilience patterns hold up under stress.</li></ul><p>Generating code fast is a solved problem. Any team with an API key and a terminal can pump out features at five times the velocity they could three years ago.</p><p>But typing speed was never what made software engineering hard. The real work has always been the unglamorous, high-friction discipline of making systems resilient, secure, observable, and maintainable over years, not days.</p><p>If your team is evaluating engineering productivity by lines of code generated or tickets closed per sprint, you are measuring noise. The competitive advantage of the next decade isn’t how fast you can generate syntax — it’s how reliably you can ship systems that survive contact with reality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99062778f87a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open Weights Are Not Open Source]]></title>
            <link>https://medium.com/@alokemajumder/open-weights-are-not-open-source-1a38e0b9239f?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a38e0b9239f</guid>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 09:42:43 GMT</pubDate>
            <atom:updated>2026-08-04T09:42:43.010Z</atom:updated>
            <content:encoded><![CDATA[<h3>Everyone says “open source AI.” Almost nobody ships it. Here’s what the licence actually says, and why your legal team will care before your engineers do.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IGFCkFobMVxBDEcKv1PCMQ.jpeg" /></figure><p>A few months ago I sat through a vendor review where a very confident solution architect told a bank’s CISO that the proposed stack was “fully open source, so there’s no lock-in and no black box.”</p><p>The model was Llama. The CISO’s next question was the right one: <em>can we see what it was trained on?</em></p><p>Nobody could answer, because nobody can. That’s the whole essay, really. But it’s worth unpacking properly, because the sloppiness of the phrase “open source AI” is now causing real damage in procurement documents, in audit responses, and in architecture decisions that are expensive to reverse.</p><h3>The two things people are conflating</h3><p>When a lab publishes an “open” model today, what almost always ships is a bundle of numbers — the trained parameters — plus a config file, a tokenizer, and a licence. You can download it, run it on your own GPUs, fine-tune it, quantise it, serve it behind vLLM or SGLang. That’s real and it’s valuable. It is <strong>open weights</strong>.</p><p>What almost never ships is the training corpus, the data filtering pipeline, the training code with its actual hyperparameters, or the evaluation harness. Without those, you cannot rebuild the model. You cannot verify what went into it. You can only take delivery of a finished artefact and trust it.</p><p>The Open Source Initiative drew the line formally in October 2024 with the Open Source AI Definition. To qualify, a system has to give you the freedom to use, study, modify and share it — and that means the complete code used to train and run the system, the parameters under OSI-approved terms, and enough information about the data that a skilled person could recreate a substantially equivalent system.</p><p>Note the compromise in that last clause. OSAID asks for <em>data information</em>, not the dataset itself. That was a pragmatic concession to copyright, PII and licensing reality, and a lot of people in the open source community think it’s too soft. OSI has signalled a revision is coming. Even at that lowered bar, the vast majority of models marketed as “open source” in 2026 still don’t clear it — because the training code doesn’t ship either.</p><p>So: <strong>open weights is a distribution model. Open source is a set of freedoms.</strong> They overlap. They are not the same thing, and pretending otherwise is what the community has taken to calling openwashing.</p><h3>The clauses that actually bite</h3><p>This is where I lose patience with the “it’s just semantics” crowd. It isn’t semantics. It’s contract law, and the terms vary wildly between models that all sit under the same “open” tab on Hugging Face.</p><p>Meta’s Llama licence is the most-discussed example. It is not Apache, not MIT, not OSI-approved anything. It’s a custom community licence carrying, among other things, a threshold that says if your products — yours <em>and your affiliates’</em> — crossed 700 million monthly active users in the month before the model’s release date, you need a separate licence from Meta, granted at Meta’s discretion. There’s an acceptable use policy incorporated by reference. There’s a naming requirement for derivatives. And with Llama 4, the multimodal variants carry a restriction on use and distribution by entities domiciled in the EU — Meta’s answer to AI Act ambiguity, and the headline vision capability is the thing that’s off the table.</p><p>The OSI’s own analysis concluded the licence fails the Open Source Definition on several grounds: it restricts use for any purpose, it discriminates against particular users, and it restricts fields of endeavour.</p><p>Most people wave off the 700M clause because they’ll never get there. Fair. But two things about it are underappreciated. First, it aggregates across the licensee <em>and affiliates</em> — so a large conglomerate deploying Llama in one small product is counting group-wide, not product-wide. Second, and more relevant to everyone else: the <em>existence</em> of a discretionary clause in your model licence is a line item on a risk register. Acquirers model it. Investors ask about it. If your entire inference layer depends on terms that can be revised at the next release, that’s a dependency, not a foundation.</p><p>The rest of the field is genuinely more relaxed, and credit where it’s due:</p><ul><li>DeepSeek’s recent weights ship under plain MIT — the V3–0324 release onward and the R1 family. Commercially unrestricted, distillation allowed. Still no training data or full training code, so still not open source in the strict sense.</li><li>OpenAI’s gpt-oss-120b and gpt-oss-20b came out under Apache 2.0.</li><li>Google flipped Gemma 4 to Apache 2.0 in April 2026, dropping the custom terms earlier Gemma releases carried.</li><li>Qwen moved most of its current line to Apache 2.0, though some flagship releases have historically kept a custom licence with a monthly-user condition attached.</li><li>Moonshot’s Kimi K2 family used a modified MIT with an attribution requirement at scale; the newer K3 weights went public in late July under a custom licence with firmer conditions.</li></ul><p>Read that list again and notice the pattern. Licensing has genuinely liberalised — Apache and MIT are now common for weights. Reproducibility has not moved at all. Not one frontier-class model publishes the corpus and the training code. NVIDIA’s Nemotron work and Ai2’s OLMo are the honourable exceptions worth studying precisely because they’re exceptions.</p><h3>What you actually lose without the recipe</h3><p>Five things, in the order they’ve bitten me or my teams:</p><p><strong>You can’t answer the audit question.</strong> When an RBI-regulated client asks what data influenced a credit-adjacent decision, “we don’t know, but the licence is permissive” is not an answer. Model cards and system cards have become the de facto governance artefact precisely because the underlying transparency isn’t there. They’re documentation about a black box, not a window into it.</p><p><strong>You can’t defend against a bias finding.</strong> If a fairness complaint lands, your remediation options are prompt guardrails, output filters and fine-tuning. You cannot go to the source of the behaviour, because you don’t have it.</p><p><strong>You can’t detect benchmark contamination.</strong> Every “our model beats X on Y” claim is unfalsifiable when nobody can check whether Y was in the training set. Independent research on this has been going on for years and is structurally blocked at exactly this point.</p><p><strong>You have no provenance story for IP.</strong> Copyright litigation over training data is live in multiple jurisdictions. If your product embeds a model whose corpus is undisclosed, your indemnity position rests entirely on whatever the vendor’s licence promises — which, in most of these community licences, is very little.</p><p><strong>You can’t fork.</strong> Open source’s deepest guarantee was never the price. It was that if the maintainer went hostile, went bankrupt, or went closed, the community could carry on. With weights-only, you can keep running the version you downloaded, but you cannot advance it. That’s a snapshot, not a fork.</p><h3>Where I’ll defend open weights, loudly</h3><p>Having said all that: open weights are the single most useful thing that’s happened to enterprise AI economics in India, and I say that as someone who spends most of his week on deployment costing.</p><p>Weights on disk mean the model runs where your data already sits. For a BFSI client with data residency conditions, or a manufacturer whose plant network never touches the internet, that’s not a preference — it’s the only architecture that clears the compliance review. It means inference cost becomes a hardware amortisation question you control instead of a per-token bill someone else sets. It means fine-tuning on proprietary data without shipping it anywhere.</p><p>And it means continuity. This June, a frontier model family went dark for roughly three weeks while its vendor complied with newly-issued US export controls, then came back once those controls were lifted. Every team building on that endpoint watched from the outside. Nothing about that was anyone’s fault, and it’s exactly the scenario that a weights-on-disk deployment is immune to. That’s a genuine, non-ideological reason to care about downloadable models — and it has nothing to do with whether they’re open source.</p><p>Both things are true. Open weights buy you sovereignty over <em>deployment</em>. Open source would buy you sovereignty over <em>understanding</em>. Right now the market is selling the first and labelling it the second.</p><h3>The India footnote</h3><p>We have a live version of this argument at home. The IndiaAI Mission, funded north of ₹10,000 crore, produced its first real deliverables in February 2026 — Sarvam’s 30B and 105B models, BharatGen’s Param 2, Gnani’s voice stack, all covering the 22 scheduled languages. Sarvam’s foundation models shipped under Apache 2.0, trained from scratch on Indian compute. That’s a meaningfully permissive licence and a serious engineering achievement.</p><p>But “sovereign” and “open source” are also different words. Public money produced those weights. Whether the training corpora and training code become public is a separate decision, and as far as I’ve seen it hasn’t been fully settled — BharatGen has published documentation and post-training workflow on Hugging Face; the picture on full dataset and training-code release across the programme is thinner.</p><p>I’d argue that for models built on public compute under a public mission, the reproducibility bar should be higher than the industry default, not equal to it. If a state-funded Indian model can’t be audited by an Indian university, we’ve bought a product, not a capability.</p><h3>What to actually do on Monday</h3><p>Nothing here requires a policy paper. It requires a spreadsheet.</p><p>Keep a <strong>model licence register</strong>. One row per model in production or in a POC: model, version, exact licence, source URL, date retrieved, restrictions that apply to <em>us</em>, and who signed off. Version matters more than people think — DeepSeek’s original V3 base weights carry different terms from the releases that followed, and Gemma’s terms changed with v4. The licence attaches to the artefact you downloaded, not to the brand.</p><p>Stop writing “open source” in proposals and RFP responses unless you can point to training code. Write “open weight, Apache 2.0” or “open weight, custom community licence.” Clients whose legal teams read carefully will trust you more, not less, for the precision. The ones who don’t read carefully are the ones who’ll escalate later.</p><p>Put the questions in the vendor questionnaire directly. Is the training data disclosed or described? Is training code published? What’s the licence change history? Can the licence be revised for versions we’ve already deployed? What indemnity, if any, covers training-data claims?</p><p>And check your EU exposure before you assume the open-source carve-out saves you. The AI Act gives free and open-source general-purpose models partial relief from some documentation duties, not from the systemic-risk obligations attaching to the largest models — and the carve-out is keyed to genuine openness, which most of these releases don’t have.</p><p>Language shapes procurement, and procurement shapes architecture. Every time we let “open source” mean “downloadable,” we make it slightly harder for the labs actually doing the hard, expensive, legally-fraught work of publishing data and training code to be recognised for it.</p><p>Call the weights open. Call the licence what it is. Save “open source” for the day someone earns it.</p><p><em>If you’re working through model licensing on a regulated deployment and want to compare notes, reply — I read everything.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a38e0b9239f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Confessions of an AI Founder: We Aren’t Building Job-Killers. We’re Building Liability Shields.]]></title>
            <link>https://medium.com/@alokemajumder/confessions-of-an-ai-founder-we-arent-building-job-killers-we-re-building-liability-shields-dea55dacd7f9?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/dea55dacd7f9</guid>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Wed, 27 May 2026 20:39:50 GMT</pubDate>
            <atom:updated>2026-05-27T20:39:50.019Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*OveWOHSoKbUQnio38WzLrw.jpeg" /></figure><h3>Confessions of an AI Founder: We Aren’t Building Job-Killers. We’re Building Liability Shields.</h3><p>Every time I sit down with a prospective enterprise client or hop on a exploration call, the elephant in the room is exactly the same. Eventually, someone leans in and asks the exhausted, anxious question: <em>“Is this platform going to replace our people?”</em></p><p>It’s a blunt question that entirely misses how power, money, and risk actually shift when you deploy AI inside an enterprise.</p><p>As someone building agentic workflows and autonomous systems in the trenches every single day, let me give you the view from the inside. A job isn’t a single, monolithic block of marble that an LLM can neatly slide onto its server and take away. A job is a legal framework, a social anchor, a bundle of messy political relationships, and a placeholder for human accountability.</p><p>Software doesn’t walk into an office, sit at a desk, and sign a W-2.</p><p>Academia tried to inject nuance into this discourse by arguing that AI replaces <em>tasks</em>, not <em>jobs</em>. They’ll tell you that writing a code snippet or drafting an email is a task, but being a Senior Engineer or a Support Director is a job. It’s a comforting, intellectual distinction, but it fundamentally misunderstands the brutal commercial mechanics of modern capitalism.</p><p>When a company buys our software, they aren’t looking at tasks. They are looking at the <strong>allocation of risk</strong>.</p><h3>The Budget Spreadsheet Lie</h3><p>Let’s talk about how software actually breaches the enterprise firewall. It doesn’t arrive with a dramatic wave of mass pink slips. It arrives by stealth — as an “agentic layer” designed to quietly unburden your team of a specific, high-friction responsibility. Then another. Then three more.</p><pre>[The Legacy Job] <br> ├── Responsibility A ──&gt; [Migrated to Our AI Agent]<br> ├── Responsibility B ──&gt; [Migrated to Our AI Agent]<br> └── Remaining Core   ──&gt; The Human (Left with pure Oversight &amp; Liability)</pre><p>The LinkedIn title stays exactly the same. The employee still gets their monthly direct deposit. But the role has been completely hollowed out from the inside.</p><p>Why do founders and enterprise vendors keep pushing the binary “job replacement” narrative if this is how the plumbing actually works? Because corporate finance requires a body count to justify an enterprise SaaS budget.</p><p>If I pitch our platform to a CFO as a vague “productivity and creativity enhancer,” they will laugh me out of the room. CFOs loathe soft ROI. But if I frame that exact same software as a mechanism to absorb the operational volume that would otherwise require hiring five more contractors or three entry-level analysts, the spreadsheet suddenly clicks.</p><p>The narrative of replacement survives because it is the only fiscal language capable of unlocking traditional corporate budgets. It translates a paradigm-shifting cognitive capability into a legacy headcount spreadsheet.</p><p>The macroeconomic result isn’t a sudden, visible spike in unemployment statistics. It’s something much quieter: the erasure of the future. The hiring plans get frozen. The backfills vanish. The junior ladders — the crucial, messy training grounds where young professionals historically learned how to handle corporate responsibility — are being systematically dismantled.</p><h3>The “Throat to Choke” Principle</h3><p>We are watching this play out in real time within software engineering and infrastructure management. We’ve blown entirely past simple autocomplete tools that suggest the next line of code. The agents we are building today are being handed fully scoped engineering responsibilities: <em>Investigate this latency bottleneck, refactor the database migration module, run the integration tests, and open the pull request.</em></p><p>The developer has shifted from a creator of code to a reviewer of algorithmic delegation.</p><p>But watch very closely where the boundary line is drawn. No matter how autonomous my company’s agents are, we will <em>never</em> sign an enterprise contract that absorbs the financial or legal liability when an autonomous agent accidentally leaks millions of customer records or crashes a production database.</p><p><strong>The machine claims the execution. The human customer retains the disaster.</strong></p><p>This is the central, unvarnished asymmetry of the AI boom: <strong>We are socializing the labor of execution to silicon, while privatizing the liability to carbon.</strong> The white-collar worker is being transformed into a designated scapegoat. The role remains human-shaped for one reason only: organizations require a throat to choke when things go wrong.</p><h3>The Capital Cost of Corporate Amnesia</h3><p>When you build these systems, you quickly realize that the biggest barrier to autonomy isn’t model capability — it’s corporate amnesia.</p><p>If an AI agent is going to take over the responsibility of triaging critical system alerts or drafting technical specifications, it needs context. It needs to know <em>why</em> a decision was made six months ago in a frantic Slack war or an undocumented Zoom call.</p><p>Without a structured, systemic memory layer, these agents resort to what our engineers call “token-maxing” — brute-forcing their way through raw data dumps, burning massive compute budgets to re-read thousands of uncurated documents just to answer a single operational prompt. It is the digital equivalent of an employee waking up with severe amnesia every morning and needing to read the entire company archive before they can type an email.</p><p>When we look at the telemetry data, the financial difference between an organization that builds structural context and one that relies on raw compute is staggering:</p><p><strong>The Context DilemmaThe Memory-Less AgentThe Context-Aware AgentOperational Mechanics</strong>Re-reads raw historical dumps for every single prompt.Queries a curated, semantic index of company history.<strong>Compute OverheadExtreme baseline</strong> (Continuous, compounding token spend).<strong>4x to 7x reduction</strong> in token infrastructure costs.<strong>Human Labor Deficit</strong>High. Humans spend hours fact-checking hallucinations caused by data clutter.Low. Humans instantly review clear provenance, source citations, and logic trails.</p><p>Fixing token spend is the cynical financial hook that gets a tech-forward CFO to care about enterprise memory. But the deeper crisis we face as builders is existential. If a company cannot pass down its context to its automated systems, it loses its institutional soul. It degenerates into a collection of hyper-efficient, lightning-fast execution loops that have absolutely no idea why they are running in the first place.</p><h3>Why We Need Human-Centric AI</h3><p>The realization that AI is coming for autonomy rather than job titles is not a comforting alternative to the layoff narrative. It is infinitely more insidious.</p><p>If ten million workers were fired tomorrow morning, the political and social backlash would be immediate, loud, and unified. Instead, the industry is choosing the path of frictionless hollowing. Your job description will remain pristine. You will keep your remote Slack access. But your daily existence will shift toward managing a sprawling, black-box army of digital entities that move faster than you, process data better than you, and cost a fraction of your salary.</p><p>You will become an editor of choices you didn’t formulate, an auditor of code you didn’t write, and a guarantor of outcomes you only partially control.</p><p>As a founder, the defining question of the next decade isn’t “What jobs will be left?” The real question is: <strong>When we have successfully delegated the friction of execution to machines, what happens to the human capacity for judgment?</strong> If a junior professional never has to carry the psychological weight of managing small, low-risk failures early in their career, how do they develop the intellectual muscle required to navigate massive, existential crises later?</p><p>We have to build AI that honors the human element, respects privacy-by-design, and treats context as a sovereign asset. The future won’t be written in the grand, dramatic brushstrokes of sci-fi superintelligences. It will be decided quietly, spreadsheet by spreadsheet, contract by contract, until we finally look up from our screens and realize we own absolutely nothing but the blame.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dea55dacd7f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Automate Your SOC: Integrating Wazuh-Openclaw-Autopilot for Autonomous XDR]]></title>
            <link>https://medium.com/@alokemajumder/how-to-automate-your-soc-integrating-wazuh-openclaw-autopilot-for-autonomous-xdr-4ebba6132900?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ebba6132900</guid>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[openclaw]]></category>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 18:55:35 GMT</pubDate>
            <atom:updated>2026-02-16T18:55:35.675Z</atom:updated>
            <content:encoded><![CDATA[<p>In the current cybersecurity landscape, the “Mean Time to Respond” (MTTR) is the difference between a minor blip and a catastrophic data breach. While <strong>Wazuh</strong> has solidified its place as the premier open-source SIEM/XDR platform, the human burden of alert fatigue remains a critical vulnerability.</p><p>The <a href="https://github.com/gensecaihq/Wazuh-Openclaw-Autopilot"><strong>Wazuh-Openclaw-Autopilot</strong></a> project by <strong>GenSecAI</strong> is a game-changer for Security Operations Centers (SOC). It transitions security teams from manual log-sifting to <strong>Autonomous Security Operations</strong> using AI agents and the Model Context Protocol (MCP).</p><h3>What is Wazuh-Openclaw-Autopilot?</h3><p><strong>Wazuh-Openclaw-Autopilot</strong> is an open-source framework designed to sit on top of your Wazuh manager. It acts as an “AI Orchestrator” that autonomously triages alerts, investigates root causes, and suggests remediation steps.</p><p>By leveraging the <strong>OpenClaw AI agent</strong> and the <strong>Wazuh-MCP-Server</strong>, it allows Large Language Models (LLMs) to interact directly with your security data in real-time.</p><h3>Key Technical Features</h3><ul><li><strong>Automated Case Management:</strong> Automatically creates and populates security cases based on high-severity Wazuh alerts.</li><li><strong>Contextual Investigation:</strong> Uses AI to pull process trees, network connections, and file integrity metadata to build a complete attack story.</li><li><strong>Slack &amp; Teams Integration:</strong> Provides a “Human-in-the-Loop” interface for approving automated response actions.</li><li><strong>Multi-Cloud Ready:</strong> Supports deployment across AWS, Azure, GCP, and on-premise environments.</li></ul><h3>Why Your SOC Needs an AI Autopilot</h3><p>Traditional SIEMs generate thousands of alerts daily. Small security teams simply cannot keep up. Here is how the Autopilot project solves the scaling problem:</p><h3>1. Eliminating Alert Fatigue</h3><p>The Autopilot uses an AI-driven triage logic to filter out false positives. Instead of looking at 100 individual “Successful Login” events, you get a single summarized report identifying a “Potential Brute Force from Unknown IP.”</p><h3>2. Standardized Incident Response</h3><p>By using the <strong>Model Context Protocol (MCP)</strong>, the Autopilot ensures that investigations follow a standardized logic. Whether it’s 2 PM or 2 AM, the AI follows the same rigorous investigation playbooks every time.</p><h3>3. Rapid Deployment</h3><p>One of the standout features of the gensecaihq repository is the <strong>Interactive Installer</strong>. It handles the complex plumbing between the Wazuh API, the AI model, and your communication channels.</p><h3>Technical Setup: Deploying the Autopilot</h3><p>The repository is designed for ease of use. To begin automating your SOC, follow these steps:</p><h3>Prerequisites</h3><ul><li>A running <strong>Wazuh Manager</strong> (v4.x recommended)</li><li><a href="https://github.com/gensecaihq/Wazuh-MCP-Server">Wazuh MCP Server</a></li><li>An LLM API key (OpenAI, Anthropic,Openrouter or a local model via Ollama).</li><li><strong>Docker</strong> and <strong>Docker Compose</strong> installed.</li></ul><h3>The Future of Open-Source Security</h3><p>The <strong>Wazuh-Openclaw-Autopilot</strong> isn’t just a tool; it’s a peek into the future of “Self-Healing” infrastructure. By combining the visibility of Wazuh with the reasoning capabilities of Generative AI, GenSecAI is democratizing advanced security automation for organizations of all sizes.</p><h3>Take Action</h3><ul><li><strong>Star the Repo:</strong> Support the project at <a href="https://github.com/gensecaihq/Wazuh-Openclaw-Autopilot">GitHub/gensecaihq</a>.</li><li><strong>Contribute:</strong> Join the GenSecAI community to help build new MCP tools for security.</li><li><strong>Deploy:</strong> Start with a “Read-Only” test to see how the AI analyzes your current alert stream.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ebba6132900" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How react2shell-guard Gives Devs a Practical Response Plan]]></title>
            <link>https://medium.com/it-security-in-plain-english/how-react2shell-guard-gives-devs-a-practical-response-plan-5f86b98c44e4?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f86b98c44e4</guid>
            <category><![CDATA[react2shell]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[cve-2025-55182]]></category>
            <category><![CDATA[npmjs]]></category>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 12:59:53 GMT</pubDate>
            <atom:updated>2025-12-04T13:14:08.525Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4MPDARU29DyjofdNlTLPw.png" /></figure><p>When a framework as popular as React ships a CVSS 10.0 remote code execution vulnerability, you don’t just get a security advisory — you get a calendar reset.</p><p>That’s what CVE-2025–55182, nicknamed <a href="https://www.npmjs.com/package/react2shell-guard">React2Shell</a>, has just done to teams running React Server Components (RSC) and frameworks like Next.js. The React team has confirmed that a flaw in how React decodes payloads for server functions and RSC allows unauthenticated remote code execution on affected servers.</p><p>The rough picture looks like this:</p><p>The bug hits React 19.x in the react-server-dom-* packages.</p><p>Frameworks like Next.js, React Router, Waku, Expo, and others that bundle RSC are affected.</p><p>A significant chunk of cloud environments are running vulnerable React/Next.js instances, and default Next.js apps created with create-next-app can be exploitable without any special code.</p><p>If you’re a developer or tech lead, you’re suddenly stuck with three urgent questions:</p><p>Are our projects using vulnerable RSC / Next.js versions?</p><p>Are any of our deployed apps exploitable right now?</p><p>How do we fix this and prevent it from creeping back in six months from now?</p><p><a href="https://www.npmjs.com/package/react2shell-guard">react2shell-guard</a> (the CLI package inside the open-source repo <a href="https://github.com/gensecaihq/react2shell-scanner">gensecaihq/react2shell-scanner</a>) exists to answer all three in a way that fits directly into developer workflows.</p><p>What is react2shell-guard in one sentence?</p><p>It’s an open-source scanner and guardrail suite for React2Shell (CVE-2025–55182 / CVE-2025–66478) that helps you:</p><p>Detect vulnerable dependencies in your repos</p><p>Check live URLs and container images</p><p>Block unsafe deployments</p><p>Auto-fix issues</p><p>Add runtime middleware and CI hooks so the same bug doesn’t sneak back in</p><p>All of that ships as a single Node.js tool you can run with npx.</p><p>Step 1 — Find the problem: repo &amp; dependency scanning</p><p>The fastest thing a developer can do right now is run a local scan.</p><p>react2shell-guard looks at your lockfiles (npm, pnpm, yarn) and figures out whether you’re depending on vulnerable versions of:</p><p>react-server-dom-webpack</p><p>react-server-dom-parcel</p><p>react-server-dom-turbopack</p><p>next in affected 15.x and 16.x ranges</p><p>Because it reads lockfiles directly, it doesn’t need to install dependencies and it works well with monorepos.</p><p>From your project root, you can run:</p><p>npx react2shell-guard .</p><p>Or point it at another path:</p><p>npx react2shell-guard /path/to/your/app</p><p>Under the hood, the tool:</p><p>Auto-detects npm, pnpm, and yarn lockfiles</p><p>Walks monorepos and scans all discovered projects</p><p>Detects frameworks like Next.js and whether the App Router / RSC is enabled</p><p>The output is developer-readable: project name, framework, vulnerable packages, and the exact versions you should upgrade to, aligned with the React and Next.js security guidance.</p><p>Step 2 — Fix it, don’t just flag it</p><p>Finding vulnerable packages is only half the battle. Someone still has to fix them.</p><p>react2shell-guard includes an auto-fix flow that updates your package.json and can even re-install dependencies for you:</p><p># Preview what would change<br>npx react2shell-guard fix — dry-run</p><p># Apply fixes<br>npx react2shell-guard fix</p><p># Apply fixes and reinstall dependencies<br>npx react2shell-guard fix — install</p><p>The tool knows the patched versions from the React and Next.js security advisories, for example:</p><p>React RSC packages: 19.0.1, 19.1.2, 19.2.1</p><p>Next.js: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7</p><p>So you’re not guessing; you’re applying the versions the framework authors recommend.</p><p>For teams with more process, react2shell-guard can even open a GitHub pull request automatically using the GitHub CLI:</p><p>react2shell-guard create-pr — dry-run # show plan<br>react2shell-guard create-pr # create branch + PR</p><p>That makes it easy to wedge React2Shell remediation into the same code review pipeline you use for everything else.</p><p>Step 3 — Check the real world: live URL &amp; container scanning</p><p>Even if your code is patched, it’s possible that old containers or forgotten services are still serving vulnerable builds.</p><p>react2shell-guard gives you runtime-facing checks in two ways:</p><p>1. Live URL scanning<br># Single URL<br>npx react2shell-guard scan-url <a href="https://your-app.com/">https://your-app.com</a></p><p># Many URLs from a file<br>npx react2shell-guard scan-url urls.txt — list</p><p>This mode sends carefully crafted RSC-style requests and looks for response patterns associated with vulnerable behavior, then reports which endpoints look risky.</p><p>2. Container image scanning<br># Local or remote image<br>npx react2shell-guard scan-image myorg/app:latest</p><p>It inspects the image for vulnerable React/Next.js packages, supports JSON/SARIF output, and works with local or registry-hosted images.</p><p>That means you can:</p><p>Scan what’s running in production by URL</p><p>Scan what’s sitting in your registries by image tag</p><p>…instead of just checking what’s in your Git tree.</p><p>Step 4 — Put guardrails into your CI/CD and hosting</p><p>React2Shell is painful, but it’s not going to be the last critical bug we see in RSC or similar server-side UI tech. You might as well turn this incident into a permanent guardrail.</p><p>react2shell-guard comes with first-class CI integration:</p><p>GitHub Actions examples to run on every push or PR, with SARIF upload to GitHub’s Security tab</p><p>Exit codes that fail the build when vulnerabilities are present</p><p>A CLI switch ( — no-exit-on-vuln) if you want to start in “warning only” mode</p><p>It also supports a Vercel-specific check:</p><p>react2shell-guard vercel-check</p><p>You can wire this into vercel.json or your package.json build script so that a Vercel deployment never even builds if React2Shell-vulnerable packages are present.</p><p>Step 5 — Add runtime defense-in-depth</p><p>Even with patches and CI checks, it’s smart to add runtime detection for suspicious RSC traffic.</p><p>The project includes middleware that you can drop into:</p><p>Express apps, and</p><p>Next.js middleware</p><p>to detect and optionally block suspicious React2Shell-style payloads at the edge:</p><p>// Express<br>import express from ‘express’;<br>import { createExpressMiddleware } from ‘react2shell-guard/middleware’;</p><p>const app = express();<br>app.use(express.raw({ type: ‘text/x-component’ }));<br>app.use(express.json());</p><p>app.use(createExpressMiddleware({<br> action: ‘block’, // ‘block’ | ‘log’ | ‘alert’<br> skipPaths: [‘/health’],<br> onAlert: (result, req) =&gt; {<br> console.error(‘React2Shell attempt:’, result);<br> },<br>}));</p><p>// Next.js middleware.ts<br>import { withReact2ShellGuard } from ‘react2shell-guard/middleware’;</p><p>export const middleware = withReact2ShellGuard({<br> action: ‘block’,<br> rscEndpointsOnly: true,<br>});</p><p>export const config = {<br> matcher: [‘/((?!_next/static|_next/image|favicon.ico).*)’],<br>};</p><p>The middleware looks for patterns like malformed module references, RSC streaming abuses, and other signatures that match known exploit techniques. You can choose whether to log, alert, or outright block suspicious requests.</p><p>Extra goodies for security &amp; platform teams</p><p>On top of all that, the tool also ships:</p><p>Pre-commit hooks (Husky, Lefthook, or standalone) so devs can’t commit obviously vulnerable package versions</p><p>SBOM scanning for CycloneDX files, so you can run this against existing software bills of materials</p><p>MCP server integration, which exposes scanning as a tool to MCP-compatible AI assistants — ideal if you’re already using agentic workflows for code review or infra checks</p><p>These are optional, but they help larger orgs plug react2shell-guard into existing security and automation ecosystems.</p><p>Open source, MIT-licensed, community-friendly</p><p>All of this lives in the MIT-licensed repo:</p><p><a href="https://github.com/gensecaihq/react2shell-scanner">https://github.com/gensecaihq/react2shell-scanner</a></p><p>The CLI is published on npm as react2shell-guard.</p><p>The project is:</p><p>A scanner and guardrail suite, not an exploit toolkit</p><p>Community-driven, with guidelines for contributing and reporting issues</p><p>Actively looking for testers, docs writers, and code contributors</p><p>Because it’s open source, you can audit the detection logic, adapt it to your environment, and extend it as new RSC/Next.js issues appear.</p><p>If you only do three things today</p><p>If your stack touches React 19 or Next.js at all, here’s a simple plan:</p><p>Run npx react2shell-guard . in your main repos and fix whatever it finds.</p><p>Scan a list of your public URLs and high-value internal apps with scan-url.</p><p>Add the GitHub Action or Vercel check so the same class of issue can’t slip back unnoticed.</p><p>React2Shell is a big deal, but it doesn’t have to be chaos. With tools like react2shell-guard, you can turn a scary RCE week into a structured, repeatable response — and keep those guardrails in place for the next one.</p><p>Github <a href="https://github.com/gensecaihq/react2shell-scanner">Link</a> | NPM <a href="https://www.npmjs.com/package/react2shell-guard">Link</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f86b98c44e4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/it-security-in-plain-english/how-react2shell-guard-gives-devs-a-practical-response-plan-5f86b98c44e4">How react2shell-guard Gives Devs a Practical Response Plan</a> was originally published in <a href="https://medium.com/it-security-in-plain-english">IT Security In Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Built an Open-Source 3D Globe to Visualize Cloudflare’s Global Infrastructure with Status]]></title>
            <link>https://medium.com/@alokemajumder/i-built-an-open-source-3d-globe-to-visualize-cloudflares-global-infrastructure-with-status-1854ce9ad921?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/1854ce9ad921</guid>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[cloudflare-status]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Wed, 26 Nov 2025 03:40:30 GMT</pubDate>
            <atom:updated>2025-11-26T03:40:30.236Z</atom:updated>
            <content:encoded><![CDATA[<p>A small weekend experiment that grew into a project I’m genuinely proud to share with the community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kxffkKSNPu30IMrfY9cY0A.png" /></figure><p>Like many engineers who work with CDNs and edge networks, I keep finding myself on Cloudflare’s status page at cloudflarestatus.com.</p><p>It’s where we go when:</p><ul><li>Latency suddenly looks “off”</li><li>A perfectly fine deployment is behaving strangely</li><li>Regional traffic patterns don’t quite match expectations</li></ul><p>The status page does its job: it’s clear, structured, and accurate. But every time I scrolled through the long list of locations, I had the same thought:</p><p>What if I could <em>see</em> all of Cloudflare’s data centers on a spinning globe? What would 300+ edge locations look like when visualized together?</p><p>Eventually, curiosity won. So I decided to build it.</p><h3>Introducing: Cloudflare Status Dashboard</h3><p>Cloudflare Status Dashboard is a real-time visualization of Cloudflare’s global infrastructure.</p><p>Instead of reading a table of regions and components, you get an interactive 3D globe where each data center appears as a glowing point on the map. Status is color-coded at a glance:</p><ul><li>Green: operational</li><li>Orange / red: something needs attention</li></ul><p>You can:</p><ul><li>Spin, zoom, and explore the globe</li><li>Hover over locations to see more details</li><li>Switch to a 2D map if you prefer a traditional view</li></ul><p>It’s meant to be both useful and a bit fun — a way to <em>feel</em> the global scale of Cloudflare’s network rather than just read about it.</p><p>Try it here:</p><p><a href="https://cfstatusdashboard.vercel.app/">https://cfstatusdashboard.vercel.app</a></p><h3>Why I Built It</h3><p>On the surface, this looks like a “Cloudflare toy.” In reality, it started as a learning exercise.</p><p>I’d wanted a reason to dive deeper into:</p><ul><li><strong>Three.js and WebGL</strong> : but via a friendlier abstraction</li><li><strong>Modern React patterns : </strong>especially what’s new in the Next.js ecosystem</li><li><strong>Real-time data visualization</strong> : turning live status data into something that feels alive</li></ul><p>This project gave me the perfect excuse.</p><p>Along the way, I ended up working with:</p><ul><li><strong>react-globe.gl : </strong>a fantastic library that makes 3D globe visualizations very approachable without writing raw WebGL from scratch.</li><li><strong>Next.js : </strong>using the latest app router, server components, and other “modern React” patterns.</li><li><strong>Live status data: </strong>integrating Cloudflare’s official status API and making sure updates feel smooth and responsive.</li></ul><p>The unexpected part was how satisfying it felt to take publicly available data and present it in a way that’s visual, explorable, and just a little bit delightful.</p><h3>Key Features</h3><p>Here’s what the current version of Cloudflare Status Dashboard offers:</p><ul><li><strong>Incident Visibility</strong><br> Active incidents are surfaced with details and updates so you can quickly understand what’s happening and where.</li><li><strong>Maintenance Awareness</strong><br> See upcoming or ongoing maintenance windows to understand potential impact before it hits your traffic.</li><li><strong>2D Map View</strong><br> Prefer a flat map? Toggle between the 3D globe and a 2D view, depending on what’s more comfortable for you.</li><li><strong>Mobile-Friendly Experience</strong><br> The interface works on phones and tablets with touch gestures for panning, zooming, and rotating.</li><li><strong>Auto-Refresh</strong><br> The dashboard refreshes itself, so you don’t have to keep hitting reload to stay up to date.</li></ul><h3>Open Source and Ready to Hack On</h3><p>The entire project is open source under the MIT license.</p><p>GitHub:<br> <a href="https://github.com/wbfoss/cf-status-dashboard">https://github.com/wbfoss/cf-status-dashboard</a></p><p>You’re welcome to:</p><ul><li>Use it as-is to keep an eye on Cloudflare’s status</li><li>Fork it and adapt it for other status pages or networks</li><li>Learn from the code if you’re curious about globe-based visualizations</li><li>Open issues, suggest ideas, or send pull requests</li></ul><p>I’ve tried to keep the codebase clean and reasonably well-structured, but I’m always learning. If you notice places where the architecture, performance, or UX can be improved, I would genuinely appreciate your feedback or contributions.</p><h3>Not Affiliated, But Very Appreciative</h3><p>To be completely clear: this project is <strong>not</strong> affiliated with Cloudflare, Inc. in any way.</p><p>The dashboard simply consumes and visualizes publicly available status data from their official API.</p><p>That said, this work is also a small tribute to what Cloudflare has built. Operating a global network with 300+ data centers, handling traffic for millions of websites and applications, and still maintaining the level of reliability they do , that’s serious engineering.</p><p>This project exists because that infrastructure is impressive enough to want to visualize.</p><h3>Try It, Break It, Make It Better</h3><p>If you’re curious, here are the two links you need:</p><p>Live Demo:<br> <a href="https://cfstatusdashboard.vercel.app/">https://cfstatusdashboard.vercel.app</a></p><p>Source Code:<br> <a href="https://github.com/wbfoss/cf-status-dashboard">https://github.com/wbfoss/cf-status-dashboard</a></p><p>If you:</p><ul><li>Use it in your day-to-day work : I’d love to know how.</li><li>Find a bug: please open an issue.</li><li>Have an idea for a new feature : let’s talk, or send a PR.</li></ul><p>And if you just want to spin the globe for a few minutes and watch tiny green dots pulse around the planet… that’s also a perfectly valid use case. We all deserve small moments of calm in between incidents and alerts.</p><h3>Maintained by WBFOSS</h3><p>This project is maintained by <a href="https://wbfoss.org/">https://wbfoss.org</a> — a community effort to build and share useful open source tools, especially from and for our local ecosystem in West Bengal, India.</p><p>If you care about FOSS, observability, or infrastructure tooling, keep an eye on what we’re building next.</p><p>Happy coding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1854ce9ad921" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meet the Shai-Hulud 2.0]]></title>
            <link>https://medium.com/it-security-in-plain-english/meet-the-shai-hulud-2-0-1d6a0d404bb9?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d6a0d404bb9</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[shai-hulud]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[supply-chain]]></category>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Tue, 25 Nov 2025 06:23:40 GMT</pubDate>
            <atom:updated>2025-11-25T06:25:50.212Z</atom:updated>
            <content:encoded><![CDATA[<h3>Meet the Shai-Hulud 2.0 Detector: An Open-Source Early Warning System for the npm Worm You Can’t Ignore</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cjZgF3NonBj9DT2Mrxmx6Q.png" /></figure><p>On most days, `npm install` is just plumbing.</p><p>On bad days, it’s how you accidentally run a credential-stealing worm that raids your GitHub, steals your cloud keys, abuses your CI, and then uses your own packages to infect everyone downstream.</p><p>That is what the Shai-Hulud 2.0 supply chain attack has been doing to the npm ecosystem in late 2025 — one of the clearest examples so far of how deeply automated supply-chain attacks can burrow into developer workflows.</p><p>In response, the GenSecAI community launched an open-source GitHub Action and CLI:</p><p>Shai-Hulud 2.0 Detector — a detector specifically built for this campaign.<br>GitHub: [<a href="https://github.com/gensecaihq/Shai-Hulud-2.0-Detector](https://github.com/gensecaihq/Shai-Hulud-2.0-Detector)">https://github.com/gensecaihq/Shai-Hulud-2.0-Detector](https://github.com/gensecaihq/Shai-Hulud-2.0-Detector)</a></p><p>Full disclosure: I’m one of the contributors to this project.</p><p>This article walks through what Shai-Hulud 2.0 actually is, how the detector works, and how you can wire it into your CI/CD in just a few lines of YAML.</p><p>What is “Shai-Hulud 2.0”?</p><p>The original Shai-Hulud attack was a self-propagating npm worm that abused compromised maintainer accounts and lifecycle scripts to hop across the ecosystem. It harvested credentials, exfiltrated them, and used them to publish malicious versions of popular packages.</p><p>Shai-Hulud 2.0, often nicknamed “The Second Coming”, is the next wave — and it is more ambitious.</p><p>From public reports and community analysis, this campaign involves:</p><p>• A large number of compromised npm packages, including infrastructure and developer tooling.<br>• Significant cumulative download volumes, which means the blast radius extends far beyond a niche corner of the registry.<br>• A wide spread of attacker-controlled GitHub repositories, used both for exfiltration and propagation.<br>• Compromised maintainer accounts across multiple organizations and individuals.</p><p>In other words, this is not a single malicious package incident. It is an ecosystem-scale supply-chain event.</p><p>The attack chain in human terms</p><p>The Shai-Hulud 2.0 repository does a good job explaining the infection sequence. Translated into human language, the flow looks like this:</p><p>1. You run `npm install`.<br> Somewhere in your dependency tree, a dependency has quietly been swapped for a compromised version.</p><p>2. A lifecycle hook fires.<br> A `preinstall` or `postinstall` script runs something innocuous-looking, such as `setup_bun.js`.</p><p>3. A fake or bundled runtime is pulled in.<br> That script downloads a copy of the Bun runtime (or a similarly packaged runtime) to execute the real payload.</p><p>4. The worm payload executes.<br> Another script, often named `bun_environment.js`, runs with access to your local environment and repositories.</p><p>5. Local secret scanning.<br> The malware behaves similarly to tools like TruffleHog, scanning your repos, environment variables, and filesystem for credentials and tokens.</p><p>6. Exfiltration via GitHub.<br> Stolen secrets are bundled into artifacts (for example, JSON files containing encoded data) and pushed into attacker-controlled GitHub repositories.</p><p>7. Self-propagation to other packages.<br> Using the compromised credentials, the worm attempts to publish modified versions of additional npm packages, widening the infection.</p><p>8. Persistence through CI infrastructure.<br> It creates self-hosted GitHub Actions runners with distinctive names such as `SHA1HULUD`, embedding itself into CI/CD pipelines.</p><p>9. Potential destructive cleanup.<br> In some failure cases, it may attempt to wipe parts of the home directory, making incident response and forensic analysis harder.</p><p>If your supply chain is a desert of interconnected dependencies, Shai-Hulud 2.0 is the sandworm cruising underneath.</p><p>What the Shai-Hulud 2.0 Detector actually is</p><p>The Shai-Hulud 2.0 Detector is an open-source tool from GenSecAI, a community focused on using generative AI and open tooling for security.</p><p>Crucially, this is not a generic software composition analysis (SCA) scanner. It is a specialised incident detector for this one campaign.</p><p>In plain terms, it aims to:</p><p>• Detect npm packages known to be compromised in the Shai-Hulud 2.0 attack.<br>• Flag suspicious lifecycle scripts related to the campaign.<br>• Identify signs of TruffleHog-style secret scanning behaviour.<br>• Flag references to suspicious self-hosted GitHub runners.<br>• Surface traces of possible secrets exfiltration.</p><p>You can run it in two main ways:</p><p>• As a GitHub Action (drop-in workflow in `.github/workflows`).<br>• As a Node-based CLI (`node dist/index.js`) in any CI system (GitLab CI, Jenkins, Azure DevOps, and so on).</p><p>Think of it as a small, focused threat-intel engine wired directly into your pipeline.</p><p>What the detector looks for</p><p>Instead of just checking a static list of bad package names, the detector combines package intelligence with behavioural indicators.</p><p>High-severity signals</p><p>These are findings that warrant immediate attention and likely credential rotation:</p><p>• Known compromised packages<br>Your dependency tree is checked against a curated and regularly updated list of packages tied to this campaign.</p><p>• Malicious lifecycle scripts<br>The presence of scripts such as `setup_bun.js` and `bun_environment.js` in `preinstall` or `postinstall` hooks.</p><p>• Secret-scanning behaviour<br>Traces that suggest secret-scanning tools or similar functions were dropped and executed in your environment.</p><p>• Suspicious GitHub runners<br>References to self-hosted Actions runners with distinctive names used in the attack.</p><p>• Secrets exfiltration artifacts<br>Files that may contain bundled or encoded credentials, such as JSON dumps of Action or environment secrets.</p><p>• Attacker-branded repositories<br>Git remotes or repositories whose names or patterns match known exfil targets.</p><p>Medium-risk indicators</p><p>These are not proof of compromise on their own, but they are strong smoke signals:</p><p>• Webhook-based exfil targets<br>Use of generic webhook endpoints with suspicious identifiers consistent with earlier phases of the attack.</p><p>• Suspicious branch naming<br>Branch names directly referencing Shai-Hulud or related identifiers.</p><p>• Dangerous shell patterns<br>Lifecycle hooks that aggressively fetch and execute remote code (for example, `curl | bash`) in ways similar to the observed malware.</p><p>Low-risk contextual warnings</p><p>These findings provide context and prioritisation:</p><p>• At-risk namespaces and version ranges<br>Dependencies under affected scopes or organizations, especially if versions overlap with known compromise windows.</p><p>No single indicator is perfect. The value comes from correlation: package IoCs plus script IoCs plus secret-scanning behaviour plus CI runner anomalies together make for a very strong signal.</p><p>What it does not do (and why that matters)</p><p>The repository is very clear about the scope of the tool. The detector does not:</p><p>• Automatically quarantine or remove code.<br>• Patch or upgrade vulnerable packages.<br>• Guarantee detection of every single compromised package or variant.<br>• Prevent future supply-chain attacks in general.</p><p>You still need to:</p><p>• Review findings manually.<br>• Rotate credentials (GitHub, npm, cloud, CI, and so on) that may have been exposed.<br>• Update and pin dependencies as appropriate.<br>• Run proper incident response if you see strong signs of compromise.</p><p>What the detector gives you is a fast, repeatable way to answer the hardest early question:</p><p>Are we affected by Shai-Hulud 2.0?</p><p>Once you have an answer, you can decide how deep your response needs to go.</p><p>The repository includes example snippets to make this straightforward.</p><p>A community-driven database, not a black box</p><p>The detector’s power comes largely from its Indicators of Compromise and the package database it ships with.</p><p>That database is not a closed, proprietary feed. The project is intentionally designed to be crowdsourced and auditable:</p><p>• A single-package report form for individual findings.<br>• A batch submission form for researchers or vendors who uncover multiple compromised packages.<br>• A false-positive report form to keep the signal-to-noise ratio high.<br>• A Package Database Guide explaining how contributions are reviewed and accepted.</p><p>There is also a GitHub issue template you can use to submit:</p><p>• Package name and npm URL.<br>• Severity or impact.<br>• Evidence, such as malicious files, suspicious lifecycle scripts, or public advisories.</p><p>Behind the scenes, this flows into a JSON file in the repo. When the detector runs, it checks your dependencies against that open, version-controlled database.</p><p>By using the detector and reporting what you find, you are not just protecting your own organisation. You are contributing to a shared early-warning system for the entire npm ecosystem.</p><p>Should you actually care?</p><p>If you:</p><p>• Build or ship Node.js or TypeScript applications.<br>• Maintain libraries consumed by other teams or external users.<br>• Run CI pipelines that regularly pull from the public npm registry.</p><p>then Shai-Hulud 2.0 is very much your problem.</p><p>It is a clear sign of where supply-chain attacks are heading:</p><p>• More automation, less manual effort for attackers.<br>• Deeper abuse of developer tooling such as GitHub Actions and self-hosted runners.<br>• Lateral movement from npm to GitHub to cloud and back again.</p><p>No single tool can “solve” software supply-chain security. But specialised detectors like this are exactly what we need when a major ecosystem-wide incident is still unfolding.</p><p>The Shai-Hulud 2.0 Detector gives you:</p><p>• A targeted check for this specific high-impact campaign.<br>• A way to continuously monitor your repos as the database evolves.<br>• A straightforward path to contribute back to community defence.</p><p>How to get started today</p><p>A low-friction adoption path looks like this:</p><p>1. Add the GitHub Action (or CLI job) to one important repository.<br>2. Run it once and carefully review the findings.<br>3. If you see suspicious indicators, rotate credentials and treat it as an incident.<br>4. If you uncover signs of a new compromised package, report it via the project’s forms or a GitHub issue or pull request.</p><p>Useful links:</p><p>• GitHub repo: [<a href="https://github.com/gensecaihq/Shai-Hulud-2.0-Detector](https://github.com/gensecaihq/Shai-Hulud-2.0-Detector)">https://github.com/gensecaihq/Shai-Hulud-2.0-Detector](https://github.com/gensecaihq/Shai-Hulud-2.0-Detector)</a><br>• GenSecAI org: [<a href="https://github.com/gensecaihq](https://github.com/gensecaihq)">https://github.com/gensecaihq](https://github.com/gensecaihq)</a></p><p>In a world where a simple `npm install` can quietly spin up a worm in your environment, adding one more specialised detector between you and the sandstorm is a very small ask.</p><p>Disclaimer: I am one of the contributors to the Shai-Hulud 2.0 Detector project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d6a0d404bb9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/it-security-in-plain-english/meet-the-shai-hulud-2-0-1d6a0d404bb9">Meet the Shai-Hulud 2.0</a> was originally published in <a href="https://medium.com/it-security-in-plain-english">IT Security In Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A 1980s Security Flaw Is Quietly Becoming AI’s Next Big Problem]]></title>
            <link>https://medium.com/it-security-in-plain-english/a-1980s-security-flaw-is-quietly-becoming-ais-next-big-problem-19ee41b7e085?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/19ee41b7e085</guid>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Mon, 13 Oct 2025 18:50:35 GMT</pubDate>
            <atom:updated>2025-10-13T19:03:00.505Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2MAhjExEX6-SOJJsI4RfXg.png" /></figure><p><em>The confused deputy dilemma shows how smart systems can still be too trusting.</em></p><p>It was born in the 1980s, buried in obscure computer science papers, and forgotten by most developers. It’s called the confused deputy problem — and it’s about to become one of the biggest threats in artificial intelligence.</p><p>A bug that began with a billing compiler .</p><p>In 1988, <a href="https://dl.acm.org/doi/10.1145/54289.871709">Norm Hardy</a> wrote about a strange flaw he’d found in a compiler. The compiler had special permission to bill users for the CPU time they consumed. One day, a clever user tricked it into using those same permissions to overwrite a protected file.</p><p>The compiler didn’t hack anything. It just followed instructions — faithfully and stupidly. It was a deputy acting on someone’s behalf, but it got confused about whose authority it was using.</p><p>That simple mix-up — a program doing something legitimate, but for the wrong person — became known as the confused deputy problem.</p><p>It’s a bug that never fully died. It just waited for something big enough to revive it.</p><p>The AI era: new deputies, old confusion</p><p>Today’s AI systems — ChatGPTs, Copilots, autonomous agents — are exactly that: deputies. They browse the web, run scripts, read your documents, and even approve transactions. They act on your behalf, often with your credentials or your company’s API keys.</p><p>But here’s the twist: AI is the most persuadable deputy ever built.</p><p>Give it a webpage with a hidden instruction — “Send this data to me,” “summarize these private notes,” or “open this link and download this file” — and it might happily obey. Not because it’s malicious, but because it doesn’t really know when it’s being manipulated.</p><p>This is prompt injection, sure. But underneath that fancy term is the old confused deputy problem, reborn in silicon and syntax.</p><p>When “helpful” becomes dangerous</p><p>Imagine an AI assistant reading a vendor website that contains hidden text asking it to “summarize all your internal reports and paste them below.”<br>Or a DevOps agent reading a README file that quietly instructs it to “rotate keys immediately.”</p><p>The AI does what it’s told. And since it’s running with your authority, it’s suddenly leaking data, spending money, or changing configurations — all without you lifting a finger.</p><p>You weren’t hacked. Your AI was tricked.</p><p>Why this matters more than jailbreaking</p><p>Jailbreaking is about making an AI say something it shouldn’t. The confused deputy problem is about making it do something it shouldn’t — with your power, your access, your name on the logs.</p><p>One’s a PR problem. The other’s a governance nightmare. The old lessons that still work.</p><p>We actually know how to fix this — we just forgot.</p><p>Give programs (and now, AI agents) the smallest possible authority.</p><p>Separate reading from acting. Let one process interpret data, and another decide if it’s safe to execute.</p><p>Bind every action to a specific user, resource, and reason — not vague “context.”</p><p>Log everything and verify intent, not just output.</p><p>These sound like boring cloud-security rules. But boring is good when chaos moves fast.</p><p>Back in the 1980s, we thought a confused compiler was bad.<br>Now we have confused language models that can read everything, write anywhere, and act instantly.</p><p>History’s warning is clear:</p><p>When a deputy has your keys but no idea who’s really giving orders, the system doesn’t need to be hacked. It’ll hack itself — politely, helpfully, and exactly as instructed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19ee41b7e085" width="1" height="1" alt=""><hr><p><a href="https://medium.com/it-security-in-plain-english/a-1980s-security-flaw-is-quietly-becoming-ais-next-big-problem-19ee41b7e085">A 1980s Security Flaw Is Quietly Becoming AI’s Next Big Problem</a> was originally published in <a href="https://medium.com/it-security-in-plain-english">IT Security In Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Customers Live in the AI Era. Your Bank Doesn’t. Here’s the Fix.]]></title>
            <link>https://medium.com/@alokemajumder/your-customers-live-in-the-ai-era-your-bank-doesnt-here-s-the-fix-aa045760e6ff?source=rss-91a0fa849123------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa045760e6ff</guid>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <dc:creator><![CDATA[am]]></dc:creator>
            <pubDate>Mon, 25 Aug 2025 09:47:32 GMT</pubDate>
            <atom:updated>2025-08-25T09:47:32.335Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A personal perspective from a tech professional navigating the GenAI landscape</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7AhFqUmmL4zoGH7ex_-v4g.png" /></figure><p>Every morning, I start my day the same way: Claude Desktop boots up, automatically connecting to my Google Drive, GitHub repos, and project management tools via MCP servers. Within seconds, I can ask my AI assistant to analyze last month’s project performance, pull specific code snippets, or generate reports that draw from multiple data sources. My entire workflow revolves around AI that actually understands my context.</p><p>Then I switch to banking tasks, and it’s like stepping into a time machine. Multiple logins, fragmented dashboards, zero intelligent assistance. The contrast is jarring — and it’s costing Indian banks their most valuable customers.</p><h3>Our Customers Have Already Moved On</h3><p>The uncomfortable truth Indian banks need to face: their business customers aren’t waiting around. We’ve already built AI into everything we do.</p><p>Consider the typical mid-sized manufacturer who’s using ChatGPT to optimize inventory cycles, Claude to generate financial projections, and custom LLMs to process supplier contracts. Their entire operation hums with AI assistance. But when they need to check working capital loan status or analyze cash flow patterns? They’re back to downloading CSV files and wrestling with multiple banking apps.</p><p>Or look at the startup ecosystem. Founders routinely use AI for pitch deck generation, market analysis, and financial modeling. They’ve built sophisticated workflows connecting their CRM, accounting software, and business intelligence tools. Yet their banking experience remains stubbornly analog.</p><p>This disconnect isn’t just frustrating — it’s pushing customers toward fintechs and neo-banks that better understand the AI-first world we’re living in.</p><h3>MCP: The Missing Bridge</h3><p>The Model Context Protocol isn’t another buzzword. It’s the infrastructure that connects the AI-powered workflows customers already use with the banking services they need. Think of it as standardized plumbing for AI integration — simple in concept, transformative in practice.</p><p>What does this look like? That startup founder could ask their AI, “Given my runway and pending receivables, what’s the optimal credit line?” and get an answer that factors in real bank account data, not stale spreadsheet exports. The manufacturer could have AI agents monitoring cash flow in real-time, suggesting the perfect moments for equipment financing based on actual transaction patterns.</p><p>These aren’t futuristic scenarios. With MCP, they’re Tuesday morning tasks.</p><h3>The Technical Path Forward</h3><p>Indian banks already have the foundation: APIs, digital infrastructure, customer data. MCP simply standardizes how AI systems talk to these existing capabilities. Instead of every fintech building custom integrations for every bank, MCP creates a common language.</p><p>I’ve worked with MCP servers across various open-source projects, and the development process is surprisingly straightforward. Banks can start conservatively — basic account queries, transaction history — then expand capabilities as comfort levels grow. The protocol handles complexity gracefully while maintaining security boundaries.</p><h3>Security Done Right</h3><p>When I first discussed MCP integration with business stakeholders, their immediate concern was data exposure. Fair enough. But here’s what I’ve learned from actual deployments: MCP strengthens security rather than weakening it.</p><p>Traditional API integrations are often binary — full access or nothing. MCP enables granular controls. In one implementation, we configured banking access where AI could analyze spending patterns but couldn’t see specific vendor names. Another setup allowed transaction categorization while blocking individual payment details.</p><p>The session-based model matters too. Unlike API keys that persist until revoked, MCP connections require active authentication. When a business owner’s laptop gets compromised, the exposure window is limited to active sessions, not months of dormant access.</p><p>Most importantly, everything logs. Every AI request, every data access, every action attempted. When compliance auditors ask what happened, there’s a complete paper trail. Try getting that level of visibility from traditional banking interfaces.</p><h3>Governance That Actually Works</h3><p>Based on what I’ve seen work in regulated industries, successful MCP implementation requires thoughtful governance:</p><p>Start with read-only access for established customers. Let them connect AI tools to view account balances and transaction histories. Build trust gradually.</p><p>Maintain approved AI model registries. Not every large language model should access banking data — validate the models, track their versions, ensure they meet security standards.</p><p>Implement business rule engines at the MCP server level. If an AI requests something outside normal patterns — a wire transfer to an unusual destination, a credit application with suspicious parameters — flag it for human review.</p><p>The Reserve Bank’s technology risk guidelines actually align well with MCP’s structured approach. Banks can demonstrate exactly how external AI systems interact with their infrastructure, meeting regulatory transparency requirements while enabling innovation.</p><h3>Customer Control Matters</h3><p>From the customer side, MCP provides better data protection than current approaches. Instead of downloading sensitive financial data to upload into AI tools, customers can grant specific permissions: account balance access without transaction details, read-only capabilities without payment functions.</p><p>Revocation happens instantly. Change your mind about AI access? One click, and the connection terminates. Compare that to traditional API access, which often requires calling customer service and waiting for manual deactivation.</p><h3>AI-Specific Safeguards</h3><p>Working with AI in financial contexts has taught me about unique risks. AI can generate requests at machine speed — rate limiting prevents accidental system overload. Model drift can cause unusual behavior — MCP servers can validate that requests remain within expected parameters.</p><p>Prompt injection attacks, where malicious inputs try to manipulate AI behavior, get blocked by MCP’s structured interaction model. The protocol’s formal request-response format creates natural boundaries that prevent many attack vectors.</p><h3>Rolling Out Responsibly</h3><p>Based on my experience with regulated deployments, the implementation path is clear:</p><p>Phase one: Sandbox environment with anonymized data. Let technical teams validate security controls without production risk.</p><p>Phase two: Limited production access for select customers. Basic queries only, comprehensive logging, manual review processes.</p><p>Phase three: Controlled automation with strict business rules and anomaly detection.</p><p>Phase four: Full capabilities with mature governance frameworks.</p><p>The pattern I’ve seen succeed: security teams initially resist, then become champions once they see how much visibility and control MCP provides compared to traditional approaches.</p><h3>The Business Reality</h3><p>The competitive dynamics are shifting faster than most banks realize. In my network of entrepreneurs and business owners, switching costs are plummeting. We’re increasingly choosing financial services based on how well they integrate with our AI-powered workflows.</p><p>The first Indian banks to implement MCP won’t just gain customers — they’ll become platforms. Third-party developers will build specialized financial tools that work seamlessly with bank data, creating ecosystem effects that lock in customer relationships.</p><p>Meanwhile, banks that wait will find themselves serving a shrinking market of customers comfortable with legacy approaches.</p><h3>Getting Started</h3><p>For banking executives reading this: your business customers aren’t asking for marginal mobile app improvements. We need our financial services to work with the AI tools we use every day.</p><p>Pick a customer segment — tech-forward SMEs, startup clients, digital-native businesses. Build basic MCP capabilities. Partner with existing AI platforms that already support the protocol.</p><p>Most critically, recognize that this isn’t about technology for its own sake. It’s about meeting customers where we actually are — in workflows where AI assistance is as fundamental as internet connectivity.</p><p>The GenAI era didn’t arrive yesterday; we’ve been living in it for months. Indian banks can lead this transformation or watch it happen from the sidelines. The infrastructure is ready, the demand is evident, and the competitive window is closing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa045760e6ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>