<?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 Billy Michael on Medium]]></title>
        <description><![CDATA[Stories by Billy Michael on Medium]]></description>
        <link>https://medium.com/@billy_michael?source=rss-e7bb76bd4669------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AdxUl8JeEzaIp2efzM90aA.jpeg</url>
            <title>Stories by Billy Michael on Medium</title>
            <link>https://medium.com/@billy_michael?source=rss-e7bb76bd4669------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:42:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@billy_michael/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[How AI Turned Every Developer Into a Secrets Manager]]></title>
            <link>https://medium.com/@billy_michael/how-ai-turned-every-developer-into-a-secrets-manager-ded616426780?source=rss-e7bb76bd4669------2</link>
            <guid isPermaLink="false">https://medium.com/p/ded616426780</guid>
            <category><![CDATA[secrets]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Billy Michael]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 10:56:02 GMT</pubDate>
            <atom:updated>2026-04-13T13:18:30.255Z</atom:updated>
            <content:encoded><![CDATA[<h4>AI coding assistants need API keys to work. Those keys are piling up on developer laptops in plaintext, and nobody is managing them.</h4><p>Over 24,000 secrets were hardcoded in MCP config files within a year of MCP’s “launch”. That number, from an investigation by <a href="https://www.gitguardian.com/">GitGuardian</a>, will surprise almost nobody who has looked at their own MCP config files.</p><p>It is a small slice of a much larger problem: nearly 29 million new secrets were leaked in public GitHub commits in 2025, up 34% year over year. But the committed secrets get the headlines. The ones quietly accumulating on developer laptops, in plaintext config files, shell profiles and .env files, don’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*cSu0V3qHJuXtxUwQQF-18Q.png" /><figcaption>Image based on data from State of Secrets Sprawl 2026 by GitGuardian</figcaption></figure><p>We talk a lot about what AI has done to code review, to documentation, to the pace of shipping. We talk less about what it has done to the credential footprint of every developer who uses it.</p><p>This is a story about a developer. Let’s call her Sam.</p><h3>Sam, Before AI</h3><p>Sam joined her team in 2022. Her local development environment was blissfully uncomplicated.</p><p>She had an SSH key for GitHub, a VPN certificate, and an IDE that ran locally. When she needed Jira, Datadog, or Confluence, she opened a browser.</p><p>Her interaction with the wider toolchain was almost entirely mediated by browsers and SSO. Okta handed her a session, the session let her into the app, and the app showed her what she was allowed to see.</p><p>Secrets existed, of course, but they lived in CI runners, in <a href="https://www.hashicorp.com/en/products/vault">HashiCorp Vault</a>, in the hands of the platform team. A typical developer laptop held maybe three or four long-lived credentials, and most of those were scoped narrowly enough that nobody lost sleep over them.</p><p>When Sam left her laptop on a train, the incident response was unpleasant but contained. Rotate the SSH key, trigger a remote wipe. Done.</p><h3>Sam, After AI</h3><p>Fast forward to today. Sam still writes code, but the shape of her workstation has changed in ways that would have seemed absurd three years ago.</p><p>Her editor runs an AI assistant. For that assistant to actually do useful work, she has set up MCP servers, each of which needs its own credentials. That means Sam now has a broadly scoped GitHub personal access token so the agent can read issues and open PRs.</p><p>She also has tokens for Jira, Confluence, Slack and Datadog, because each server must authenticate independently to systems she used to access via SSO. Add in credentials for Snowflake, AWS and various CLIs, and the pile grows fast. Each agentic tool she tries brings its own small constellation of credentials, and she rarely deletes the ones from last month.</p><p>Sam’s laptop, which used to hold three secrets, now holds thirty. Most are long-lived. Most are over-scoped, because strict scoping is annoying and the assistant works better when you just tick all the boxes. A meaningful fraction of them are production-adjacent credentials sitting in plaintext .env files, shell profiles, or MCP config JSON which lives in her home directory. It looks something like this:</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;github&quot;: {<br>      &quot;command&quot;: &quot;docker&quot;,<br>      &quot;args&quot;: [<br>        &quot;run&quot;, &quot;-i&quot;, &quot;--rm&quot;,<br>        &quot;-e&quot;, &quot;GITHUB_PERSONAL_ACCESS_TOKEN&quot;,<br>        &quot;ghcr.io/github/github-mcp-server&quot;<br>      ],<br>      &quot;env&quot;: {<br>        &quot;GITHUB_PERSONAL_ACCESS_TOKEN&quot;: &quot;ghp_xYz123SuperSecretOverScopedToken...&quot;<br>      }<br>    },<br>    &quot;atlassian&quot;: {<br>      &quot;command&quot;: &quot;npx&quot;,<br>      &quot;args&quot;: [&quot;-y&quot;, &quot;mcp-atlassian&quot;],<br>      &quot;env&quot;: {<br>        &quot;JIRA_URL&quot;: &quot;https://company.atlassian.net&quot;,<br>        &quot;JIRA_USERNAME&quot;: &quot;sam@company.com&quot;,<br>        &quot;JIRA_API_TOKEN&quot;: &quot;ATATT3xFfGF0dG9rZW5faW5zZXJ0X2hlcmU...&quot;<br>      }<br>    },<br>    &quot;slack&quot;: {<br>      &quot;command&quot;: &quot;npx&quot;,<br>      &quot;args&quot;: [&quot;-y&quot;, &quot;@modelcontextprotocol/server-slack&quot;],<br>      &quot;env&quot;: {<br>        &quot;SLACK_USER_TOKEN&quot;: &quot;xoxp-1234567890-0987654321-supersecrettoken...&quot;<br>      }<br>    }<br>  }<br>}</pre><p>This file sits in the user’s home directory with standard user permissions, readable by every process Sam runs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lGCBREscZHNNQ3r0uhdLaw.png" /></figure><h3>The Ghost in the Audit Log</h3><p>Every one of those tokens is tied directly to Sam’s identity. When the AI assistant uses them to act on her behalf, the audit logs don’t record an agent making a decision. They record Sam making one.</p><p>If the agent acts unpredictably and exposes a repository or writes over an epic, there is no forensic distinction between Sam doing it intentionally and the assistant doing it autonomously.</p><p>This isn’t a theoretical concern. It’s a non-repudiation gap that already exists today in every organisation where developers use agentic tools, and most incident response playbooks have no idea it’s there.</p><h3>What Actually Changed</h3><p>The interesting thing is that none of the underlying products changed their security model. Jira still has the same API it had in 2020. GitHub tokens work the way they always did. Datadog’s key management is unchanged. What changed is the interface between the human and the tool.</p><p>Before AI, humans talked to products through UIs, and UIs rode on SSO. That meant the hard problem of authentication was solved once, centrally, by the identity team. Your security posture was effectively “is this user still employed, and is their session still valid.” API keys existed for machines, and machines lived in CI or in production, where they were managed by people whose job it was to manage them.</p><p>After AI, humans talk to products through agents, and agents cannot ride on SSO (In most cases). An MCP server running on Sam’s laptop has no browser, no interactive login flow, no way to complete a SAML handshake on her behalf. So it falls back to the one thing every SaaS product still supports: the long-lived API token.</p><p>This is not really the developer’s fault, and it’s not really the agent’s fault either. SaaS vendors still default to long-lived tokens because they are the lowest-common-denominator authentication method: universally supported, trivially easy to implement, and backward-compatible with every integration pattern going back a decade.</p><p>OAuth device flows exist. Workload identity federation exists. But almost no MCP server implementation has adopted them yet, because the ecosystem is young and the path of least resistance is a plaintext key in an environment variable.</p><p>The result is a structural mismatch: a modern identity system at the front door (SSO, MFA, session management) and a credential model from 2015 at the side entrance. The assistant works, Sam is happy, and a credential that used to live in a locked-down CI runner is now sitting in a config file next to her downloads folder.</p><blockquote><em>Every developer has quietly become a miniature secrets manager, and nobody redesigned the identity system to account for it.</em></blockquote><h3>The Numbers</h3><p><a href="https://www.gitguardian.com/state-of-secrets-sprawl-report-2026">GitGuardian’s State of Secrets Sprawl 2026 report</a> puts those headline figures in context, and some of the most relevant data is not about code at all.</p><p>Those 24,000 MCP config secrets are just the ones that made it into public commits. The sprawl is often actively encouraged by official documentation suggesting that developers pass API keys as CLI arguments or store them in JSON config files. The real number, sitting on developer machines that no scanner has touched, is almost certainly far larger.</p><p>The Shai-Hulud 2 supply chain attack showed what the exposure actually looks like in practice. Across nearly 7,000 compromised systems, each live secret appeared in an average of eight different locations on the same machine, and the sprawl had already moved beyond developer laptops: 59% of those machines were CI/CD runners.</p><p>Perhaps most alarming is the remediation gap. When GitGuardian retested secrets that were confirmed valid in 2022, 64% were still active and exploitable in early 2026. That is four years of open access from a single leak. These are exactly the kind of long-lived, never-rotated tokens now accumulating in MCP config files and .env files on developer machines. Detection without revocation is not security; it is inventory.</p><p>Today, the primary threat to Sam is not leaving her laptop on a train. On March 31st 2026, attackers compromised a maintainer account for Axios, the JavaScript HTTP client with over 100 million weekly downloads, and published versions containing a remote access trojan. Any project that ran npm install during that window, whether triggered by a developer or an AI assistant, silently deployed malware that harvested credentials from the machine. That is the world Sam now lives in: a single dependency update away from having her entire credential footprint scooped up in seconds.</p><h3>Five Things You Can Do <strong>Today</strong></h3><p>I am not going to pretend there is a clean answer. The honest position is that the industry is behind where it needs to be on this, and most of the right primitives are still being built. But the core principle is straightforward: secrets should not live on developer machines in plaintext. They need to be managed, scoped, short-lived, and injected at runtime.</p><ol><li><strong>Use dynamic secrets instead of static ones.</strong> Tools like <a href="https://www.hashicorp.com/en/products/vault">HashiCorp Vault</a> can issue short-lived credentials that expire in hours and are scoped to a single task. No more long-lived keys rotting in .env files for six months.</li><li><strong>Move development environments off the laptop.</strong> Products like <a href="https://coder.com/">Coder </a>provision cloud-based, ephemeral workspaces where Vault-managed secrets are injected at startup and never touch the local filesystem. If the laptop is compromised, there is nothing to steal.</li><li><strong>Prefer CLIs over MCP servers where authentication allows it.</strong> Many official CLIs already support OAuth device flows and SSO sessions, while their MCP equivalents still require a plaintext token in a config file. If the CLI can authenticate properly, point your agent at that instead. The fewer long-lived credentials on the machine, the smaller the blast radius.</li><li><strong>Scan developer workstations, not just repositories.</strong> Tools like GitGuardian can scan laptops and working directories, not just code repositories, and will almost certainly surface an uncomfortable number of long-lived credentials that nobody knew were there. You cannot manage what you cannot see.</li><li><strong>Scope and expire everything.</strong> Every token a developer creates should be the smallest possible version of itself: read-only when read-only will do, project-scoped rather than org-scoped, expiring in thirty days rather than never.</li></ol><p>And then there is the cultural piece, which underpins all five. Developers need to understand that the MCP server they installed last weekend is not a toy. It is a process running on their machine with production-adjacent credentials to systems that matter.</p><h3>The Bigger Picture</h3><p>I think we will eventually get proper machine identity for agents. Short-lived tokens issued on demand, scoped to a single task, tied to the human in the loop, and revoked the moment the task ends.</p><p>Some of the pieces already exist. OAuth device flows, workload identity federation, and the emerging work around agent identity all point in the right direction. GitGuardian’s 2026 report frames the destination well: organisations need to move from reactive secrets detection to genuine non-human identity governance, knowing what non-human identities exist in the environment, who owns them, what they can access, and when they should expire.</p><p>But the gap between where we are and where we need to be is wide, and in the meantime, the secrets are piling up on laptops at a rate that should be making more people nervous than it currently is.</p><p>Sam is still shipping code. The assistant is still making her faster. That part of the story is real. But the quiet cost of the productivity gain is a credential footprint that has grown by an order of magnitude.</p><p>Are you confident in what is sitting on your developers’ laptops?</p><p><em>If you are reading this and wondering how many plaintext credentials are sitting on your developers’ laptops right now, that is exactly where we start. At </em><a href="https://www.globallogic.com/"><strong><em>GlobalLogic</em></strong></a><em>, we work with </em><a href="https://www.gitguardian.com/"><strong><em>GitGuardian</em></strong></a><em>, </em><a href="https://www.hashicorp.com/en/products/vault"><strong><em>HashiCorp </em></strong></a><em>and </em><a href="https://coder.com/"><strong><em>Coder </em></strong></a><em>to help organisations uncover secrets sprawl, move to dynamic credentials, and build remote development environments where secrets never touch a developer’s machine. If you are looking at this problem and wondering where to begin, get in touch via </em><a href="/service/mailto:billy.michael@globallogic.com"><em>billy.michael@globallogic.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ded616426780" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The $6 Million Secret — Why Financial Services Organisations Can’t Afford Credential Compromise]]></title>
            <link>https://medium.com/@billy_michael/the-6-million-secret-why-financial-services-organisations-cant-afford-credential-compromise-8bb253627ca7?source=rss-e7bb76bd4669------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bb253627ca7</guid>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[secret-management-tools]]></category>
            <category><![CDATA[secrets]]></category>
            <category><![CDATA[hashicorp]]></category>
            <dc:creator><![CDATA[Billy Michael]]></dc:creator>
            <pubDate>Wed, 26 Nov 2025 12:12:21 GMT</pubDate>
            <atom:updated>2025-11-26T12:20:52.067Z</atom:updated>
            <content:encoded><![CDATA[<h3>The $6 Million Secret — Why Financial Services Organisations Can’t Afford Credential Compromise</h3><p>Recent breaches at Marks &amp; Spencer, Jaguar Land Rover, and Collins Aerospace show how attackers exploit weaknesses to deepen access once inside a network. The threat landscape is rapidly intensifying, with financial services experiencing breach costs <strong>28% above the cross-industry average</strong> (Cost of a Data Breach 2025, n.d.) while facing unique operational and regulatory pressures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*85H5PTA83sK6v4s6" /><figcaption>Photo by <a href="https://unsplash.com/@towfiqu999999?utm_source=medium&amp;utm_medium=referral">Towfiqu barbhuiya</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>You only have to look at the statistics to see the urgency:</p><ul><li><strong>~40% of all stolen data involves secrets or credentials</strong><br> (2025 Data Breach Investigations Report)</li><li><strong>$4.88M average global breach cost</strong>, rising to <strong>&gt;$6M for FS firms</strong><br> (Cost of a Data Breach 2025)</li><li><strong>292 days</strong> to identify and contain breaches involving compromised credentials<br> (State of Secrets Sprawl 2025)</li></ul><p>GitGuardian reports <strong>24 million secrets exposed in public repositories</strong>, a 25% year-on-year increase. This creates a continually expanding attack surface. While compromised secrets may not cause the initial intrusion, they act as an accelerant for lateral movement, enabling attackers to pivot through systems in as little as <strong>51 seconds</strong> (2025 Global Threat Report).</p><p>This rapid escalation is uniquely dangerous in financial services. Consider an investment platform processing billions in daily transactions. A single exposed API key or misconfigured certificate doesn’t just represent a security incident, it becomes a direct threat to <strong>operational continuity</strong>, potentially causing:</p><ul><li>Failed trades</li><li>Locked-out customers</li><li>Cascading system failures</li><li>Long-term reputational damage</li></ul><h3>Why Secrets Management Matters</h3><p>Secrets management is not an IT hygiene task. It is a <strong>business-critical safeguard</strong>:</p><h4><strong>Customer Confidence</strong></h4><p>Customers entrust organisations with sensitive financial data. A breach exposing account balances, portfolio holdings, or personal identifiers can trigger customer withdrawals and inflict lasting brand damage.</p><h4><strong>Regulatory &amp; Compliance Risk</strong></h4><p>Financial services firms operate under FCA, PRA, and GDPR regimes with stringent data protection and operational resilience requirements. Failures can trigger regulatory investigations, fines, and sustained reputational harm.</p><h4><strong>Financial Risk &amp; Fraud Prevention</strong></h4><p>Compromised secrets (API tokens, privileged credentials) can enable unauthorised trades, fraudulent withdrawals, or illegitimate account creation.</p><h4><strong>Operational Resilience</strong></h4><p>Expired or misconfigured secrets, such as TLS certificates or database credentials, can cause trading outages. In a sector where operational continuity is a regulatory expectation, this risk is unacceptable.</p><h4><strong>Third-Party Integrations</strong></h4><p>Platforms integrate with payment providers, and partners. Each connection represents a potential attack surface; secrets must be managed rigorously to protect these critical touchpoints.</p><h3>Where Traditional Approaches Fall Short</h3><p>Static credentials, hard-coded passwords, and ad-hoc storage mechanisms leave organisations exposed. With <strong>68% of breaches involving a human element</strong>, legacy approaches are no longer viable.</p><p>Many organisations lack a clear secrets management strategy. Without policies and tooling, teams default to insecure behaviours:</p><ul><li>Hardcoding secrets in config files</li><li>Sharing keys over email</li><li>Storing passwords in spreadsheets</li><li>Reusing static credentials across environments</li></ul><p>When these credentials are compromised, replacing them becomes a major operational burden:</p><ul><li>Hardcoded secrets require code changes and redeployments</li><li>Shared passwords may exist in countless scripts and pipelines</li><li>Rotation is often delayed due to complexity</li></ul><p>These delays create long windows of vulnerability, exactly what attackers rely on!</p><h3>The Solution: Enterprise-Grade Secrets Management</h3><p>In my experience, <strong>HashiCorp Vault</strong> remains the most mature, enterprise-ready platform for eliminating this problem at scale. It’s a solution I’ve implemented across multiple clients to help them regain control of their secrets footprint and confidently progress toward a <strong>dynamic-secrets-first</strong> operating model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/0*YWIeHRuz_rBJ2T2G" /><figcaption>Hashicorp Vault</figcaption></figure><h4><strong>What Hashicorp Vault Provides</strong></h4><ul><li><strong>Dynamic Secrets &amp; Automated Rotation</strong> Short-lived, just-in-time credentials drastically reduce blast radius and enforce least privilege by default.</li><li><strong>Automated Certificate Issuance &amp; Renewal </strong>Eliminate manual PKI processes and prevent outages caused by expired certificates.</li><li><strong>Broad Ecosystem of Secret Engines </strong>Support for databases, SSH, PKI, KV, and many more. Enabling consistent secret lifecycle management across your entire estate without stitching together multiple tools.</li><li><strong>Enterprise Availability &amp; Scale </strong>Vault runs on-prem, hybrid, or multi-cloud with performance replication and disaster-recovery features for high availability.</li><li><strong>Centralised Audit Logging </strong>Logs provide full traceability of secret access; essential for meeting the requirements of many Information Security &amp; Compliance Frameworks.</li></ul><h3>References</h3><ul><li><em>Cost of a data breach 2025</em>. (n.d.). IBM. <a href="https://www.ibm.com/reports/data-breach">https://www.ibm.com/reports/data-breach</a></li><li><em>The State of Secrets Sprawl 2025</em>. (n.d.). GitGuardian. <a href="https://www.gitguardian.com//state-of-secrets-sprawl-report-2025">https://www.gitguardian.com//state-of-secrets-sprawl-report-2025</a></li><li><em>2025 Data Breach Investigations Report</em>. (n.d.). Verizon. <a href="https://www.verizon.com/business/resources/reports/dbir/">https://www.verizon.com/business/resources/reports/dbir/</a></li><li><em>2025 Global Threat Report | Latest Cybersecurity Trends &amp; Insights</em>. (n.d.). CrowdStrike.com. <a href="https://www.crowdstrike.com/en-gb/global-threat-report/">https://www.crowdstrike.com/en-gb/global-threat-report/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bb253627ca7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>