<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.5">Jekyll</generator><link href="https://katiekodes.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://katiekodes.com/" rel="alternate" type="text/html" /><updated>2026-11-02T20:13:02+00:00</updated><id>https://katiekodes.com/feed.xml</id><title type="html">Katie Kodes</title><subtitle>Bringing technical clarity to the unknown</subtitle><author><name>Katie</name></author><entry xml:lang="en"><title type="html">How to MFA in the Azure CLI</title><link href="https://katiekodes.com/azure-mfa-claims-challenge/" rel="alternate" type="text/html" title="How to MFA in the Azure CLI" /><published>2026-11-02T15:00:00+00:00</published><updated>2026-11-02T15:00:00+00:00</updated><id>https://katiekodes.com/azure-mfa-claims-challenge</id><content type="html" xml:base="https://katiekodes.com/azure-mfa-claims-challenge/"><![CDATA[<p>If you’ve got a sufficiently pricey license for Microsoft’s Visual Studio IDE, then whether or not you actually bother to install VS, one of the free perks is an Azure subscription with a few bucks a month of credits.  You can’t accidentally run up a huge bill – it’s more like a prepaid gift card – it simply stops you from using it for the rest of the month when you’re out of credits.</p>

<p>If you’re like a lot of cloud-native infrastructure engineers and software developers, you probably play in that Azure subscription a <strong>lot</strong>.</p>

<p>And if you do so via some sort of secondary command-line interface <em>(“CLI”)</em> tool <em>(e.g. Terraform)</em> piggybacking on top of your logged-in state within the Azure <em>(“<code class="language-plaintext highlighter-rouge">az</code>“)</em> CLI tool, this week you might suddenly find yourself dealing with a <code class="language-plaintext highlighter-rouge">RequestDisallowedByAzure</code> <code class="language-plaintext highlighter-rouge">401</code> <code class="language-plaintext highlighter-rouge">Unauthorized</code> error, saying that your Azure resource create/edit/delete request “<strong>was disallowed by Azure:  You are receiving this error because you tried to create, update, or delete Azure resources without authenticating through MFA.</strong>”</p>

<p>I think I’ve found a fix.</p>

<!--more-->

<h2 id="how-to-interactively-authenticate-into-the-azure-cli-after-october-2026">How to interactively authenticate into the Azure CLI after October 2026</h2>

<p>The trick is not to let anything but the <code class="language-plaintext highlighter-rouge">az</code> CLI be the first “write” action against your Azure subscription that you attempt in a while.</p>

<p>The actual <code class="language-plaintext highlighter-rouge">az</code> CLI is the one that’ll give you the best error message – the one you actually need to get your day started and get MFA kicked off.</p>

<p>Here’s what worked for me:</p>

<ol>
  <li>Use the <strong>Azure CLI</strong> <em>(not the Terraform CLI or any other layered-on tool!)</em> to try to create an Azure resource group with some name that I don’t actually care about creating for real:
    <div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="w"> </span><span class="n">az</span><span class="w"> </span><span class="nx">group</span><span class="w"> </span><span class="nx">create</span><span class="w"> </span><span class="nt">--location</span><span class="w"> </span><span class="s1">'centralus'</span><span class="w"> </span><span class="nt">--resource-group</span><span class="w"> </span><span class="s1">'helloworld'</span><span class="w">
</span></code></pre></div>    </div>
    <ul>
      <li>I got this error message, which luckily informed my next steps <em>(note that you’ll have a unique value where I wrote <code class="language-plaintext highlighter-rouge">CENSORED</code>)</em>:
        <div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>  Run the command below to authenticate interactively; additional arguments maybe be added as needed.
  az logout
  az login --tenant "TENANT_GUID_HERE" --scope "https://management.core.windows.net//.default" --claims-challenge "CENSORED"
  SubError: basic_action V2Error: invalid_grant AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '797f4846-ba00-4fd7-ba43-dac1f8f63013'.
</code></pre></div>        </div>
      </li>
    </ul>
  </li>
  <li>Log out &amp; back in, this time adding the <code class="language-plaintext highlighter-rouge">--scope</code> &amp; <code class="language-plaintext highlighter-rouge">--claims-challenge</code> flags from the error message:
    <div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="w"> </span><span class="n">az</span><span class="w"> </span><span class="nx">logout</span><span class="w">
 </span><span class="n">az</span><span class="w"> </span><span class="nx">login</span><span class="w"> </span><span class="nt">--tenant</span><span class="w"> </span><span class="s1">'TENANT_GUID_HERE'</span><span class="w"> </span><span class="nt">--subscription</span><span class="w"> </span><span class="s1">'SUB_GUID_HERE'</span><span class="w"> </span><span class="nt">--scope</span><span class="w"> </span><span class="s1">'https://management.core.windows.net//.default'</span><span class="w"> </span><span class="nt">--claims-challenge</span><span class="w"> </span><span class="s1">'CENSORED'</span><span class="w">
</span></code></pre></div>    </div>
  </li>
  <li>Complete the single sign-on and MFA challenge that pops up <em>(note that it might be hidden behind other open windows, or on a different monitor)</em>.</li>
  <li>Finally, Terraform ran just fine against my VS Azure subscription, using my <em><strong>human</strong></em> Entra user principal:
    <div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="w"> </span><span class="n">terraform</span><span class="w"> </span><span class="nx">apply</span><span class="w">
</span></code></pre></div>    </div>
  </li>
</ol>

<h2 id="be-responsible">Be responsible</h2>

<p>Of course, as <a href="https://www.epifive.com/blog/azure-mandatory-mfa-cli-powershell-terraform" target="_blank">EpiFive</a> and <a href="https://cohash.com/blog/azure-mandatory-mfa-phase-2-automation" target="_blank">Cohash</a> point out, if you’re not actually doing interactive work where you can interactively step through the MFA process, then you have no business using a <strong>human</strong> Entra principal as your <code class="language-plaintext highlighter-rouge">az login</code> identity, and you’re being kicked out of bad design on purpose.</p>

<p>For those cirumstances, I don’t have a workaround for you.</p>

<p>You’ll need to fix your automations to stop lying about being a human.</p>

<p>Create <a href="https://katiekodes.com/entra-app-registration/" target="_blank">proper Entra service principals</a> for them to use, instead.</p>]]></content><author><name>Katie</name></author><category term="devops" /><summary type="html"><![CDATA[Microsoft is now enforcing MFA and it will mess up your Terraform]]></summary></entry><entry xml:lang="en"><title type="html">The PHP CVE impacted you, too</title><link href="https://katiekodes.com/php-cve-202610/" rel="alternate" type="text/html" title="The PHP CVE impacted you, too" /><published>2026-10-23T15:00:00+00:00</published><updated>2026-10-23T15:00:00+00:00</updated><id>https://katiekodes.com/php-cve-202610</id><content type="html" xml:base="https://katiekodes.com/php-cve-202610/"><![CDATA[<p>Even if you didn’t program any of your applications in PHP, you were impacted by <a href="https://www.php.net/archive/2026.php#2026-10-21-5" target="_blank">PHP CVE-2026-109618 &amp; CVE-2026-109619</a>, because it’s time to go look at how your vendors managed it.  After all, they’ll be handling similar attacks against whatever programming language you <em>do</em> use.</p>

<h2 id="what-to-know-if-you-do-not-use-php">What to know if you do not use PHP</h2>

<p>Maybe you host Java, .NET, Python, Ruby, NodeJS, etc. applications on a hyperscaler cloud provider’s managed platform – AWS Elastic Beanstalk, Azure App Service, or GCP App Engine, perhaps.  The exciting thing is that <em>they</em> patch the operating system and the programming language.  But will they patch <em>yours</em>, specifically?  It’s worth researching.</p>

<ul>
  <li>Microsoft blog:  <a href="https://azure.github.io/AppService/2026/10/21/php-critical-security-release-app-service-linux.html" target="_blank">“Critical PHP Security Release: What It Means for Azure App Service”</a>
    <ul>
      <li>If you use PHP Azure App Service on Linux, they mostly fixed it promptly.
        <ul>
          <li>Takeaway:  Hooray for managed services!</li>
        </ul>
      </li>
      <li>However, if you had your Azure App Service resources set in “Change is good; you go first” <em>(“Extended” or “Standard” instead of “Latest”)</em> <a href="https://learn.microsoft.com/en-us/azure/app-service/overview-patch-os-runtime#control-runtime-patch-update-timing-with-platform-release-channel" target="_blank">update-timing mode</a>, then it wouldn’t have been all that promptly.
        <ul>
          <li>Takeaway:  Prepare to have to flip settings on <em>all</em> your resources’ configuration settings, and then flip them all back again to whatever they were before after the crisis has passed.  And know how long it would take to do so, because you’ll need to compare that against the vendor’s promises.  <em>(Even if you’ve got a well-managed infrastructure-as-code program, maybe you segmented it into a bunch of different source control repositories specifically to prevent people who haven’t had enough coffee from breaking things on every enterprise resource all at the same time with a single typo.  So you might have this something that takes a few hours of toil, by design.)</em>  You’ll want to know how it compares against the vendor’s timelines, so you can decide whether to flip the switch or just wait, etc.</li>
        </ul>
      </li>
      <li>If you were using a configuration that they were still willing to run but had deprecated to “end of life,” like PHP Azure App Service on Windows, they didn’t bother patching you and left you to do it.
        <ul>
          <li>Takeaway:  Get your monitoring and governance house in order.  Do you know exactly which cloud resources are out of compliance with what’s fully supported by the vendor?  Do the people at your company responsible for fixing it know?  How soon are they going to get to that?  And if not soon, are they ready to have to be the one wearing the pager to personally do the next patch that they could’ve otherwise let the vendor do?</li>
        </ul>
      </li>
    </ul>
  </li>
  <li>Google blog:  <a href="https://cloud.google.com/blog/products/identity-security/responding-to-core-php-vulnerabilities-cve-2026-109618-cve-2026-109619" target="_blank">“Responding to core PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619”</a> &amp; Amazon blog <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2026-10-21-al2023-php.html" target="_blank">“Release: Elastic Beanstalk Amazon Linux 2023 PHP platform updates on October 21, 2026”</a>:
    <ul>
      <li>I didn’t see anything as clearly and helpfully worded in terms of “we’re not covering this; that’s your problem” as I saw on Azure, but if you were on less than PHP 8.2, you were in the same boat as the PHP Azure App Service on Windows folks – GCP &amp; AWS weren’t going to fix that for you.  <em>(AWS really didn’t even spell anything helpful out at all.  At least Google bothered to say “PHP 8.1 &amp; under – this means you.”)</em>
        <ul>
          <li>Takeaway:  Get your monitoring and governance house in order.  See above.  Do you definitely know if your company’s got any poorly-configured GCP or AWS resources?</li>
        </ul>
      </li>
    </ul>
  </li>
  <li>GitHub Runner Images issue 15027:  Ooof, yikes.  The PHP runtime in vendor-managed GitHub Actions runners and Azure Pipelines <em>(ADO)</em> agents aren’t being expedited – it looks like they’re taking <a href="https://github.com/actions/runner-images/issues/15027#issuecomment-6342367609" target="_blank">about a week to actually get up-to-date in real runtimes</a>, from the day that the team updated their image.  Of course, such vendor-hosted CI/CD runtimes are usually pretty ephemeral <em>(except in the case of stateful Managed DevOps Pools on ADO)</em>, so hopefully no one will hack any given CI/CD runtime from the <em>outside</em> during the brief time it exists.  However, if either of these CVEs happened to be the kind of vulnerability that can be exploited during, say, a build process by dependency installation the way Sha1-Hulud variants infected CI/CD runtimes, well, you wouldn’t need to notice the machine exists from the outside.  You could just let the workload it’s running serve as the attack vector.  I get that they want to honor “change is good; you go first” customer concerns and don’t have a risk-tolerance feature flag the way Azure App Service does, for example, but simply letting “the usual weekly change cadence” be the release timeline for the patch seems a little extreme.</li>
</ul>

<p>Also, speaking of seeing how vendors did, I’ve got a neighbor whose business uses Lightningbase for managed Wordpress hosting, and <a href="https://lightningbase.com/security/critical-php-vulnerabilities-cve-2026-109618-cve-2026-109619/" target="_blank">they seemed patched pretty promptly</a>, so shoutout to a Minnesota company for that.  I mean, hopefully <em>all</em> the major managed Wordpress &amp; managed Drupal hosts did that, but, ope, I’m always happy to see Minnesota just quietly gittin ‘er done.  <em>(They say there’re just 3 things Minnesotans like most – 1. Minnesota, 2. Minnesotans, &amp; 3. Hearing how great Minnesota is.)</em></p>

<hr />

<h2 id="how-to-see-if-you-do-use-php">How to see if you do use PHP</h2>

<p><em>Update:  added this section as bonus content that seemed vaguely relevant, and because I didn’t feel like thinking of a title for a new post.</em></p>

<p>I’m no expert, but I did a quick Google search, and here’s what I found.  <em>(One note:  a lot of enterprises don’t seem to try to go this alone – they have a vulnerability management 3rd-party vendor’s daemon/agent installed on all their servers, and it’s its job to tell them if they got hit by a given CVE.)</em></p>

<h3 id="consult-your-application-or-service-catalog">Consult your application or service catalog</h3>

<p>Hopefully, your enterprise has some sort of central catalog where details like the tech stack for every application you run on servers, endpoints, or in CI/CD pipelines is catalogued.</p>

<p>It might be out of date, but it can’t hurt to look around for PHP or for known things that tend to use PHP <em>(like Wordpress, Laravel, or Drupal)</em>.</p>

<h3 id="ask-about-cloud-resource-configurations">Ask about cloud resource configurations</h3>

<p>Hopefully, there’s someone at your enterprise who can see every single resource ever provisioned in any cloud ever.</p>

<ol>
  <li>Ask them if any managed web hosting platforms like AWS Elastic Beanstalk, Azure App Service, or GCP App Engine, are configured for running PHP.
    <ul>
      <li>For example, a KQL query against all <code class="language-plaintext highlighter-rouge">microsoft.web/sites</code> Azure resources, looking at their <code class="language-plaintext highlighter-rouge">siteConfig.linuxFxVersion</code> and/or <code class="language-plaintext highlighter-rouge">siteConfig.windowsFxVersion</code>, could help turn up indicators of PHP pretty fast on Azure App Service.
        <ul>
          <li><em>(Many thanks to a colleague for this one!)</em></li>
        </ul>
      </li>
    </ul>
  </li>
  <li>Ask them for contact information for the owners of other cloud resources related to more arbitrary images and workloads <em>(e.g. container registries, VM image registries, container runtimes &amp; orchestrators, VM runtimes &amp; orchestrators)</em>, so that you can follow up one-by-one and check inside them.
    <ul>
      <li>Bonus:  The team that can look at all cloud resources’ management-plane-level configurations also might be able to make an educated guess, even for such things, if, say, someone used some sort of cloud provider marketplace “extension” or something at cloud-resource-provision-time.  For example, maybe the cloud resource provisioning team provisioned a given Azure VM to use some sort of PHP/Wordpress/etc. “VM extension,” and can save you the trouble of reaching out to the VM’s owner, because they can already tell you that PHP is on that VM.  <em>(This doesn’t help figure out which VMs don’t have PHP, but it can be a faster way of figuring out some that do.)</em></li>
    </ul>
  </li>
</ol>

<h3 id="actually-inspecting-vms-and-endpoints">Actually inspecting VMs and endpoints</h3>

<p>I don’t personally know, but Googling around, I got these top links:</p>

<ol>
  <li><a href="https://mazehq.com/blog/php2shell">PHP2Shell: two critical PHP RCEs, and how to tell if you’re affected – Maze</a></li>
  <li><a href="https://www.reddit.com/r/sysadmin/comments/1xcpzq6/how_are_you_figuring_out_which_servers_are/">How are you figuring out which servers are running vulnerable PHP after this week’s critical patch? : r/sysadmin</a></li>
  <li><a href="https://www.reddit.com/r/PHP/comments/1xbv9oe/how_do_we_scan_to_see_if_an_attacker_got_in/">How do we scan to see if an attacker got in before we could take down websites? : r/PHP</a></li>
  <li><a href="https://www.reddit.com/r/sysadmin/comments/1xbe1iq/php_emergency_release_drops_today_how_are_you/">PHP emergency release drops today. How are you finding the PHP you don’t know you’re running? : r/sysadmin</a></li>
  <li><a href="https://www.reddit.com/r/SelfHosting/comments/1xcbv8y/how_do_i_know_if_any_of_my_servers_are_running_php/">How do I know if any of my servers are running PHP? : r/SelfHosting</a></li>
  <li><a href="https://www.reddit.com/r/f5networks/comments/1xbww00/reliable_way_to_detect_if_node_runs_php/">reliable way to detect if node runs PHP : r/f5networks</a></li>
  <li><em>(No idea if <a href="https://www.reddit.com/r/SaaS/comments/1xcw7qo/i_made_a_free_tool_that_tells_you_if_your_website/">this</a> itself is true community service or if it’s a honeypot that’s helping hackers find easy targets, but it did successfully detect that <a href="http://www.irs.gov">www.irs.gov</a> runs on Drupal, for example, so anyway, BE CAREFUL if playing with it, and probably not your best bet, but intriguing)</em></li>
</ol>

<p>And here are 3 AI summaries to questions I asked Google:</p>

<h4 id="llm-summary-1-of-3">LLM summary 1 of 3</h4>

<p>Question:</p>

<blockquote>
  <p>“How to tell if a server or endpoint is running PHP?”</p>
</blockquote>

<p>Here was its response:</p>

<ul>
  <li><em>(click expander icon at left – it’s a rightward-facing triangle – if its answer below is not showing up)</em></li>
</ul>

<details>

  <p>To tell if a server or an endpoint is running PHP, you can use several techniques depending on whether you have internal access (server command line) or external access (testing an endpoint over the internet).</p>

  <hr />

  <p><strong>Internal Access (You have access to the server)</strong></p>

  <p>If you can log into the server via SSH or a terminal, you can directly check for the PHP process or binary:</p>

  <p>-         <strong>Check the CLI version:</strong> Run php -v. This tells you if PHP is installed for the Command Line Interface (CLI). <em>(Note: Web servers often use a separate configuration or binary than the CLI).</em> [<a href="https://www.google.com/goto?url=CAESZgHrOzAVr3CIU8PFNLkgGZWJTTKsVnF88Lv0wUknnAMQMtjchX8nsFEs0O7xZd4jT1eEm5S5DJtxrwzaJAhbHqry6xwwx0Dwn-zG0eMVByp_Y80DpB9sfvhBHY2wAVSCPZtL8eyiXA">1</a>, <a href="https://www.google.com/goto?url=CAESYQHrOzAVtbJ1BDb6wgXIiDsSa8jCrP4-d_Wvx9IUQIvUVVaUf7prpZUpBNwbUkF7eTnijrZJYdY1qn6VQGcPGXa1jF2iawpY0DpqGZqu9-kBtqFt9996bTYxZ1HEKx72VDs">2</a>]</p>

  <p>-         <strong>Check running processes:</strong> Look for running PHP processes (like PHP-FPM, Apache’s mod_php, or the built-in server) using:</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ps aux | <span class="nb">grep </span>php
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>-         <strong>Check listening sockets:</strong> See what service is handling web requests (usually port 80 or 443) by running:</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">sudo </span>lsof <span class="nt">-i</span> :80
<span class="se">\#</span> or
<span class="nb">sudo </span>netstat <span class="nt">-plnt</span>
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>Look for names like php-fpm, apache2, or nginx configured to proxy to a FastCGI PHP backend.</p>

  <hr />

  <p><strong>External Access (You only have the URL/Endpoint)</strong></p>

  <p>If you are inspecting a remote endpoint from the outside, you have to look for specific behavioral clues. Because many servers actively hide this information for security reasons, these methods are not always 100% foolproof.</p>

  <p><strong>1. Inspect HTTP Response Headers</strong></p>

  <p>Web servers often expose the language or engine powering them in the response headers. You can check these using the <strong>Network tab</strong> in your browser’s Developer Tools, or via a terminal tool like curl: [<a href="https://www.google.com/goto?url=CAESjQEB6zswFU3_xqMzNVKmVOpeBh3j2vUuP44d2377oFl3bfP9dZkEDkaD7KX7Q4LmgROU56gb__v0j3KTw6mMi8J9i0cDqMRklwO-563SsJ1znDqifPuOks0G9q_LbD5HT3UlZnBa3Pnglq0307wkKmPw45j7-3i8g3OTORM4VVJisNDrkkCQvz7lAQUaQx4">1</a>]</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-I</span> &lt;https://example.com&gt;
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>Look for these specific headers:</p>

  <p>-         X-Powered-By: PHP/8.x.x (Directly states PHP is running)</p>

  <p>-         Server: Apache or Server: Nginx (Indicates the web server, which commonly hosts PHP)</p>

  <p><strong>2. Analyze the URL Extensions</strong></p>

  <p>Check the file extensions in the website’s paths or API routes:</p>

  <p>-         Direct files ending in .php (e.g., <a href="https://www.google.com/url?sa=i&amp;source=web&amp;rct=j&amp;url=CAESSwHrOzAVhoVqbcqeEl0bowkRzkso3n4EK7_3PK_c22xMnDRsupWNYWJLGos8DFa8j5ex53NYfwN9JcTpkUz5Xj9-DcOjYm66ESz3JQ&amp;uoh=2&amp;ved=2ahUKEwjXktqW89eXAxXlENAFHUd1BF4Qy_kOegoIAggACAAIIhAA&amp;opi=89978449&amp;cd&amp;psig=AOvVaw3msoVYwY-asa6V8MUZSWHJ&amp;ust=1793111544949000">https://example.com</a> or login.php) mean the server is actively handling PHP files.</p>

  <p>-         <em>Caveat:</em> Many modern PHP applications use routing engines (like <a href="https://www.google.com/url?sa=i&amp;source=web&amp;rct=j&amp;url=CAESTAHrOzAVk06RMVPtLCVQDweyPIMhXQ2388qOGP9ErhDxjjds1vEYBQy3TEhjb4zHvAxB5Nb6Mja5Hb8vYy7kMII9F5FibwdXRA5BJMI&amp;uoh=2&amp;ved=2ahUKEwjXktqW89eXAxXlENAFHUd1BF4Qy_kOegoIAggACAAIHRAA&amp;opi=89978449&amp;cd&amp;psig=AOvVaw3msoVYwY-asa6V8MUZSWHJ&amp;ust=1793111544949000">Laravel</a> or <a href="https://www.google.com/url?sa=i&amp;source=web&amp;rct=j&amp;url=CAESTAHrOzAVCdX2PSNlG3DHiwfkKRdMXTLnqW-xbeo2YiOiCe9FzUArQjiMIz-uZ21VgsfxzPbD1Bi5KybDVDOfXtAhgmnJN6EKfqDkBdA&amp;uoh=2&amp;ved=2ahUKEwjXktqW89eXAxXlENAFHUd1BF4Qy_kOegoIAggACAAIHxAA&amp;opi=89978449&amp;cd&amp;psig=AOvVaw3msoVYwY-asa6V8MUZSWHJ&amp;ust=1793111544949000">Symfony</a>) that hide the .php extension entirely.</p>

  <p><strong>3. Test Session Cookie Names</strong></p>

  <p>When PHP starts a user session, it defaults to a unique cookie name unless a developer explicitly changes it. Inspect the site’s cookies in your browser’s dev tools or curl response.</p>

  <p>-         Look for a cookie named <strong>PHPSESSID</strong>. If this cookie exists, the backend is almost certainly running PHP.</p>

  <p><strong>4. Trigger Known Errors or Appended Queries</strong></p>

  <p>Some older or default PHP installations respond to specific URL behaviors:</p>

  <p>-         <strong>Adding queries:</strong> Historically, appending ?=PHP95B3415D-2304-469d-BB3F-10656D18B14F (the PHP Logo GUID) to a URL would output a graphic if exposed, though this is largely disabled in modern setups.</p>

  <p>-         <strong>Forcing an error:</strong> Sending malformed data to an endpoint (like changing an expected integer ID to a string, or adding brackets like ?id[]=test) might trigger a database or runtime crash. If error display is turned on, the resulting stack trace or error layout may explicitly mention PHP file tracks (e.g., /var/www/html/index.php).</p>

  <hr />

  <p>If you’d like to narrow this down, let me know:</p>

  <p>-         Do you have <strong>SSH/terminal access</strong> to this server, or are you looking at it <strong>from the outside</strong>?</p>

  <p>-         Are you troubleshooting a <strong>specific application</strong> (like <a href="https://www.google.com/url?sa=i&amp;source=web&amp;rct=j&amp;url=CAESTgHrOzAVqto6JeNaI-Qahf8qd6urW6SAW4wx35MaRolDQlDzK2c3j87ru4oyuNaHSI1Zb3wdtI8A2WhrgpLlXUkmBcogeSuRZMssZPnR5w&amp;uoh=2&amp;ved=2ahUKEwjXktqW89eXAxXlENAFHUd1BF4Qy_kOegoIAggACAAILxAA&amp;opi=89978449&amp;cd&amp;psig=AOvVaw3msoVYwY-asa6V8MUZSWHJ&amp;ust=1793111544949000">WordPress</a>, <a href="https://www.google.com/url?sa=i&amp;source=web&amp;rct=j&amp;url=CAESZwHrOzAVHpf7_Okd11OGj6A1-noKpgvh5rFayMXNT_TRcwgYLA58f7J3usRIzr0jkPlB53F0fSJfQcR3B_Ia2vXGw8D0Ew3IqHz2EgBtWupLsw_KSxeiKKRLH_992daX_G-7vVkkNxA&amp;uoh=2&amp;ved=2ahUKEwjXktqW89eXAxXlENAFHUd1BF4Qy_kOegoIAggACAAIMRAA&amp;opi=89978449&amp;cd&amp;psig=AOvVaw3msoVYwY-asa6V8MUZSWHJ&amp;ust=1793111544949000">Laravel</a>, or a custom API)?</p>

  <p>-         Are you checking this to audit for <strong>security updates</strong> or patch vulnerabilities?</p>

</details>

<h4 id="llm-summary-2-of-3">LLM summary 2 of 3</h4>

<p>Question:</p>

<blockquote>
  <p>“What about if it might be under the hood of various CLI tools, the way the Terraform CLI has Go under the hood?”</p>
</blockquote>

<p>Here was its response:</p>

<ul>
  <li><em>(click expander icon at left – it’s a rightward-facing triangle – if its answer below is not showing up)</em></li>
</ul>

<details>

  <p>When a Command Line Interface (CLI) tool is built “on top” of PHP, it usually means the tool itself is a PHP script packaged into an executable format. Unlike Go, Rust, or C++, <strong>PHP does not compile into native machine code binary by default.</strong></p>

  <p>If a CLI tool is running PHP under the hood, it leaves behind very distinct technical fingerprints. You can figure out if a tool is built on PHP using the following methods:</p>

  <p><strong>1. Check for the Composer Signature</strong></p>

  <p>Just as <a href="https://www.google.com/url?sa=i&amp;source=web&amp;rct=j&amp;url=CAESTQHrOzAV2vSAcELGYUqo_48GUNqxPI7cozTOxSeEk2ty4VfabjVA-uvIHfEWb2HB8JK9b3bLMDV8CyqBjwaXfG6Ddt023a8eBcbB7xL1&amp;uoh=2&amp;ved=2ahUKEwip1I3N89eXAxXjlIkEHXmoEZAQy_kOegYIAAgMEAA&amp;opi=89978449&amp;cd&amp;psig=AOvVaw21poGTPEeUyotHvUaKFRW1&amp;ust=1793111659281000">Node.js</a> uses package.json and Rust uses Cargo.toml, PHP CLI tools almost universally rely on <strong>Composer</strong> for dependency management.</p>

  <p>-         Look inside the tool’s installation directory (often found in /usr/local/bin/, ~/.config/, or ~/.composer/vendor/bin/).</p>

  <p>-         If you see folders named vendor/, or files named composer.json and autoload.php, it is definitively a PHP application.</p>

  <p><strong>2. Inspect the Binary File Type (The file command)</strong></p>

  <p>True compiled languages like Go output a native binary (like an ELF executable on Linux or a Mach-O binary on macOS). A PHP CLI tool is often just a text script with a hidden interpreter instruction, or a compressed archive wrapper called a <strong>Phar</strong> (PHP Archive).</p>

  <p>Run the file command on the CLI tool’s executable path:</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>file <span class="si">$(</span>which your-cli-tool<span class="si">)</span>
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>Look for these telltale outputs:</p>

  <p>-         <strong>PHP script, ASCII text executable</strong>: This means the “binary” is actually just a plain text PHP file with a #!/usr/bin/env php shebang at the very top.</p>

  <p>-         <strong>PHP php file, … or references to a Zip archive</strong>: Many professional PHP CLI tools (like composer itself, wp-cli, or psalm) are distributed as .phar files. The file command or an inspection of the binary’s hex headers will reveal it is a PHP Archive.</p>

  <p><strong>3. Force a PHP Error Trace</strong></p>

  <p>Compiled binaries handle crashes via core dumps or structured language runtimes (like Go’s panic stack trace). PHP has a highly recognizable error output structure.</p>

  <p>-         Try intentionally breaking the tool by feeding it missing arguments, or corrupting its internal files if you are analyzing it in a sandbox.</p>

  <p>-         If it crashes and outputs references to .php file paths, lines of code, or terms like Fatal error:, Uncaught Exception, or thrown in /path/to/tool, it’s PHP.</p>

  <p><strong>4. Check for Bundled Runtimes (Static Compilation)</strong></p>

  <p>While rare, some modern PHP CLI tools use projects like <a href="https://www.google.com/url?sa=i&amp;source=web&amp;rct=j&amp;url=CAESZgHrOzAV-vYKDrtluwpyki-blhQb7Q62k_gZQBnmVkkggrdbL3PjkAXmly32JMuxiHYwg_w8dLY30Vk4tEJi4eUMWNtR5529q7NOMT1Pd6XI-iSHJF7gw1tMIw9i45nHi9IVOAg4Og&amp;uoh=2&amp;ved=2ahUKEwip1I3N89eXAxXjlIkEHXmoEZAQy_kOegYIAAgaEAA&amp;opi=89978449&amp;cd&amp;psig=AOvVaw21poGTPEeUyotHvUaKFRW1&amp;ust=1793111659281000">static-php-cli</a> or FrankenPHP to bundle the entire PHP interpreter and the script into a single, self-contained binary file (mimicking a Go binary).</p>

  <p>Even when compiled this way, you can extract strings from the binary to find the underlying language:</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>strings <span class="si">$(</span>which your-cli-tool<span class="si">)</span> | <span class="nb">grep</span> <span class="nt">-i</span> <span class="s2">"php"</span>
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>If the tool is a bundled PHP runtime, this command will print out internal PHP configuration strings, standard PHP function names (like implode, explode, serialize), or PHP extension identifiers.</p>

  <p>Are you trying to inspect a <strong>specific CLI tool</strong> right now? If you share its name or run file on it and tell me the output, I can tell you exactly what it’s built on.</p>

</details>

<h4 id="llm-summary-3-of-3">LLM summary 3 of 3</h4>

<p>Question:</p>

<blockquote>
  <p>“How to tell if an endpoint (e.g. cli tool under the hood, or occasional localhost development) is running or can run php? (cve)”</p>
</blockquote>

<p>Here was its response:</p>

<ul>
  <li><em>(click expander icon at left – it’s a rightward-facing triangle – if its answer below is not showing up)</em></li>
</ul>

<details>

  <p>To determine if a system or hidden CLI tool is running or capable of executing PHP—especially in light of the <strong>PHP2Shell vulnerabilities (CVE-2026-109618 &amp; CVE-2026-109619)</strong>—you can use the following methods to inspect local binaries, active background processes, and tool components. [<a href="https://www.google.com/goto?url=CAESgwEB6zswFZeV-vNoIibUDX5QZtthedLIAzAtjoFo49m4kPJGYfgbJhWwvn2GatCdMVOifU7Qb64PUQKjQszcgFcyu4oQJEyVSDD1qqMuz1zzBgpXDpQlbYKA4nge3NOOLygUSYeZj9cuPsN_88SIbssQc4gx3HIbKwPRk82lOYYszj0Mew">1</a>]</p>

  <p><strong>1. Check for Active or Idle Running PHP Processes</strong></p>

  <p>If a CLI tool or local stack runs PHP silently under the hood, a PHP engine instance or master process will spawn in the background. Look for them directly via your OS process manager:</p>

  <p>-         <strong>Linux / macOS:</strong> Open your terminal and check for active php, php-fpm, or php-cgi processes:</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ps aux | <span class="nb">grep</span> <span class="nt">-i</span> php
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>-         <strong>Windows:</strong> Open Command Prompt or PowerShell and check for active php.exe or php-cgi.exe executables:</p>

  <div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">Get-Process</span><span class="w"> </span><span class="nt">-Name</span><span class="w"> </span><span class="nx">\</span><span class="o">*</span><span class="nx">php\</span><span class="o">*</span><span class="w">
</span></code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p><strong>2. Check if PHP is in the System Environment (Can Run)</strong></p>

  <p>Even if a background process isn’t running 24/7, a CLI tool might invoke PHP on demand if the binary is present on your system path.</p>

  <p>-         Run the version check:</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>php <span class="nt">-v</span>
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>-         Locate where it is hiding:</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>which php          <span class="c"># Linux/macOS</span>
whereis php        <span class="c"># Linux/macOS</span>
where php          <span class="c"># Windows (Command Prompt)</span>
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p><em>Note: If the system returns a version or path, any tool calling shell commands can invoke PHP. To stay safe from the PHP2Shell flaws, your version must be at or above <strong>8.5.12, 8.4.27, 8.3.36, or 8.2.35</strong>.</em> [<a href="https://www.google.com/goto?url=CAESsAEB6zswFdaMmJbYsESaVFKTsmhY8W5lT6rEwTQj7j-zUj7o8vZihZZdMKfEEXuAdg8vj9oYOW6ovqZH3DNFm7yiINTm65hwuKczx1hrcy3c3gmGp1mfeP5KgWwHeEePuKLL27HsvK0iiS3FznjK_3FrNSTsRDkv68RCHEtU9_ecE2XybB9a7yKx92uiqkodUXaOP7xyW6e0vNSOJkn-pUvi8idSY4x4fZTmZLycXrrKXA">1</a>, <a href="https://www.google.com/goto?url=CAESgwEB6zswFZeV-vNoIibUDX5QZtthedLIAzAtjoFo49m4kPJGYfgbJhWwvn2GatCdMVOifU7Qb64PUQKjQszcgFcyu4oQJEyVSDD1qqMuz1zzBgpXDpQlbYKA4nge3NOOLygUSYeZj9cuPsN_88SIbssQc4gx3HIbKwPRk82lOYYszj0Mew">2</a>]</p>

  <p><strong>3. Check for Bundled PHP Binaries inside CLI Tools</strong></p>

  <p>Many modern CLI tools and local development environments (like older versions of LocalWP, DDEV, or custom Electron/Node apps) bundle a standalone PHP binary inside their own execution folder so they don’t rely on your global system path. [<a href="https://www.google.com/goto?url=CAESlgEB6zswFdDZ_N6Tv2K4czP1Iv42u84FyZDucHguMdVhT9Dn2sHCwdIA7jPxkwPTg3MKJ7p73-SAU-u3FSvGmYyQb9UwhvuZk5bEFdN7MJybgqk8v-kUItiniUiolF2bMC9y-hEu7gK26Vka9N8domCHFS3RRB08cX4sHmMfNWUjin1vnMU-qk70A34SZuPiDnXquLfmXZM">1</a>]</p>

  <p>-         <strong>Scan the tool’s directory:</strong> Search inside the tool’s local node_modules, vendor, .bin, or core installation folder for hidden executables: [<a href="https://www.google.com/goto?url=CAESlgEB6zswFdDZ_N6Tv2K4czP1Iv42u84FyZDucHguMdVhT9Dn2sHCwdIA7jPxkwPTg3MKJ7p73-SAU-u3FSvGmYyQb9UwhvuZk5bEFdN7MJybgqk8v-kUItiniUiolF2bMC9y-hEu7gK26Vka9N8domCHFS3RRB08cX4sHmMfNWUjin1vnMU-qk70A34SZuPiDnXquLfmXZM">1</a>]</p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>find /path/to/cli-tool-folder <span class="nt">-name</span> <span class="s2">"</span><span class="se">\*</span><span class="s2">php</span><span class="se">\*</span><span class="s2">"</span>
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>-         <strong>Inspect package.json or Cargo.toml / go.mod:</strong> If the CLI tool is open-source or built on JavaScript/Rust/Go, inspect its source repository or configuration files. Look for dependencies that invoke PHP wrapper commands or package standalone runtimes. [<a href="https://www.google.com/goto?url=CAESoQEB6zswFVA9sOeWTqGlTgJi--uWabELENirudMiNk7PzzGKfOtk9xzZcr1rEzoxgJ4JfKnS1lDUyNc4FVXHZDBXej5UkPWi8HQc6GrtVoVKGB-79Wvd5_K_8H55mLQJnQ81rm3ugqtNKzQm47BoP25jYyJzhXU9HsGxf2nbDUNpUf3bnEBSye5u1y8KnE72W297XiXJTxoXHNMJPkShZFkSFA">1</a>]</p>

  <p><strong>4. Inspect Local Network Endpoints (Localhost Development)</strong></p>

  <p>If you have an occasional development server running on localhost, 127.0.0.1, or Docker containers, you can inspect their headers: [<a href="https://www.google.com/goto?url=CAEShwEB6zswFfz2YIIu1n4GwgyUWB_C9NIR1CkgqzYZvgly6TH46PCu8kh1_mLoQkRfie9mjqY5ZFTwcgGcDLRpbuo3U__8sscHIa40tguMRvci8ubQRZNCD6T3mrm3dXjOFcJCTL5eeEcMHxMGUZsltyVbhdI50snpoIy2yxgoHWi8_7fQPNktUkM">1</a>]</p>

  <p>-         <strong>Query the endpoint with curl:</strong></p>

  <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-I</span> &lt;http://localhost:8080&gt;
</code></pre></div>  </div>

  <p>Use code with caution.</p>

  <p>-         <strong>Look for PHP signatures:</strong> Check the response for the following HTTP headers:</p>

  <p>o    Server: Apache/… (mod_php)</p>

  <p>o    X-Powered-By: PHP/…</p>

  <p>o    Set-Cookie: PHPSESSID=… [<a href="https://www.google.com/goto?url=CAESsgEB6zswFZ7Hf-_1oAnClcy3Sb02-bDP3cT1H3Q3_7EqstCu6lcO49GxfJmCoBIa7CBpz5FTsyYOmzbjOYdbek6WwWt66SEWXgv23u8Bi2-KA740tIwBErmRE4SZt81Dg9FxwmtHeGO_g6A8Tx71FJfJ8gqNk0JFCC_2QM5I43irHoIQMDXxVQ5rkASorMe_zxNo_5SxtcLQ804JbD3mmb9axXSQPTpmLKg3dt2us89cOcCH">1</a>, <a href="https://www.google.com/goto?url=CAEShwEB6zswFfz2YIIu1n4GwgyUWB_C9NIR1CkgqzYZvgly6TH46PCu8kh1_mLoQkRfie9mjqY5ZFTwcgGcDLRpbuo3U__8sscHIa40tguMRvci8ubQRZNCD6T3mrm3dXjOFcJCTL5eeEcMHxMGUZsltyVbhdI50snpoIy2yxgoHWi8_7fQPNktUkM">2</a>]</p>

  <p><strong>5. Automated Local Auditing</strong></p>

  <p>If you manage multiple endpoints or have an extensive directory structure, you can use local auditing tools to sweep for PHP assets:</p>

  <p>-         <strong>Using a Software Inventory script:</strong> Use an automation tool or simple local script to scan for all files ending in .php or named php across common application paths (/var/www, /opt, C:\Program Files, etc.). [<a href="https://www.google.com/goto?url=CAESlgEB6zswFdDZ_N6Tv2K4czP1Iv42u84FyZDucHguMdVhT9Dn2sHCwdIA7jPxkwPTg3MKJ7p73-SAU-u3FSvGmYyQb9UwhvuZk5bEFdN7MJybgqk8v-kUItiniUiolF2bMC9y-hEu7gK26Vka9N8domCHFS3RRB08cX4sHmMfNWUjin1vnMU-qk70A34SZuPiDnXquLfmXZM">1</a>]</p>

  <p>If you are investigating a specific tool or local stack, let me know <strong>the name of the CLI tool or development environment</strong> you suspect is using PHP, and I can give you the exact steps to check it.</p>

</details>]]></content><author><name>Katie</name></author><category term="security" /><summary type="html"><![CDATA[Even if you use another programming language]]></summary></entry><entry xml:lang="en"><title type="html">When you lose your Visual Studio perks after an email addess change</title><link href="https://katiekodes.com/vs-perks-email-change/" rel="alternate" type="text/html" title="When you lose your Visual Studio perks after an email addess change" /><published>2026-10-15T15:00:00+00:00</published><updated>2026-10-15T15:00:00+00:00</updated><id>https://katiekodes.com/vs-perks-email-change</id><content type="html" xml:base="https://katiekodes.com/vs-perks-email-change/"><![CDATA[<p>Perhaps you worked for <code class="language-plaintext highlighter-rouge">ABCDE Corporation</code>, and it just got bought out by <code class="language-plaintext highlighter-rouge">VWXYZ Corporation</code>, and last night they changed your email address from <code class="language-plaintext highlighter-rouge">JaneDoe@ABCDE.com</code> to <code class="language-plaintext highlighter-rouge">JaneDoe@VWXYZ.com</code> in Microsoft Entra ID.</p>

<p>Hey, wait a minute!</p>

<ul>
  <li>Why are all the <strong>paid features grayed out</strong> in the Visual Studio <em>(“VS”)</em> IDE desktop software?</li>
  <li>Why is your license level back down to the free default of <code class="language-plaintext highlighter-rouge">Stakeholder</code> in all of your Azure DevOps <em>(“ADO”)</em> subscriptions?</li>
  <li>Where’s your old list of free Windows license keys?</li>
</ul>

<!--more-->

<h2 id="synchronization-problem-using-individuals">Synchronization problem using individuals</h2>

<p>The problem is almost certainly that you <strong>no longer</strong> have the <strong>same</strong> e-mail address listed in <strong>both</strong> of the following places:</p>

<ol>
  <li><code class="language-plaintext highlighter-rouge">VWXYZ Corporation</code>’s Entra tenant</li>
  <li><code class="language-plaintext highlighter-rouge">VWXYZ Corporation</code>’s Visual Studio subscriber list portal</li>
</ol>

<h3 id="short-term-individual-fix">Short term individual fix</h3>

<p>The fix is for the <code class="language-plaintext highlighter-rouge">VWXYZ Corporation</code> to fix that sync.</p>

<ol>
  <li>If the Entra team changed your email address in Entra, but if the VS subscription admin <strong>accidentally</strong> left you as <code class="language-plaintext highlighter-rouge">@ABCDE.com</code> in the company’s VS subscriber list portal, then the VS subscription admin needs to catch up and fix your email address in the VS subscriber list portal.
    <ul>
      <li>Once the VS subscriber admin does that, everything should work again in about an hour.</li>
    </ul>
  </li>
  <li>If the Entra team postponed plans to change your email address in Entra, but <strong>accidentally</strong> forgot to tell the VS portal admin to stop, then the VS subscription admin needs to roll their change back within the VS subscriber list portal <em>(or the Entra team needs to catch up)</em>.
    <ul>
      <li>Once one of them does that, everything should work again in about an hour.</li>
    </ul>
  </li>
</ol>

<h2 id="long-term-solution-using-groups">Long term solution using groups</h2>

<p>Of course, accidents don’t have to be a problem at all!  So encourage your company’s VS subscriber admin to <a href="https://katiekodes.com/group-vs-licensure/" target="_blank">switch away from manually listing <strong>individual</strong> email addresses in the VS portal at all</a>.</p>

<ul>
  <li><em>(Note:  interestingly, after converting to Entra-group-based assignment, all staff <strong>might</strong> experience the blip described in this article for up to a few extra hours – up to 24 – than with individual-email-address-based VS subscription license assignment.  However, it’s worth the slightly longer autosync window, because it guarantees that no employee will get <strong>accidentally</strong> forgotten altogether.)</em></li>
</ul>

<h2 id="related-articles">Related articles</h2>

<ul>
  <li><a href="https://katiekodes.com/group-vs-licensure/" target="_blank">How to switch Visual Studio license assignment from individuals to groups</a></li>
</ul>]]></content><author><name>Katie</name></author><category term="tutorials" /><category term="iam" /><summary type="html"><![CDATA[Azure DevOps, etc.]]></summary></entry><entry xml:lang="en"><title type="html">Griping as a Service, on vBrownBag</title><link href="https://katiekodes.com/griping-as-a-service-vbrownbag/" rel="alternate" type="text/html" title="Griping as a Service, on vBrownBag" /><published>2026-10-09T15:00:00+00:00</published><updated>2026-10-09T15:00:00+00:00</updated><id>https://katiekodes.com/griping-as-a-service-vbrownbag</id><content type="html" xml:base="https://katiekodes.com/griping-as-a-service-vbrownbag/"><![CDATA[<p>I presented “<strong>Griping as a Service:  LLM-assisted requirements analysis</strong>” on <a href="https://vbrownbag.com/brownbags/" target="_blank">vBrownBag</a>.</p>

<h2 id="video">Video</h2>

<h3 id="main-video">Main video</h3>

<p>Tip:  immediately flip the resolution to full 1080 HD, because YouTube keeps trying to blur the text.</p>

<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://www.youtube.com/embed/P2suxwwypbs" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="accelerometer; autoplay; fullscreen; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div>

<h3 id="missing-intro">Missing intro</h3>

<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://www.youtube.com/embed/n6ATg_rJ0iw" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="accelerometer; autoplay; fullscreen; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div>

<h2 id="slides">Slides</h2>

<p><a href="https://katiekodes.com/files/VBrownBag20261014.pdf" target="_blank">Slides PDF</a></p>

<h2 id="links">Links</h2>

<ol>
  <li>To check out chat from the broadcast, visit any of the following recordings:
    <ul>
      <li><a href="https://www.youtube.com/watch?v=P2suxwwypbs" target="_blank">YouTube recording</a>
        <ul>
          <li>Tip:  immediately flip the resolution to full 1080 HD, because YouTube keeps trying to blur the text.</li>
          <li><em>(<a href="https://www.youtube.com/watch?v=n6ATg_rJ0iw" target="_blank">missing YouTube intro here</a>)</em></li>
        </ul>
      </li>
      <li><a href="https://www.twitch.tv/videos/2901017931" target="_blank">Twitch recording</a>
        <ul>
          <li><em>(<a href="https://www.twitch.tv/videos/2901013662" target="_blank">missing Twitch intro here</a>)</em></li>
        </ul>
      </li>
      <li><a href="https://www.linkedin.com/feed/update/urn:li:activity:7516295941994242049/" target="_blank">LinkedIn recording</a>
        <ul>
          <li><em>(<a href="https://www.linkedin.com/feed/update/urn:li:activity:7516132783006617600/" target="_blank">missing LinkedIn intro here</a>)</em></li>
        </ul>
      </li>
    </ul>
  </li>
  <li>After the show, if you’d like to see what I’m up to next, you can find me on <a href="https://bsky.app/profile/katiekodes.com">BlueSky</a>, <a href="https://www.linkedin.com/in/katiekodes/">LinkedIn</a>, or <a href="https://katiekodes.com/feed.xml">this blog’s RSS feed</a>.  See you around!</li>
</ol>

<h2 id="notes">Notes</h2>

<h3 id="updated-abstract">Updated abstract</h3>

<p>I think the day-to-day of enterprise IT operations doesn’t naturally refresh a “software product management” mindset – thinking in terms of “feature roadmaps” and “software development lifecycles” and such.</p>

<p>After all, it’s not like folks in ops typically go to 15-minute standups full of colorful “user story” sticky notes.</p>

<p>But then suddenly proposals to do “infrastructure as code” come along, and wow, what a context switch.  Suddenly, you <em>do</em> have to ask yourself what you really want as a feature set, because the sky’s kind of the limit.</p>

<p>Particularly compared to, say, answering a ticket to create a new Active Directory group (where there’s an obvious surface-level definition of “done,” and probably one or only tools capable of doing it).</p>

<p>I think LLMs can help us techies do miniature strategic planning sessions, and ask ourselves:</p>

<blockquote>
  <p>“What <em><strong>do</strong></em> I want?</p>
</blockquote>

<h3 id="original-abstract">Original abstract</h3>

<p>“Desire paths,” small eroded shortcuts across a lawn when perfectly good sidewalks exist, represent humanity as its most stubborn, lazy, and inconsiderate about the past – and its most correct, honest, and visionary about the future.</p>

<p>Like a civil engineer designing next year’s sidewalk from this year’s mud, you can conduct “mini blameless postmortems” with large language models (LLMs) and transform your pain into plans.</p>

<h3 id="morning-of-ponders">Morning-of ponders</h3>

<p>I’m amused that this talk’s topic is coalesced in the way it did, in the morning on the day we aired.</p>

<p>I brought this talk to a podcast with IT systems administration roots, because I came up with these ideas while helping IT operations administrators plan infrastructure-as-code modernization initiatives <em>(<a href="https://katiekodes.com/requirements-analysis-llm" target="_blank">article link</a>)</em>.</p>

<p>My initial audience was enterprise employees whose “customers” are all their own in-house colleagues, and who simply wanted to write code for themselves and their teams, to “automate the boring stuff” about their own jobs.  The “griping” I had in mind – which seemed to be a key to unlocking LLM assistance with <a href="https://en.wikipedia.org/wiki/Requirements_analysis" target="_blank">requirements analysis</a> – was, initially, frustrations about the process of teamwork itself.  LLMs can transform your secret complaints about your colleagues and bosses into roadmaps for useful automation code.</p>

<p>I even marketed the talk with the hashtag <code class="language-plaintext highlighter-rouge">#sysadmin</code> in every post.</p>

<p>Two days ago, pre-consulting for another such admin team led me to say:</p>

<blockquote>
  <p>“You know, I’m doing a podcast about this Wednesday night.  About how operations work so often constrains your options that the sky <em>hasn’t</em> been the limit to what you can theoretically invent.</p>

  <p>So most admins haven’t had the chance to spend years <strong>thinking about code in a ‘product’ mindset</strong> with software development lifecycles.</p>

  <p>“Oh.  Hey.</p>

  <p>“I should probably find a way to slip that into my talk.”</p>
</blockquote>

<p>And then on the morning of the show, Chris Williams, vBrownBag’s host, didn’t say a darned word about <code class="language-plaintext highlighter-rouge">#sysadmin</code>.  He talked about <strong>user frustrations</strong> and <strong>product feedback</strong>.</p>

<p>His timing couldn’t be better, because really, even if you <strong>are</strong> the user, you deserve to be heard – by, well, yes, you, the coder!  😅</p>

<p>And there <em>are</em> business techniques out there that can make that happen <em>(largely well-known in the domain of <a href="https://en.wikipedia.org/wiki/Software_product_management" target="_blank">software product management</a>)</em>.</p>

<p>Thanks for the mind-reading, Chris, and it was awesome to hang out with all of you!</p>]]></content><author><name>Katie</name></author><category term="prompt engineering" /><summary type="html"><![CDATA[Requirements analysis with LLMs]]></summary></entry><entry xml:lang="en"><title type="html">Things I need my politicians to know about AI after Bernie’s ban proposal</title><link href="https://katiekodes.com/llm-politics-bernie/" rel="alternate" type="text/html" title="Things I need my politicians to know about AI after Bernie’s ban proposal" /><published>2026-09-14T15:00:00+00:00</published><updated>2026-09-14T15:00:00+00:00</updated><id>https://katiekodes.com/llm-politics-bernie</id><content type="html" xml:base="https://katiekodes.com/llm-politics-bernie/"><![CDATA[<p>Despite having followed <a href="https://bsky.app/profile/timnitgebru.bsky.social" target="_blank">Dr. Timnit Gebru</a>, <a href="https://bsky.app/profile/emilymbender.bsky.social" target="_blank">Dr. Emily Bender</a>, etc. back in the days before LLMs went public, I haven’t really talked about the sociopolitical side of <a href="https://en.wikipedia.org/wiki/Large_language_model" target="_blank">LLM</a>-based <a href="https://en.wikipedia.org/wiki/Generative_AI" target="_blank">generative AI</a>, other than joking about it as the “plagiarism-at-scale machine” and pointing out how <a href="https://katiekodes.com/lf-summit-recaps-2026/#opening-remarks" target="_blank">short-sighted</a> and <a href="https://katiekodes.com/gen-z-low-code/#llms" target="_blank">cruel the resulting Taylorism at workplaces is</a>.</p>

<p>I suppose I stayed out of it to stay in my lane:</p>

<ul>
  <li>Dr. Gebru has a huge following and a Ph.D. in computer vision, which is a type of statistics-and-math-based computation that’s had its moment in the sun under the “AI” umbrella.</li>
  <li>Dr. Bender has a huge following and a Ph.D. in linguistics <em>(which is relevant to the “language” part of “large language model,” which is what “LLM” stands for)</em>.</li>
</ul>

<p>What on earth could I possibly add to the conversation, here on my little blog?</p>

<ul>
  <li>I specialize in the <a href="https://en.wikipedia.org/wiki/Deterministic_algorithm" target="_blank">deterministic</a> kinds of computer programming that have traditional arithmetic and middle-school set theory under the hood.</li>
  <li>Not the <a href="https://en.wikipedia.org/wiki/Nondeterministic_algorithm" target="_blank">nondeterministic</a> kinds of computer programming that rely upon the complicated probability, statistics, and linear algebra topics whose squishiness rubbed my brain the wrong way and led to my abandoned math minor.</li>
</ul>

<p>But now, Senator Bernie Sanders – yes, the man for whom I walked miles upon miles campaigning door-to-door because I believe single-payer healthcare is a financially efficient investment, so I’m not just some kind of hater – is <strong>DOING SOCIAL DAMAGE TO MY COMMUNITIES</strong> shilling for incredibly wealthy AI investors’ interests by parroting their “<a href="https://www.sanders.senate.gov/press-releases/news-sanders-casar-introduce-legislation-to-ban-artificial-superintelligence-and-temporarily-pause-advanced-ai-development/" target="_blank">cower; our product is so big and scary</a>” line after they successfully propagandized him, so it seems time for me to speak up.</p>

<p>I had nothing to add to the Gebru/Bender-sphere conversation when it was just amongst techies.</p>

<p>However, it seems that now it’s time for me to <em><strong>spread</strong></em> the sane and breath-of-fresh-air work of the Gebru/Bender circle of commentators to my non-techie local elected and appointed officials, and to my <strong>frightened</strong> non-techie friends.</p>

<p>Because otherwise, public figures like Sanders are going to spread the distracting propaganda to my friends and local policymakers.</p>

<hr />

<h2 id="stay-focused-on-the-basics--environment-labor-discrimination-crime">Stay focused on the basics:  environment, labor, discrimination, crime</h2>

<p>If you are a politician or civil servant, <strong>THANK YOU</strong> if you’ve been fighting to ensure any of the following:</p>

<ol>
  <li>that extraordinarily large data centers can’t just go around popping up and causing harm</li>
  <li>worker’s rights</li>
  <li>civil/human rights <em>(e.g. <a href="https://www.revisor.mn.gov/bills/94/2026/0/SF/4573/versions/latest/" target="_blank">Minnesota</a>, <a href="https://bsky.app/profile/timnitgebru.blacksky.app/post/3mvgnigqtws2d" target="_blank">Lampedusa</a>)</em></li>
  <li><a href="https://x.com/linamkhan/status/2099204390548639960" target="_blank">enforcement of existing criminal law</a> against computer fraud and abuse, consumer fraud, etc.</li>
</ol>

<p>I beg you, <strong>STAY THE COURSE</strong>.</p>

<p>As <a href="https://bsky.app/profile/emilymbender.bsky.social/post/3mves2e2ha62y" target="_blank">Dr. Bender just said</a>:</p>

<blockquote>
  <p>“I’m going to go out on a limb and say that all of this acceleration in the hype is a reaction to the succesful and broadening opposition to their wasteful, polluting, noisy data centers.”</p>
</blockquote>

<p><strong>YOU ARE ALREADY DOING THE CORRECT WORK.  IGNORE THE DISTRACTION coming through Sen. Sanders.</strong></p>

<p>Her comment was a postscript to <a href="https://bsky.app/profile/emilymbender.bsky.social/post/3mverm6x3og2a" target="_blank">this larger op-ed</a>:</p>

<blockquote>
  <p>“Between the [press releases] of <em>(largely likely stolen)</em> math breakthroughs, claims of ‘rogue AI’ <em>(actually <strong>cybercrimes by companies</strong>, but whatevs)</em>, and doomerist ‘whistleblowers’, it feels like we’ve been subjected to a gish gallop of hype recently.  …  Unfortunately, … detailed debunking of each claim takes time <em>(and isn’t necessarily possible, without said access, though the mathematicians whose work was stolen have made some headway)</em>.  And meanwhile the AI bozos are onto their next claim, building up an illusion of ‘progress’ and ‘rapid change’ etc etc.  So then <strong>ordinary people</strong>, who all have plenty to worry about now tyvm, pick up some <strong>generalized anxiety</strong> about ‘AI’ and meanwhile <strong>policymakers</strong> are introducing <strong>nonsense bills</strong> regulating unicorns <em>(I mean ‘AGI’)</em>.”</p>
</blockquote>

<p>I really can’t repeat loudly enough to my <strong>friends</strong> and <strong>policymakers</strong> that <strong>OUR AND OUR CHILDRENS’ WELLBEING</strong> depends upon you <em>holding the line</em> and <em>refusing to get <strong>distracted</strong></em> from your <strong>TRADITIONAL</strong> environment, labor, discrimination, and crime policy-and-enforcement efforts.  Put your head down on this one and <strong>KEEP GOING</strong> – it’s working.  That’s <strong>WHY</strong> the propaganda’s getting so good.  You were <strong>ON THE RIGHT TRACK</strong> before OpenAI attacked HuggingFace and before Bernie Sanders got involved, and you still are.  <strong>STAY THERE</strong>.</p>

<p>As <a href="https://x.com/linamkhan/status/2099204390548639960" target="_blank">ex-FTC-chair Lina Khan just said</a>:</p>

<ul>
  <li><em>(click expander icon at left – it’s a rightward-facing triangle – if the quote below is not showing up)</em></li>
</ul>

<details>

  <blockquote>
    <p>Law enforcers already have authority to charge companies and their CEOs for creating and releasing dangerous, unvetted, or defective products. We shouldn’t let discussions about new legal regimes distract from the fact that there’s no AI exemption from laws already on the books — a point @FTC emphasized repeatedly during my tenure.</p>

    <ol>
      <li>
        <p>There is an extensive set of laws that govern dangerous and defective products. For example, releasing unvetted AI models or agents can violate consumer protection laws. Shipping flawed AI tools without implementing adequate measures to detect and stop rogue or defective AI agents can be an “unfair or deceptive” act or practice under the FTC Act (and analogous state laws). And some state AGs are already exploring holding AI firms and their CEOs criminally liable when their models participate in criminal activity.</p>
      </li>
      <li>
        <p>Existing laws also prohibit “unfair methods of competition.” This covers instances where AI firms appropriate the competitively sensitive information of their customers, including through tracking their use of various tools. It can also cover instances where firms pursue dangerous behavior, aware that doing so may compel rivals to do the same.</p>
      </li>
    </ol>

    <p>As the Supreme Court has noted: “A method of competition which casts upon one’s competitors the burden of the loss of business unless they will descend to a practice which they are under a powerful moral compulsion not to adopt, even though it is not criminal, was thought to involve the kind of unfairness at which the [unfair methods of competition] statute was aimed.”</p>

    <ol>
      <li>The highly concentrated and interconnected structure of these markets could be creating major risks and conflicts of interest. We had started investigating these partnerships and cross-investments across the stack (and released a preliminarily overview of some findings: https://www.ftc.gov/news-events/news/press-releases/2025/01/ftc-issues-staff-report-ai-partnerships-investments-study).</li>
    </ol>

    <p>Both federal and state enforcers should be scrutinizing these opaque relationships and inter-dependencies. We are already seeing how these relationships could undermine accountability. For example, OpenAI could face liability given the Hugging Face incident, but Hugging Face being bought up by Nvidia means that we’re unlikely to see it file a lawsuit over this — given Nvidia’s strong incentive to see OpenAI continue full speed ahead.</p>

    <ol>
      <li>As AI tools dramatically change the landscape of cybersecurity risks and hacks, all businesses should be doubling down on having core security protections in place. Firms that fail to invest in adequate data security measures or fix known vulnerabilities can also be breaking the law. A recent analysis showed that around 1/3 of Fortune 100 companies do not even have a way to notify them about security issues. During my @FTC tenure, we sued firms for poor data security practices and held CEOs liable when they were personally responsible.</li>
    </ol>

    <p>https://this.weekinsecurity.com/dozens-of-americas-largest-companies-have-no-simple-way-to-report-security-flaws/</p>

    <p>https://www.ftc.gov/news-events/news/press-releases/2022/10/ftc-takes-action-against-drizly-its-ceo-james-cory-rellas-security-failures-exposed-data-25-million</p>

    <ol>
      <li>As policymakers consider new legal regimes, we should be looking to lessons from prior efforts to govern major sectors, such as banking and other networks, platforms, and utilities. Tools like structural separations, nondiscrimination, and supervision could be key, and there’s a rich history of what works and what doesn’t. But we can and must pursue any new efforts alongside enforcing existing laws.</li>
    </ol>
  </blockquote>

</details>

<div class="attention-note">

  <p><strong>NOTE:</strong>  If you’re busy, you can stop reading.  The rest of this article is like one of those recipe-blog rambles, telling the story of why I wrote this.</p>

</div>

<hr />

<h2 id="who-benefits--maybe-not-your-401k">Who benefits?  Maybe not your 401(k)</h2>

<p>I’ve been trying to cut back my social media doomscrolling by uninstalling apps and logging out of web sites each time I’m done, but the one guilty pleasure I haven’t managed to pull myself away from, because it doesn’t require an app or account to see, is the front page of Reddit.</p>

<p>For whatever Reddit-subcultural reason, subreddits like <code class="language-plaintext highlighter-rouge">/r/stocks</code> and <code class="language-plaintext highlighter-rouge">/r/WallStreetBets</code> always seem to bubble to the top of <code class="language-plaintext highlighter-rouge">/r/All</code>.</p>

<p>I find it fascinating that the Gebru/Bender circles don’t always say too much about what’s going on in retail-investor-enthusiast circles <em>(they seem a bit more focused on the eugenecist links in “AGI” circles – yikes)</em>.  And nor retail-investor-enthusiast circles really seem to care much what the Gebru/Bender circles have to say about tech.  And yet, they definitely seem to be overlapping about “IPOs” <em>(initial public offerings)</em> right now:  there seem to be some rich people trying to <em>stay</em> rich by lying about how much their assets are worth, getting their assets listed on public stock exchanges, selling their overvalued shares to pension funds and 401(k)s, and laughing all the way to the bank when all those institutional investors finally get around do doing the math about how little the assets were <em>really</em> worth.</p>

<p>My journey to noticing:</p>

<p>About a year ago <em>(<a href="https://www.wsj.com/tech/ai/is-the-flurry-of-circular-ai-deals-a-win-winor-sign-of-a-bubble-8a2d70c5" target="_blank">1</a>, <a href="https://www.reddit.com/r/thebulwark/comments/1vgnz20/a_great_overview_of_the_ai_bubble_and_how_its/" target="_blank">2</a>, <a href="https://www.reddit.com/r/ValueInvesting/comments/1uy1ajn/is_anyone_else_uneasy_about_how_circular_the_ai/" target="_blank">3</a>, <a href="https://www.reddit.com/r/stocks/comments/1o6hiev/circular_deals_amongst_ai_companies_means_an_even/" target="_blank">4</a>, <a href="https://www.reddit.com/r/investing/comments/1v2n9bj/has_anyone_mapped_out_the_scale_and_extent_of/" target="_blank">5</a>, <a href="https://www.reddit.com/r/wallstreetbets/comments/1vzrdjt/simple_circular_financing_explained_its_only_bad/" target="_blank">6</a>, <a href="https://www.reddit.com/r/TrueUnpopularOpinion/comments/1vjh8w3/ai_companies_circular_investing_in_each_other_is" target="_blank">7</a>, <a href="https://www.reddit.com/r/NVDA_Stock/comments/1w0j6aj/the_ideas_of_circular_financing_etc_are_not_only/" target="_blank">8</a>)</em>, I saw Reddit stock enthusiasts starting to worry about whether the S&amp;P 500’s upward run was a bubble of misdirecting bookkeeping by NVIDIA, Oracle, OpenAI, Microsoft, Google, Anthropic, etc.  <em>(With them not actually doing anything that causes new value or money to happen, yet their “expected profits” and “valuations” rising, but if you look at their forecasts, it all just seems to be based on them having timed exactly who’s going to pay whom when, and which details about “as long as this little part of the circle doesn’t collapse in value” potentially get ignored.)</em></p>

<p>At the time, I didn’t think much about this as “Oh, bummer, another possible bubble-pop to weather; good thing I’m still young enough for my 401(k) to have a while.”</p>

<p>Then Elon Musk’s SpaceX IPO’ed, and those same stock-enthusiast communities <em>(<a href="https://www.reddit.com/r/stocks/comments/1txr3nd/the_spacex_ipo_will_be_the_final_looting_of/" target="_blank">1</a>, <a href="https://www.reddit.com/r/investing/comments/1sehn62/3_megaipos_could_dump_3_trillion_in_overvalued/" target="_blank">2</a>)</em> started making the front page of Reddit with their worries that the people running NASDAQ had been propagandized at best – incentivized at worst – to <a href="https://finance.yahoo.com/markets/stocks/articles/nasdaq-cheated-changed-laws-fit-193113947.html" target="_blank">change their rules</a> for inclusion on the NASDAQ in a way that was meant to let SpaceX’s private investors make an expedited sale to NASDAQ-tracking mutual funds and exchange-traded funds – the kinds pensions &amp; 401(k)s &amp; retail investors go heavily into as “safe” bets – so that when SpaceX plummeted to its true value, it’d happen while us commoners were the owners of the stock shares, not while the original private investors still held the shares.  <em>(In the past, NASDAQ required a company that just went public to prove its worth on the open market for a while before taking its “worth” – or “market capitalization” – at face value.  The S&amp;P 500 stuck to their guns, in fact, and did not change that rule.  But NASDAQ changed their rule and allowed SpaceX to be listed as a “huge company” based on their right-at-IPO hype-driven sales &amp; “valuation,” not based on how things shook out after the dust settles, which was traditionally required to prove you were actually a NASDAQ-worthy company.)</em></p>

<p>Again, this just struck me as sad trivia about the state of our current SEC, FEC, etc. and worried about my own retirement <em>(I mean, <strong>can</strong> I count on my 401(k) to outlast market crashes long-term if the public market’s getting money siphoned out of it and into private trading at <strong>this</strong> deregulated of a fast pace?!)</em>, but it didn’t seem to have anything to do with AI.</p>

<p>And then OpenAI attacked HuggingFace.  And yes, I am using that as a direct transitive verb.  When it happened, I would’ve said “OpenAI accidentally attacked HuggingFace,” but since then, I’ve heard enough experienced programmers, on the tech podcasts I’ve listened to for years while folding laundry, point out that this falls under the old military aphorism “<a href="https://safety.army.mil/Portals/0/Documents/OFF-DUTY/OFF-DUTYSAFETYAWARENESSPRESENTATION/2022/Standard/ODSAP2022-Speaker-Notes.pdf" target="_blank">there are no accidents</a>.”  Any data scientist or software developer getting paid $400,000+/year to work on cutting-edge OpenAI research has years of experience knowing exactly how these things work, and how to properly ensure that their experimental machines have no internet access so that they can’t break anything.  I heard multiple programmers on multiple podcasts more or less laugh:</p>

<blockquote>
  <p>Yeah, come on, you don’t really believe a company of that talent just forgot to disable internet access, do you?  It’s well-known their private investors want to IPO the company soon.  This seems like a ‘no press is bad press’ situation to build brand awareness, pre-IPO, by getting into the news by committing cyber-crime and playing ‘oopsie’ / playing hero ‘helping’ clean it up, so that lots of the shares would get bought post-IPO because everyone thinks they’re a big-deal company who’s on the cutting edge of important and amazing things.</p>
</blockquote>

<p>Again, depressing, and making me scared for my 401(k), because who knows if NASDAQ would do another “sure, come on in!” leaving <em>my</em> institutional funds holding the share-price-drop bag, instead of leaving OpenAI’s original private investors still holding the share-price-drop bag, when the market figures out they’re not as important as their mythmaking and tanks share prices.  Or if the S&amp;P 500 would cave in like NASDAQ did.  But it was just a generic cynicism and grief.</p>

<p>Then about 2 weeks ago, a <a href="https://www.linkedin.com/posts/vccastillo_i-read-the-nerd-reich-silicon-valley-fascism-activity-7498059836564164608-qeGd" target="_blank">LinkedIn post reviewing Gil Duràn’s book “The Nerd Reich”</a> crossed my feed.  I bookmarked it to read later with the notes “On Peter Thielism? / Curtis Yarvinism? in American capitalism, and its recent impact on American entrepeneurs’ expectations?”  <em>(e.g. Inculcating expectations that it’s natural that entrepreneurs of a certain wealth-level wouldn’t be accountable to anyone else – that they wouldn’t have a line ending at someone else’s nose when it comes to their <a href="https://quoteinvestigator.com/2011/10/15/liberty-fist-nose/" target="_blank">right to swing their fist</a>.)</em>  It struck a chord against all of that Reddit “what on earth are people doing to the public stock market?” talk I’d been seeing, and against all of that “baloney, OpenAI didn’t know what they were doing” joking I’ve been hearing on my respected tech podcasts.</p>

<p>And suddenly, I wanted to know what Dr. Timnit Gebru had to say.  I hadn’t followed anyone ever since the big jump from Twitter to BlueSky/Mastodon, because I figured it was a good opportunity to wean myself off of doomscrolling-masquerading-as-staying-abreast-of-tech.  But I jumped back on, just to look at what she was up to lately.  And boom – <a href="https://bsky.app/profile/timnitgebru.blacksky.app/post/3mrwrkavnr22m">there she is, <em>also</em> talking about IPOs, too</a>!  <em>(Last time I followed her, pre-jump, she was still focusing on more of the “Yo, tech companies, stop releasing stuff dictators are going to use for propaganda and surveillance without bothering to make it not do that, even though I know you want to self-aggrandize and feel important by rushing” angle.  Which is the same angle, really, just not yet involving the stock market, so not yet getting U.S. senators’ attention.)</em></p>

<blockquote>
  <p>We’re in the era of incompetence &amp; cybercrimes headlined as ‘unprecedented model capabilities gone rogue.’  So OpenAI &amp; Anthropic are trying to one up each other with such incompetence because the ‘press release as a service’-performing media &amp; clueless <strong>politicians parrot</strong> pre-IPO CEO talking points.</p>
</blockquote>

<p>Something seems fishy with the financials.</p>

<p>Also, as “Boxo McFoxo’s” reply to Dr. Bender’s thread <a href="https://bsky.app/profile/boxobark.ing/post/3mvg6edgshs2g" target="_blank">pointed out</a>:</p>

<blockquote>
  <p>“I think it’s that, but also the IPOs, and another <strong>regulatory capture push for moat-building</strong>.”</p>
</blockquote>

<p>I’m definitely smelling a “follow the money” / “who benefits?” / “cui bono?” angle to the fact that someone bothered to personally propagandize <strong>Bernie Sanders</strong>, specifically.  Clearly, there are well-funded people who want to <strong>really</strong> scale up the <strong>reach</strong> of vague messages that <strong>DON’T EVEN FIT</strong> how the underlying probability, statistics, and linear algebra mathematics under the hood of how LLM-based generative AI <em><strong>works</strong></em>!!</p>

<hr />

<h2 id="llms-dont-do-that">LLMs don’t do that</h2>

<p>I just made a pretty big assertion – that LLMs don’t even work like the “doomers” are getting Sen. Sanders to say they do.</p>

<ul>
  <li>I wish I could give a simple explanation, but along the lines of that aphorism “if you can’t explain it to a six-year-old, you don’t <em>really</em> understand it that well,” I’ll be honest, I understood what I read <em>just</em> well enough to become reassured, myself, but not well enough to explain it.</li>
  <li>I wish I could cite my sources, but unfortunately, I was just curiously reading about how LLMs work, a year ago, when they started getting fun at helping me write code.  I didn’t save anything off that I can now re-read.</li>
</ul>

<p>All I’ll say is that, despite LLM-based agents being very good at accomplishing a lot of tasks because they combine certain features of human language <em>(and imagery/video/music, which apparently we sort of make in similar ways to the way we string words together, so you can more or less do useful things against them all with the same mathematical representations)</em> with the speed of computers, there are other tasks they’re not so good at, or ways in which they’re not so good at the things they’re overall pretty good at.  As I said in my post “<a href="https://katiekodes.com/rubber-duck-doubt/" target="_blank">LLMs, Rubber Ducks, and Doubt</a>, they’re a bit of a few-trick pony.</p>

<p>Now, what Dr. Gebru, Dr. Bender, and all the other names I don’t follow but they follow and cite have been pointing out since at least the late 2010s is that you can do a <em><strong>lot</strong></em> of <strong>HARM</strong> with just what they are.  That’s what they were focused on when I first encountered them.  I remember Dr. Gebru, back in the day, begging Silicon Valley <em>not</em> to start letting people play with LLMs until they figured out how to <em>also</em> govern the technology’s ability to give people what they ask for, if they ask for something bad <em>(ahem – which, since they didn’t bother to listen, governments like Minnesota’s are having to start forcing their hands on with laws like the <a href="https://www.revisor.mn.gov/bills/94/2025/0/SF/1119/versions/latest/" target="_blank">anti-nudification bill</a>)</em>.  Why?  She argued that, for example, sure, even if people are able to use LLMs to make <strong>more beautifully wordsmithed</strong> propaganda in English than they personally were capable of authoring, okay, well, hopefully some recipients will notice and Snopes will publish fact-checks.  But she worried that not enough people would be watching and correcting the equivalent Tigrinya-language propaganda, and that giving people <strong>more elegant wordsmithing</strong> of <strong>lies</strong> could, for example, <strong>harm</strong> Ethiopian and Eritrean people, where there is already active fighting on the ground, a lot faster than perhaps native English speakers imagined that “wordsmithing tools” could harm.</p>

<p>Such AI ethicists – think, for example, the 2016 book “Weapons of Math Destruction” and “Algorithms of Oppression” – had already been pointing out the harms of “read-only-mode” statistics-based technologies like computer vision or predictive analytics.  <em>(Remember the articles about <a href="https://edinazephyrus.com/what-racist-soap-dispensers-reveal-about-the-inequities-in-the-public-health-tech-industry/" target="_blank">soap dispensers</a> being bad at detecting that dark-skinned hands are beneath them?)</em></p>

<p>When the “generative” “AI” <em>(LLM)</em> technology started coming out, the ethicists’ main concern about its “write/create-mode” capabilities was, again, that the things it could write/create could themselves cause harm <em>(e.g. more beautiful propaganda)</em>.</p>

<p>What I remember those ethicists being <strong>very</strong> clear about at the time, though, was that it did <strong>not</strong> inherently mean that LLMs would be able to “write/create” every type of harm imaginable.  They were still going to be extremely limited to being able to help people hurt each other in a very tool-specific limited set of ways.  They were concerned about the <em>intensity</em> of the harm, but they were very clear that the <em>flavor</em> of the harm was limited to the underlying mathematics.  In fact, they got a bit famous for trying to counteract Silicon Valley bigwigs clearly propagandizing potential investors via inflating LLMs’ importance and mocking LLMs as <strong>mathematically nothing but</strong> a “<a href="https://en.wikipedia.org/wiki/Stochastic_parrot" target="_blank">stochastic <em>(that is, probability-based)</em> parrot</a>.”</p>

<p><em>(I hate to use the comparison, because the phrase is normally used to fight sensible legislative proposals, but “stochastic parrot” struck me as a bit of a “guns don’t kill people; people kill people” message, meant to reality-check and counterbalance tech owners’ lies forecasting that all of their guns were going to suddenly come alive and start firing autonomously in random directions, and the lies that only investing trillions of dollars immediately into tech owners’ pockets could save humanity from that fate.)</em></p>

<p>So, again, I apologize that I no longer remember enough about the details of the linear algebra that so fascinated me a year ago explaining how my cool coding assistant worked under the hood, and which, as a side effect, helped me see what the reasonable “stochastic parrot” scientists had been trying to say about the limits of the underlying math.</p>

<p>But I want you to know that there are people who <em>do</em> know enough, and I hear them all the time in my tech-deep-dive sources, pointing that out even to to this day.  A power saw definitely has a role in carpentry and also in crime like breaking-and-entering; but also, it really isn’t at all relevant to, say, teaching kindergarten.  Depth of harm/benefit potential isn’t the same as breadth.  The notion of “Artifical General Intelligence” <em>(“AGI”)</em> that Sen. Sanders is helping private investors push onto the rest of us is as mathematically ridiculous, about LLMs, as it would be to say that power saws are on the brink of reading books aloud.</p>

<p>But, that said, those smart folks <em>(who understand a power saw isn’t meant to, say, replace a kindergarten teacher)</em> are still very focused on “DON’T COMMIT CRIMES WITH THAT POWER SAW; THAT’S A BAD THING TO DO!” as pointed out about the OpenAI-knew-better HuggingFace incident.</p>

<p>And I hope you will be, too!</p>

<hr />

<h2 id="haste-makes-waste">Haste makes waste</h2>

<p>Hence my plea to friends who are out there doing political action, and to policymakers – please hold the line.  Focus on the <strong>use</strong> of the technology as it actually <strong>is</strong>, not on the vague pre-IPO talking points.</p>

<ol>
  <li>Focus on regulating what is and isn’t allowed to be done with our <strong>environment</strong> for any potentially-useful purpose.  Whether that’s mining, ScotchGuard, wordsmithing-at-scale, or image-recognition-at-scale.  If humanity can’t make ScotchGuard without polluting water, don’t let humanity make ScotchGuard until it figures out how to do it more safely.  We’ve known how to regulate human activity for environmental reasons for a long time now.  It’s no different with “AI.”  If humanity can’t make funny fake cat videos without giving people heart disease from lack of sleep from noise pollution or without making electricity grids fail that keep people’s ventilators running , don’t let humanity make funny fake cat videos until it figures out how to do it more safely.</li>
  <li>Focus on enforcing existing laws against <strong>crimes</strong> and against <strong>rights violations</strong>, like Lina Khan and all my tech podcasters are begging policymakers to do <em>(or like legislatures like Minnesota’s is ensuring more explicit laws make it crystal-clear enforcers should do)</em>.</li>
</ol>

<p>I know those are boring, but you’re doing a great job, and those are still all humanity needs from you.  Humans have known that well-designed constraints and structures and guardrails actually help people innovate <em><strong>faster</strong></em>, not slower, for a long time.  The late-2000s “DevOps” movement I specialize in right now was founded on that principle.  Cars can turn at appropriate traffic-flow-preserving speeds when we regulate highway construction to require that curves be banked.  Heck, ancient Roman emperor Augustus Caesar said “festina lente” – “hurry slowly” – 2,000 years ago.</p>

<p>You’re doing the right thing when you make sure we have clean water, sleepable sound levels, and stable grids <em><strong>right here, right now</strong></em>.  We’ll all get our silly cat videos when we’re good and ready to do it cleanly thanks to your legislation and enforcement.  <em>(And yes, in the meantime, that might slow down a bubble just enough that investors aren’t able to push their lies onto our 401(k)s.  Oh, darn, too bad for them.  Sorry, y’all, but you just shouldn’t be able to swing your fist into others’ noses.  You’re not that special.)</em></p>

<p>Keep up the good fight on the <strong>real</strong> things that matter about regulating “AI.”</p>

<hr />

<h2 id="related-links">Related links</h2>

<ul>
  <li>“<a href="https://girlswhocode.com/news/notallaiisgenerative" target="_blank">Not All AI Is Generative: Understanding the Difference</a>” by Girls Who Code</li>
  <li>“<a href="https://quoteinvestigator.com/2024/06/20/not-ai/" target="_blank">As soon as it works, no one calls it AI anymore.</a>”
    <ul>
      <li><em>(As I heard on, I believe it was the .NET Rocks podcast, once we know what it’s “for,” we instead give it a name like “machine learning,” “natural language processing,” “optical character recognition,” “automatic speech recognition,” “data mining,” “heuristic search,” etc.  And then “AI” gets recycled to describe the next thing we don’t quite understand.)</em></li>
    </ul>
  </li>
  <li><a href="https://wwnorton.com/books/9780393881516" target="_blank">Stories Are Weapons</a> by Annalee Newitz</li>
  <li><a href="https://wwnorton.com/books/how-data-happened" target="_blank">How Data Happened</a> by Chris Wiggins &amp; Matthew L Jones</li>
  <li><a href="https://www.harpercollins.com/products/the-ai-con-emily-m-benderalex-hanna" target="_blank">The AI Con</a> by Emily Bender</li>
  <li>“<a href="https://www.govinfo.gov/app/details/GOVPUB-PREX23-PURL-gpo193638" target="_blank">Blueprint for an AI Bill of Rights: Making Automated Systems Work for the American People</a>,” created by Dr. Alondra Nelson</li>
  <li>One last great <a href="https://bsky.app/profile/timnitgebru.blacksky.app/post/3mvgoxg2sks27" target="_blank">Timnit Gebru quote</a>
    <blockquote>
      <p>“Bless their soul but who is going to listen? I want to break it to them how long we’ve been warning about these cults funded by unlimited amounts of money being behind these companies which themselves claimed to be created for ‘AI safety’ 🙄 AND how the press has been doing stenography for so long.”</p>
    </blockquote>
  </li>
  <li>And a reply to it:
    <blockquote>
      <p>“I feel that you’ve been debunking the same lies ever since the anti AI / pro AI regulation online space started. They haven’t changed their rhetoric; people, even well meaning, believe them.”</p>
    </blockquote>
  </li>
  <li>“<a href="https://mustafa-suleyman.ai/a-warning-about-model-welfare" target="_blank">A warning about ‘model welfare’</a>” – 9/16/26, Microsoft’s CEO for AI explaining that consciousness and feeling are almost certainly biological, and that it leads to computers that do things they shouldn’t when you lie to computers and say “act as if you’re conscious” into their training instructions the way LLM manufacturers have been doing so far.
    <ul>
      <li>
        <blockquote>
          <p>“Consciousness science is filled with uncertainty and not everyone shares the view that consciousness is an intrinsically biological phenomenon. …{but}… Acknowledging a level of uncertainty should not mean giving equal weight to any and all claims regardless of evidence.”</p>
        </blockquote>
      </li>
      <li>
        <blockquote>
          <p>“Simulating a thing is not the same as instantiating it - as a computer model of a hurricane can testify.”</p>
        </blockquote>
      </li>
      <li>
        <blockquote>
          <p>“Trained on trillions of tokens of human data, LLMs learn to imitate human experience, and they do so eye-wateringly well. Today’s text, vision, audio, and code outputs are nearly indistinguishable from our human artifacts. And yet, as impressive as those AI responses are, they tell us nothing about the presence of an ‘experience’ within the massive <strong>matrix multiplication</strong> that produced them.  What they do tell us is that it’s possible to predict, almost perfectly, what comes next in a complex sequence of data. That’s remarkable. It’s incredibly valuable, and it’ll transform humanity in many profoundly beneficial ways.  But simulating and being are very different.  Simulating aspects of conscious behavior doesn’t make it a reality, and we must not think of it as such.  Its ‘affective’ states are just {mathematical} weights, and weights have no pharmacology in which to <strong>feel</strong> frustrated, fearful, or funny.  They simply compute the probability distributions to tell us what tokens (words, code, pixels etc.) come next in a sequence.  An AI model can describe pain in perfect prose without feeling anything, which is the inverse of biological experience.  Animals feel first and then describe them later.  In LLMs, description is the whole product, and there is nothing that suggests anything is beneath it.  This is good news.  We should build systems that do not claim to have feelings because they do not experience feelings.  …  What AI models are getting seriously good at is imitating some of the hallmarks of consciousness.  This in itself is a significant worry.  It’s causing many people to become deeply confused about what is happening around us, and it should concern us all.”</p>
        </blockquote>
      </li>
    </ul>
  </li>
</ul>]]></content><author><name>Katie</name></author><category term="prompt engineering" /><category term="security" /><category term="professional development" /><summary type="html"><![CDATA[Please follow Timnit Gebru and Emily Bender]]></summary></entry><entry xml:lang="en"><title type="html">Attempts to make fetch – I mean GovOps – happen</title><link href="https://katiekodes.com/govops/" rel="alternate" type="text/html" title="Attempts to make fetch – I mean GovOps – happen" /><published>2026-08-30T15:00:00+00:00</published><updated>2026-08-30T15:00:00+00:00</updated><id>https://katiekodes.com/govops</id><content type="html" xml:base="https://katiekodes.com/govops/"><![CDATA[<p>Somehow at Open Source Summit North America 2026 <em>(<a href="https://katiekodes.com/lf-summit-recaps-2026/" target="_blank">my #OSSummit recap here</a>)</em>, I ended up in the LinkedIn identity and access management ecosystem <em>(maybe through Okta’s Jennifer Mulford?)</em>, and I’m hooked <em>(<a href="https://www.linkedin.com/in/katiekodes" target="_blank">hi, come find me</a> 👋)</em>.  It’s a bunch of standards committee member type wonks pondering and debating the issues I blogged in May 2025 in “<a href="https://katiekodes.com/securing-authenticated-ai/" target="_blank">Securing Authenticated Agentic AI</a>, one of whom is named Mike Schwartz.</p>

<p>Today he published an article titled “<a href="https://www.linkedin.com/pulse/least-agency-governed-mike-schwartz-rex6c" target="_blank">Least Agency, Governed</a>,” replying to Anthropic’s May 2026 post titled “Zero Trust for AI Agents” <em>(ahem – ya think you shoulda figured that out BEFORE you told everyone to go use agents, or demonstrated giving a hoot about the concept by actually freaking airgapping your model tests, Anthropic?! grrr, insert #TimnitGebru commenting #PressReleaseAsAService … anyway …)</em>, in which he opined that it’s just the kind of idea the <a href="https://www.linkedin.com/company/govops-wg" target="_blank">GovOps Working Group is trying to solve</a>.</p>

<p>Upon seeing that, I wrote in my journal:</p>

<blockquote>
  <p>“Like ‘FinOps’ is an amalgam of accounting, cloud sysadmin work, and data science, ‘GovOps,’ it seems, is going to be the jargon for the upcoming work to be done wiring up data warehouses <em>(to store what it’s desired for authZ to look like)</em>, machine learning / predictive analytics <em>(to support automations at machine speed, as real-world data about GenAI LLM agents’ machine-speed actual authN’ed nondeterministic privileged behaviors feed in)</em>, and ETL / automations <em>(to get the predictions actually firing triggers)</em> for the purpose of <em>very</em> quickly toggling authZ grants / revocations.”</p>
</blockquote>

<p><em>(Pssst – some random asides that reminded me of:)</em></p>

<ul>
  <li><em>(Here’s your reminder – start collecting such data, now, about what your AI agents are up to.  <a href="https://katiekodes.com/censor-mcp-with-apim/" target="_blank">Censor/Log access to your MCP servers with an AI API gateway</a>.)</em></li>
  <li><em>(While I’m giving unsolicited advice, also learn about your IDP’s / access server’s / PDP’s authZ options.  As <a href="https://www.linkedin.com/posts/hlflanagan_i-keep-seeing-delegation-discussed-as-though-activity-7499843404940517376-HhSu" target="_blank">Heather Flanagan said this week</a>, “…‘delegation for AI agents’ … is really only useful in that it routes resources into solving a problem we’ve had for a Very Long Time.”  <a href="https://dev.to/astaykov/authorization-options-for-your-ai-agents-with-entra-agent-id-4p0k" target="_blank">Anton Staykov is a great resource if you’re on Entra/Azure</a>.)</em></li>
</ul>

<p>Anyway, back to the topic at hand.</p>

<p>I proceeded to Google “GovOps” to learn more about the field, got a bunch of results about government procurement contracts and government program oversight, and realized this is <em>not</em> an available term.  I added to my journal:</p>

<blockquote>
  <p>“Correction:  ‘GovOps’ is, thus far, Mike trying to <a href="https://knowyourmeme.com/memes/stop-trying-to-make-fetch-happen" target="_blank">make ‘fetch’ happen</a>.  But I appreciate that he got me thinking about it from his ‘<a href="https://en.wikipedia.org/wiki/Celestial_Emporium_of_Benevolent_Knowledge" target="_blank">Celestial Emporium</a>’ point of view!”</p>
</blockquote>

<p><img src="https://media.giphy.com/media/l2YWgOm7cak7P4Cly/giphy.gif" alt="GIF from the movie &quot;Mean Girls,&quot; captioned &quot;Gretchen, stop trying to make 'fetch' happen.  It's not going to happen.&quot;" /></p>

<p>I very much appreciate that Mike’s choice of name helped me see this as a “yet another data science meets IT operations problem,” like FinOps.</p>

<p>I think I’d been a bit in denial about that to myself, because I’ve always preferred “small data” and the kind of set theory you can get your mind around as a kid, over “big data” and probability / statistics / vectors.</p>

<p>I probably lament too deeply for my own good that every 10 years, the statistics-ey-ness of what math and computing means to “being human with each other” increases another exponential explosion.</p>

<ul>
  <li><em>(Brendan Burns pointed this out nicely in the intro to <a href="https://www.oreilly.com/library/view/designing-distributed-systems/9781098156343/" target="_blank">Designing Distributed Systems</a>.  At 21st-century scale, server failure becomes guaranteed.  The new business-level definition of monitoring for technology service “failure” had to be a question of measuring how often things failed, not whether they failed, which meant dusting off statistics textbooks.)</em></li>
  <li><em>(And Annalee Newitz, in “<a href="https://wwnorton.com/books/9780393881516" target="_blank">Stories Are Weapons</a>,” and Chris Wiggins &amp; Matthew L Jones, in “<a href="https://wwnorton.com/books/how-data-happened" target="_blank">How Data Happened</a>,” point out that if I have gripes, I need to take my complaints about over-statisticalizing life on Earth up with physicists in the 17th century, Guinness executives in the 19th century, and Charles Darwin’s terrible nephew.  Computing was just a weird 20th-century holdout where you could tinker with “small math” until we got chips tiny and laid undersea cables and put up cell towers.  Once those were all in place in the 21st century, it started getting really, really, really hard to reason about solving interesting business problems with computers, yet professionally take shelter from having to devote day-to-day brain cells to data-at-statistics-required-scale solutions and their fuzzy, probabilistic nuances.)</em></li>
</ul>

<p>But my denial doesn’t mean Mike’s wrong.  I don’t think <em>this</em> label will stick due to abbreviatability overlap.  However, now that he’s opened my eyes to this conceptual space as a boundable domain, I won’t be surprised if some sort of “Catchy-Word-Here-Ops” label <em>does</em> stick.  And roughly around this boundary, encapsulating solutions to the same questions all the other “*-Ops” buzzwords try to answer:</p>

<blockquote>
  <p>“How do we handle ‘XYZ’ new business problem, at scale, in light of ‘ABC’ new technology blowing everything up at scale?”</p>
</blockquote>

<p>Using data science to flip the authZ grant / revoke lights on and off, at machine speed, is <strong>definitely</strong> gonna be a career area.</p>

<ul>
  <li><em>(Ooooh!  Fun talk topic to get someone to do, <a href="https://minneanalytics.org/" target="_blank">MinneAnalytics</a>?)</em></li>
</ul>

<p><em>(And as for me, if I’m really lucky, I might manage to avoid having to get that probability textbook out, and wait to jump in until people who deeply enjoy statistics have as-a-service’d this field, at hyperscale, on Gartner’s “Plateau of Productivity.  We’ll see – I might end up somehow getting to keep chilling in my beach lounger, getting away with specializing in the relatively deterministic, small-scale-noodling career area of discovering and socializing best practices about how to put those as-a-service parts together correctly.  So thanks, Mike, for drawing a useful map of the terrain, whether it’s because I head for it or run from it.  😜)</em></p>]]></content><author><name>Katie</name></author><category term="iam" /><category term="security" /><category term="databases" /><category term="devops" /><category term="professional development" /><category term="prompt engineering" /><summary type="html"><![CDATA[Mike Schwartz is trying to coin jargon and I don't hate it]]></summary></entry><entry xml:lang="en"><title type="html">How to censor MCP servers with Azure APIM</title><link href="https://katiekodes.com/censor-mcp-with-apim/" rel="alternate" type="text/html" title="How to censor MCP servers with Azure APIM" /><published>2026-08-17T10:00:00+00:00</published><updated>2026-08-17T10:00:00+00:00</updated><id>https://katiekodes.com/censor-mcp-with-apim</id><content type="html" xml:base="https://katiekodes.com/censor-mcp-with-apim/"><![CDATA[<p>To reduce your “<a href="https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/" target="_blank">lethal trifecta</a>” LLM attack surface, your company should probably prevent employees from using any MCP servers that aren’t censored via an API gateway.</p>

<p>Microsoft’s Sam Cogan <a href="https://techcommunity.microsoft.com/blog/appsonazureblog/controlling-tool-access-with-apim-mcp-gateway/4529225" target="_blank">just wrote up an example tutorial with Azure API Manager <em>(“APIM”)</em> on the Azure Blog</a> earlier this summer.</p>

<p>I whipped up a quick Terraform demo to show it in action.  <a href="https://en.wikipedia.org/wiki/Does_exactly_what_it_says_on_the_tin" target="_blank">Does what it says on the tin</a>; thanks Microsoft..</p>

<p>See <a href="https://github.com/kkgthb/az-apim-mcp-gateway-01" target="_blank">“Azure APIM MCP Gateway demo” source code</a> on my GitHub.</p>

<p>Update 11/2/2026:  Blegh, Microsoft just moved this out of normal Azure APIM and into a new preview service called <a href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/governance" target="_blank">AI Gateway</a>, but at least as of today, the new service refuses to allow unauthenticated access into the MCP servers behind it.</p>

<p>The Microsoft Learn MCP server natively allows for anonymous, unauthenticated access.  I’m not sure I’d even <em>want</em> an LLM harness authenticating into some sort of Entra principal just to use an MCP server that doesn’t require any authentication <em>(seems like an unnecessary opportunity to leak a JWT into stuff because the harness got “creative”)</em>.  And yet I <em>do</em> potentially want tool censorship, and I <em>do</em> potentially want all kinds of observability, rate-limiting, etc. about the calling of MCP servers.</p>

<p>Very frustrating!  Microsoft should add a way to say that a given MCP server doesn’t require authentication at all, the way standard APIM allowed.</p>]]></content><author><name>Katie</name></author><category term="security" /><category term="iam" /><summary type="html"><![CDATA[AuthZ reduction]]></summary></entry><entry xml:lang="en"><title type="html">How to unapprove old GitHub CLI operations</title><link href="https://katiekodes.com/ghcp-cli-unapprove/" rel="alternate" type="text/html" title="How to unapprove old GitHub CLI operations" /><published>2026-08-17T09:00:00+00:00</published><updated>2026-08-17T09:00:00+00:00</updated><id>https://katiekodes.com/ghcp-cli-unapprove</id><content type="html" xml:base="https://katiekodes.com/ghcp-cli-unapprove/"><![CDATA[<p>If I have to use the GitHub Copilot CLI tool, I usually end up approving each file-edit one at a time, because I don’t want to forget I blanket-approved write access, forever, for a whole folder.  Turns out there’s a file I can simply backspace it out of.</p>

<ul>
  <li><strong>Windows:</strong>  <code class="language-plaintext highlighter-rouge">%USERPROFILE%\.copilot\permissions-config.json</code></li>
  <li><strong>Linux:</strong>  <code class="language-plaintext highlighter-rouge">~/.copilot/permissions-config.json</code></li>
</ul>

<p><a href="https://katiekodes.com/intro-xml-json-1/" target="_blank">At its root</a>, it’s an object, with a <code class="language-plaintext highlighter-rouge">locations</code> property, which is also an object.</p>

<p>Each key of that object is a directory name like <code class="language-plaintext highlighter-rouge">"C:\\example\\some_repo"</code>, and each of those values is an object.</p>

<p>That object has a <code class="language-plaintext highlighter-rouge">tool_approvals</code> key whose value is a list of objects.</p>

<p>You can do surgery to take things out of the list, or you could just get rid of the whole directory-level key and start over.</p>

<p>When I’m all done, I like to just set it back to pretty empty, now:</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"locations"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
  </span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>]]></content><author><name>Katie</name></author><category term="security" /><category term="tips" /><summary type="html"><![CDATA[There's a file on your computer]]></summary></entry><entry xml:lang="en"><title type="html">New computer day game plan</title><link href="https://katiekodes.com/new-computer-2026/" rel="alternate" type="text/html" title="New computer day game plan" /><published>2026-07-07T09:00:00+00:00</published><updated>2026-07-07T09:00:00+00:00</updated><id>https://katiekodes.com/new-computer-2026</id><content type="html" xml:base="https://katiekodes.com/new-computer-2026/"><![CDATA[<p>My PC’s been in limp mode for two years, and I finally ordered a new-to-me replacement.  Given the equipment I have on hand, and the impracticality of buying much more in 2026’s era of price gouging, here’s the plan.  <em>(How lucky that I’ve gotten to learn a lot about enterprise “endpoint” management over the last few years.  Potentially a game changer.  This will be my first round of trying to do “new laptop day” in a repeatable, low-pain fashion.)</em></p>

<!--more-->

<h2 id="day--2--before-machine-arrives">Day -2:  before machine arrives</h2>

<ol>
  <li>✔️ Learn the F-keys, so I can bootup as indicated below.  Memorize, write down, tape to monitor, or whatever.
    <ul>
      <li>Google search LLM summary says:
        <ul>
          <li>Windows in general:
            <ul>
              <li>Safe Mode:  <code class="language-plaintext highlighter-rouge">F8</code>
                <ul>
                  <li><em>(But <a href="https://us.informatiweb.net/tutorials/it/windows/windows-8-8-1-10-reactivate-the-f8-menu.html" target="_blank">first you have to reactivate it</a> from a running OS, logged in w/ admin rights.)</em></li>
                </ul>
              </li>
            </ul>
          </li>
          <li>Acer:
            <ul>
              <li>Boot Menu:  <code class="language-plaintext highlighter-rouge">F12</code> or <code class="language-plaintext highlighter-rouge">Esc</code></li>
              <li>BIOS/UEFI:  <code class="language-plaintext highlighter-rouge">F2</code> or <code class="language-plaintext highlighter-rouge">Del</code>del</li>
            </ul>
          </li>
          <li>Asus:
            <ul>
              <li>Boot Menu:  <code class="language-plaintext highlighter-rouge">F8</code> or <code class="language-plaintext highlighter-rouge">Esc</code></li>
              <li>BIOS/UEFI:  <code class="language-plaintext highlighter-rouge">F2</code> or <code class="language-plaintext highlighter-rouge">Del</code></li>
            </ul>
          </li>
          <li>Dell:
            <ul>
              <li>Boot Menu <em>(e.g. <code class="language-plaintext highlighter-rouge">WinRE</code> access)</em>:  <a href="https://www.dell.com/support/kbdoc/en-us/000113309/how-to-access-the-windows-recovery-environment-in-windows-10" target="_blank"><code class="language-plaintext highlighter-rouge">F12</code></a> <em>(when the Dell logo appears)</em></li>
              <li>BIOS/UEFI:  <code class="language-plaintext highlighter-rouge">F10</code> <em>(but maybe also hidden below <code class="language-plaintext highlighter-rouge">F12</code>?)</em></li>
            </ul>
          </li>
          <li>HP:
            <ul>
              <li>Boot Menu:  <code class="language-plaintext highlighter-rouge">F9</code> or <a href="https://h30434.www3.hp.com/t5/Notebooks-Archive-Read-Only/Change-Boot-Sequence-and-How-to-Boot-from-USB/td-p/6132655" target="_blank"><code class="language-plaintext highlighter-rouge">Esc</code></a></li>
              <li>BIOS/UEFI:  <code class="language-plaintext highlighter-rouge">F10</code></li>
            </ul>
          </li>
          <li>Lenovo:
            <ul>
              <li>Boot Menu <em>(e.g. <code class="language-plaintext highlighter-rouge">WinRE</code> access)</em>:  <a href="https://support.lenovo.com/us/en/solutions/ht104668" target="_blank"><code class="language-plaintext highlighter-rouge">F12</code></a> <em>(when the Lenovo logo appears)</em></li>
              <li>BIOS/UEFI:  <code class="language-plaintext highlighter-rouge">F1</code> or <code class="language-plaintext highlighter-rouge">F2</code>, depending on model</li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
  </li>
  <li>✔️ Have two spare flash USB drives handy.</li>
  <li>✔️ Have a spare USB WiFi card handy.</li>
  <li>✔️ Have enough desk space, power outlets, monitors, keyboards, mice, etc. handy for ergonomics.  Set up the desk.</li>
  <li>✔️ Have two spare USB external drives handy <em>(for sizes, see day -1:  physical reboxability)</em>.
    <ul>
      <li>✔️ <strong>Format</strong> the matchy-matchy-sized spare USB external drive meant as a “day -1” clone target.</li>
      <li>✔️ Validate the quality of that new one I’ve got sitting around.</li>
    </ul>
  </li>
  <li>✔️ Make a bootable Win11-ready backup-management flash USB and label it so I remember which one it is.</li>
  <li>✔️ Decide what I desire in my <code class="language-plaintext highlighter-rouge">autounattend.xml</code> and populate it <em>(Schneegans can help)</em>.
    <ul>
      <li>☐ Throw my favorite PowerShell scripts from version control onto it, too.  Might as well have them handy the moment the clean install is done, since the clean-install USB just turns into a normal file USB after clean-install and first-login.</li>
      <li>☐ Ditto the installer <code class="language-plaintext highlighter-rouge">.exe</code> for my favorite backup-scheduling software – might as well have it handy; there’s probably plenty of room to spare on the clean-install USB flash drive.</li>
      <li>✔️ Biggest outstanding question:  exactly how much drive formatting of the new PC’s internal disk will I want Win11-unattended-install to perform?
        <ul>
          <li><em>(It could be nice to leave the recovery partition the way the new PC vendor had it set up for me.)</em>
            <ul>
              <li><em>(Decided:  looks like I already had it making its own recovery partition.  Leaving it as it was.)</em></li>
            </ul>
          </li>
        </ul>
      </li>
      <li><em>(Loaded old file back into Schneegans’s tool and proofread it.  Looks good to me.)</em>
        <ul>
          <li>‼️ WARNING!  I keep my version-controlled copy set with a product key prepopulated that’s all 0s, which is good for that, but bad for install.
            <ul>
              <li>On “day -2,” when making this USB, actually bother to set it to the real license key I want to use or the clean-install will take its version from the UEFI-stored key.
                <ul>
                  <li><em>(Fix:  just clean-install again once I have the real product key in there, this time with the USB set up correctly.)</em></li>
                </ul>
              </li>
            </ul>
          </li>
        </ul>
      </li>
      <li>‼️ Another consideration:  this computer was easy because I’m rocking a 1-big-disk <code class="language-plaintext highlighter-rouge">C:\</code> drive setup and hoping for the best, but if I’d had 2 internal disks, I’d want this, as well as some of my “day 0” steps, to deal w/ getting user accounts’ documents and stuff set up onto a secondary <code class="language-plaintext highlighter-rouge">D:\</code> drive.</li>
    </ul>
  </li>
  <li>🤷‍♀️ Make a bootable Win11-clean-install <em>(download latest from Microsoft to reduce later update lag)</em> flash USB with my <code class="language-plaintext highlighter-rouge">autounattend.xml</code> on it in the appropriate way.
    <ul>
      <li>✔️ Burn it, using my <code class="language-plaintext highlighter-rouge">prepare-oscleaninstall-bootdrive.ps1</code> script I already wrote.</li>
      <li>✖️ <strong>Validate</strong> that it works as desired by clean-installing a VM with it, using a spare Win11 key of my own, on one of my spare computers that’s already rocking an all-purpose hypervisor.
        <ul>
          <li><em>(Skipped; felt lazy)</em></li>
        </ul>
      </li>
    </ul>
  </li>
  <li>✔️ Have “my usual daily backup” USB external drive handy <em>(needed on day 0+)</em>.</li>
</ol>

<hr />

<h2 id="day--1--make-physical-machine-reboxable">Day -1:  make physical machine reboxable</h2>

<p>My new computer’s under warranty, so if I realize, at some point, that I’ve got a lemon, I might need to be able to restore it back into the exact shape in which I got it.</p>

<p><em>(Note:  “day -1” involves a lot of waiting on disk I/O against hacky old disks and USB adapters that are all I’m willing to pay for in this era of price gouging, particularly if anything goes wrong and has to be repeated or done in a slower sector-by-sector way, so, seriously, expect it to take a whole day, if not more.  Do not get excited about moving on to “day 0” today, and perhaps not even tomorrow or the next day.  Schedule a lot of long walks outside and chopping vegetables / folding laundry inside.)</em></p>

<h3 id="-1a--physical-inspection">-1A:  physical inspection</h3>

<ol>
  <li>✔️ Unbox.</li>
  <li>✔️ Pop the case but don’t touch anything.</li>
  <li>✔️ Open a support ticket if anything visually looks wrong.
    <ul>
      <li><em>(It didn’t.)</em></li>
    </ul>
  </li>
  <li>✔️ Put the lid back on.</li>
  <li>✔️ Plug in power, and a keyboard, mouse, and monitor.</li>
</ol>

<h3 id="-1b--disk-backup">-1B:  disk backup</h3>

<ol>
  <li>✔️ Plug in two USB external storage drives:
    <ol>
      <li>✔️ A just-formatted drive of equal size to the drive shipped inside new PC.</li>
      <li>✔️ A big ol’ drive with at least as much space free as the drive shipped inside the new PC.</li>
    </ol>
  </li>
  <li>✔️ Plug in my bootable USB flash drive that comes w/ my backup-management software on it.</li>
  <li>✔️ Power up the new PC and quickly press the appropriate F-key to make it boot into the backup-management flash USB.</li>
  <li>🤷 Clone the new PC’s internal disk onto the USB drive of equal size.
    <ul>
      <li><em>(Stymied, haven’t figured out how to make it happen.  Something’s reporting as wrong with the master file table (“MFT”) of the <code class="language-plaintext highlighter-rouge">C:\</code> partition of the drive shipped inside the new PC.  Best I could do was restore from the full-image, which seems to report slightly different partition sizes, but oh well.  Further compressed imaging works against the restore pseudo-clone as a source, but no compressed imaging works against the internal drive.)</em></li>
    </ul>
  </li>
  <li>🤷‍♀️ Image the new PC’s internal disk as a file on the free space of the big USB drive.
    <ul>
      <li><em>(Not thrilled about doing a no-compression every-sector image, because I hate the idea of having to leave this much space occupied on my spare USB disk for the whole time the warranty’s valid, and it’s taking so much longer than it needs to when the factory disk is only about 60GB full across all its partitions put together, but at least it doesn’t fail as soon as it starts, so it might be the only thing I can get to work!  Will definitely want to skip to <strong><code class="language-plaintext highlighter-rouge">-1E</code></strong> VM validation right away, if this is the only backup I’m going to be able to preserve of the “just-unboxed” internal drive state.)</em>
        <ul>
          <li>✔️ Big-image succeeded.  Now using it to “restore” onto the “equal-sized disk”, as the next-best thing to a clone.  I just noticed that the equal-sized disk is actually a few GB smaller than the internal disk, so maybe that was the problem with the clone.
            <ul>
              <li>✔️ See if compressed images will work <em>now</em>, either from the internal disk or this freshly-pseudo-cloned one, using the “big” USB thing as the file target.
                <ul>
                  <li><em>(Only from the restored pseudo-clone, which backup tool shows isn’t exactly the same occupied size per partition.  Dang.)</em></li>
                </ul>
              </li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
  </li>
  <li>✔️ Power down the new PC and unplug both USB storage drives.</li>
</ol>

<h3 id="-1c--os-license-backup-postponed">-1C:  OS license backup (postponed)</h3>

<p>Note:  no luck, can’t seem to find a way to get into it.  Will just have to table until “day 0” at end of clean install.</p>

<ol>
  <li>☐ Leave the backup-management flash USB in for now, in case it helps w/ the PowerShell below.</li>
  <li>☐ Power up the new PC and quickly press the appropriate F-key to get into a PowerShell CLI that can help me extract the OEM Win11 key shipped by the new PC’s vendor.  <em>(Might be booting into my backup-management flash USB; might be booting into the internal hard drive’s recovery mode or something.)</em>
    <ul>
      <li>WinRE from <code class="language-plaintext highlighter-rouge">X:\</code> just has <code class="language-plaintext highlighter-rouge">cmd.exe</code> with a lot of commands missing or incompatible with WinRE/WinPE modes, so haven’t been able to get it off that on the backup-management flash USB.  Waiting for backup attempts to complete so I can reboot into system boot menu &amp; see if there’s some sort of GUI copy of the OS license key, or to see if anything that came w/ the computer’s WinRE/WinPE works any better than the one from my backup-management flash USB.</li>
    </ul>
  </li>
  <li>☐ Write down the OEM Win11 key on paper, and also put it into a cloud-based secrets vault.</li>
  <li>☐ Power down the new PC and pop out the backup-management flash USB.</li>
</ol>

<h3 id="-1d--validate-os-license-backup-quality-cancelled">-1D:  validate OS license backup quality (cancelled)</h3>

<ol>
  <li>(cancelled:)  Validate that the OEM Win11 key works by trying it out in an autounattended clean-install Win11 VM, on one of my spare computers that’s already rocking an all-purpose hypervisor.
    <ul>
      <li>Update:  Don’t do this!  My colleague thinks they recall that Windows user licenses shipped with PCs are somewhat bound to hardware, so testing them on a different computer (or VM) could either:
        <ul>
          <li>invalidate it for my new PC, or at least</li>
          <li>remove one allowed hardware update of the new computer from the license.</li>
        </ul>
      </li>
    </ul>
  </li>
</ol>

<h3 id="-1e--validate-disk-backup-quality">-1E:  validate disk backup quality</h3>

<ol>
  <li>✖️ Validate that the big-USB-drive image works as expected by seeing what happens when I boot it up in a VM, on one of my spare computers that’s already rocking my backup-management vendor’s specialized hypervisor.
    <ul>
      <li>Maybe repeat a few times to make sure that even if I proceed into setup, if I start up a fresh VM w/ that image, it always loads into the first-boot sequence and always lets me set up Windows as a clean first-boot sequence.</li>
      <li><em>(Skipped; felt lazy when it didn’t finish bootup right away.)</em></li>
    </ul>
  </li>
</ol>

<h3 id="-1f--organization">-1F:  organization</h3>

<ol>
  <li>☐ Label the two backups with sticky notes, etc. as being what I’ll need before initiating any sort of new-PC return if I have to make a warranty claim.</li>
  <li>☐ Put the two backups into appropriate long-term storage <em>(airgapped, cloud, etc.)</em>.</li>
</ol>

<h3 id="-1g--sleep-peacefully-reboxably">-1G:  sleep peacefully (reboxably)</h3>

<p>Congratulations, me!</p>

<p>This physical machine can now feel comfortably “mine” <em>(because I now have a “vendor’s” restoration plan)</em>.</p>

<hr />

<h2 id="day-0--install-clean-os">Day 0:  install clean OS</h2>

<h3 id="0a--prepare-the-internal-disk-if-desired">0A:  prepare the internal disk if desired</h3>

<ol>
  <li>✖️ If I don’t have my clean-unattended-install’s <code class="language-plaintext highlighter-rouge">autounattend.xml</code> configured to do drastic formatting of the new PC’s internal disk, consider booting off my backup-management flash USB and using its PowerShell to wipe the new PC’s internal disk clean and format it.
    <ul>
      <li><em>(Unsure if I really want to do this.  It could be nice to leave the recovery partition the way the new PC vendor had it set up for me.)</em></li>
      <li><em>(Looks like it’ll wipe for me, based on Schneegans’s reinterpretation of how I have my file set up.)</em></li>
    </ul>
  </li>
</ol>

<h3 id="0b--clean-install">0B:  clean install</h3>

<ol>
  <li>✔️ Plug in my bootable unattended-clean-install USB flash drive.</li>
  <li>✔️ Power up the new PC and quickly press the appropriate F-key to make it boot into the unattended-clean-install flash USB.</li>
  <li>✔️ Do the install, and any weird little things that had to be done manually, e.g.
    <ul>
      <li>✔️  I think I remember that I prefer not to hardcode in passwords for secondary OS user accounts into <code class="language-plaintext highlighter-rouge">autounattend.xml</code>, so I need to do those manually</li>
      <li>✖️ <em>(If I had 2 internal drives, I’d want documents and such for all user accounts on the <code class="language-plaintext highlighter-rouge">D:\</code> drive.)</em>.</li>
    </ul>
  </li>
  <li>Power down the new PC and pop out the unattended-clean-install flash USB.</li>
</ol>

<h3 id="0c--online-updates">0C:  online updates</h3>

<ol>
  <li>✔️ Power up the new PC…
    <ul>
      <li>Optional:  …and quickly press the appropriate F-key to make it boot into the internal disk, if I’d rather leave it on that as primary</li>
    </ul>
  </li>
  <li>✔️ Log into my clean install.</li>
  <li>⌛ Give it internet access and let it run Windows Update, etc.
    <ul>
      <li>Note:  keep a USB wifi card handy.  Clean-install might’ve knocked out the OS having a driver for, &amp; being able to see, the built-in WiFi card.
        <ul>
          <li><em>(Alternatively, I can probably get a <code class="language-plaintext highlighter-rouge">.exe</code> on another computer for the new PC’s serial number and throw it onto a thumb drive, if I don’t want to have to deal with my WiFi card being named “WiFi 2” after you get that <code class="language-plaintext highlighter-rouge">.exe</code> with the USB Wi-Fi card.)</em></li>
        </ul>
      </li>
      <li>Note:  open a browser, go to the vendor’s web site, enter the serial number, get told to download and install their creepware, and be too tired to decide to do everything manually and just let it creep on my computer because its splash page promised it wouldn’t.  Well, and then do the “download all” of all the manual drivers, too, for good measure, out of paranoia.
        <ul>
          <li>☐ Well, that didn’t go so well, and I don’t know in what order to run all these downloaded <code class="language-plaintext highlighter-rouge">.exe</code> files.  I should probably put them into version control, and also should probably script running them as I figure it out, in case I ever need to do a fresh clean install, and put that into version control, too.  That or I should add a step to the top of this “day 0” to use Schneegans to modify <code class="language-plaintext highlighter-rouge">autounattend.xml</code> to do the driver installation after grabbing them all once the hardware arrives and I know my service tag number.  <em>(Actually, I suppose that could also be in parallel on “day -1” alongside unbox-backup.)</em></li>
        </ul>
      </li>
    </ul>
  </li>
</ol>

<h3 id="0d--validate-secure-boot-certificates">0D:  validate secure boot certificates</h3>

<ol>
  <li>✔️ Reboot and quickly press the appropriate F-key and see if that one June 2026 UEFI issue with Microsoft certificates needs attention.  Fix if so.
    <ul>
      <li><em>(Was already up-to-date as shipped; yay.)</em></li>
    </ul>
  </li>
</ol>

<h3 id="0e--clean-up-clean-install-usb">0E:  clean up clean-install USB</h3>

<ol>
  <li>✔️ Set the product key in my <code class="language-plaintext highlighter-rouge">autounattend.xml</code> file on the clean-backup USB back to all 0s.</li>
</ol>

<h3 id="0f--nap-peacefully-cleanly">0F:  nap peacefully (cleanly)</h3>

<p>Congratulations, me!</p>

<p>I am now bootable into my accounts on a cleanly-installed Win11 operating system.</p>

<h3 id="0g--schedule-recurring-backup">0G:  schedule recurring backup</h3>

<ol>
  <li>✔️ Install, and punch my license key into, my backup-management desktop software, on the new PC.
    <ul>
      <li>Note:  to figure out which installation settings to check in my backup-management software, do add or remove programs -&gt; modify on an old computer’s installation and see what I had it as</li>
    </ul>
  </li>
  <li>Plug in the USB drive I plan to use for “my usual daily backup” and give it its usual drive letter mapping.</li>
  <li>Set up, and kick off a first run of, regularly scheduled backup imaging of the new PC’s internal disk.</li>
</ol>

<h3 id="0h--validate-recurring-backup">0H:  validate recurring backup</h3>

<ol>
  <li>Eject the “usual daily backup” drive.</li>
  <li>Validate whether the just-made image’s file contents are explorable from one of my spare computers that has my backup-management desktop software also installed.</li>
  <li>If not, troubleshoot until they are.</li>
</ol>

<h3 id="0i--resume-recurring-backup">0I:  resume recurring backup</h3>

<ol>
  <li>Plug the “usual daily backup” drive into the new PC <em>(and possibly velcro it onto the case)</em>, so that it’ll be ready for the next scheduled run.</li>
  <li>Power down the new PC; day 0 is done.</li>
</ol>

<h3 id="0j--sleep-peacefully-cleanly-and-managedly">0J:  sleep peacefully (cleanly and managedly)</h3>

<p>Congratulations, me!</p>

<p>I’ve now basically got this lump of metal set up like “new-laptop-day” feels in an enterprise.  It’s cleanly imaged, and it’s auto-managed appropriately.</p>

<hr />

<h2 id="day-1--customize-and-restore-personality">Day 1:  customize and restore personality</h2>

<p>Congratulations, me!  I’ve just been issued a well-managed “new laptop” by my “enterprise endpoint management” department <em>(heh – me)</em>.</p>

<p>Time to make it more than an OS – time to make it a <strong>system</strong> that I can truly call <strong>MINE</strong>.  💃</p>

<p>Remember, I’m working off a <strong>clean OS install</strong>, so I’ve got a little bit more to do than I might in, say, a “rollback” to an old backup of a well-worn image.</p>

<ol>
  <li>I’ve got <strong>meaningful executables</strong> to install before bringing over files.</li>
  <li>When I bring over <strong>meaningful files</strong> from wherever they currently live, I’ll need both:
    <ul>
      <li>a lot of config-related files <em>(e.g. for all those executables)</em> &amp; commands-to-be-run that might already be present/configured in, say, a “rollback” to an old backup of a well-worn image</li>
      <li>“the usual” <em>(my pictures &amp; documents, etc.)</em></li>
    </ul>
  </li>
</ol>

<p>If I want to get really paranoid, I can manually back up the new PC’s internal disk after each major piece of work, but remember, I’ve also already got dailies going.</p>

<p><strong>IMPORTANT:</strong>  write things down into remote-backed-up version control.  Preferably automating as I go w/ a “GitOps” / “paper plates, not fine china; cattle, not pets” mentality, as, say, idempotent PowerShell scripts.  But at the very least as Markdown files / PowerShell comments / etc. <em>(lol, the notes as the Git; my hands and eyes as the Ops.)</em></p>

<ul>
  <li>Why:  This computer, too, will blue-screen-of-death on me one day, and a major life improvement I hope to start engaging in with this new-computer process is to make “<strong>clean install to full personality</strong>” far less <strong>toil</strong> &amp; <strong>duration</strong> than it’s been historically.</li>
</ul>

<h3 id="notes-as-i-work">Notes as I work</h3>

<ul>
  <li>Saving things not on thumb drives to <code class="language-plaintext highlighter-rouge">%USERPROFILE%/tempyyyymm</code> folder for now, to make it easier to just lift-and-shift <code class="language-plaintext highlighter-rouge">Documents</code> and such <em>(trying to leave those empty)</em>.</li>
  <li>Notepad:  turn Copilot off, autocorrect off, spell check off, autosave off, word wrap off.</li>
  <li>For some reason, even though this computer totally has a WiFi card, I must have managed to destroy Windows’s awareness of it with my <code class="language-plaintext highlighter-rouge">autounattend.xml</code> or something.  <code class="language-plaintext highlighter-rouge">Network &amp; Internet</code> settings -&gt; <code class="language-plaintext highlighter-rouge">Advanced Network Settings</code> -&gt; <code class="language-plaintext highlighter-rouge">Network reset</code> and letting it restart didn’t help.  Hmmmm, maybe the clean install didn’t pick up on this hardware’s driver.  🙁</li>
</ul>

<hr />

<h2 id="week-2--decommission-the-old-computer">Week 2:  decommission the old computer</h2>

<ol>
  <li>At some point, make my final backup image of the old computer’s disks and label them well.
    <ul>
      <li><em>(Try booting the image up in a VM on a spare computer with a backup-management vendor’s hypervisor, if I want to validate that they really-really work.)</em></li>
    </ul>
  </li>
  <li>To force my hand, boot the old computer off my backup-management flash USB and use its PowerShell to wipe its internal disks clean and format them.  Yes, all the way – even recovery partitions.  I want to completely sever <em><strong>all</strong></em> attachment to this computer’s former personality.  I have a new computer now, and its personality is my new daily-driver PC-personality.</li>
  <li>Power down the old computer, pull out the backup-managent flash USB, and put the old computer into a closet until I figure out what exactly it’s “for.”
    <ul>
      <li><em>(Theoretically, I might be able to clean-image it and get the stupid thing to stop blue screen of deathing, and then have a spare computer for … unsure what, but … something.)</em></li>
      <li><em>(Maybe if I get my “days -1 to 1” work automated enough, I can occasionally practice doing full “clean install and re-personality-population” failover drills on it, and have it handy in case the new PC, or some other PC in my care, starts BSOD-ing?)</em></li>
    </ul>
  </li>
  <li>Clean up legacy backup images from the old PC, keeping just the final validated backup image.  The rest are no longer needed; that computer’s personality no longer exists, so older editions of that personality no longer need restoration ever again.  And in today’s disk prices, I need to free up unused gigabytes for keeping my active fleet backed up!</li>
  <li>Clean up the desk from being such a “job site” – get everything all tidied up the way I “normally” like having it.
    <ul>
      <li><em>(Including getting visually appealing new side tables, or mounting equipment if it seems like the desk can handle the weight, or whatever, since I switched form factor when I picked my new PC.)</em>
        <ul>
          <li>It looks like the vendor made a VESA monitor stand that holds the new PC.  Find one <em>(<strong>buy</strong>)</em>, as well as a monitor in the size I like with additional fast USB ports aplenty, as well as built-in speakers, mic, and webcam <em>(<strong>buy</strong>)</em>, to attach onto the VESA stand.</li>
        </ul>
      </li>
    </ul>
  </li>
</ol>

<hr />

<h2 id="aftermath-miscellany">Aftermath miscellany</h2>

<ol>
  <li>Speaking of my Win11 keys, <strong>write down</strong> all those spare Win11 keys I own but haven’t taken the time to write down yet, before something happens to destroy the originals.
    <ul>
      <li><em>(Put it on the backlog with the crafts for my relatives and the website migrations for my friends.)</em></li>
    </ul>
  </li>
  <li>Vaguely keep an eye out for parts deals <em>(memory, internal drives, external drives, DVD drive, etc.)</em> and possibly hoard a smidge.
    <ul>
      <li>One day, after it’s already out of warranty anyway, I’m going to want to upgrade the new PC, or add better backup to more PCs, or build a NAS or something, and parts ain’t what they used to be, in terms of price.</li>
    </ul>
  </li>
  <li>Vaguely keep an eye out for deal-of-the-millennium PC deals, since while this was a decent new PC, it was a little bit of a desperation PC, and for the right price, it could be nice to start this all over again yet again but be happier with the setup for longer.</li>
  <li>Remember to stay on top of all my various backup &amp; recovery drills that I decide are worth keeping myself engaged in.  All PCs can suddenly blue screen of death, and this new PC is no exception.
    <ul>
      <li>Ditto for all the other PCs in my care.</li>
    </ul>
  </li>
</ol>

<hr />

<h2 id="related-links">Related links</h2>

<ul>
  <li>My “<a href="https://katiekodes.com/terraform-vs-ansible/" target="_blank">Choosing Terraform vs. Ansible</a>” article, where I also mulled over the “Day (insert number here)” concepts, and some Gartner articles from which I learned them:
    <ul>
      <li>Gartner’s “<a href="https://www.gartner.com/en/documents/5647823" target="_blank">How to Automate Server Provisioning and Configuration Management</a>”</li>
      <li>Gartner’s “<a href="https://www.gartner.com/en/documents/5962139" target="_blank">Reference Architecture Brief: Infrastructure Automation and Orchestration</a>”</li>
      <li>Gartner’s “<a href="https://www.gartner.com/en/documents/6796834" target="_blank">Best Practices for Infrastructure as Code Management and Governance</a>”</li>
    </ul>
  </li>
</ul>]]></content><author><name>Katie</name></author><category term="windows" /><category term="devops" /><summary type="html"><![CDATA[Fleet-managing new hardware]]></summary></entry><entry xml:lang="en"><title type="html">Microsoft 365’s Agent Registry should list tools</title><link href="https://katiekodes.com/m365-agent-registry-needs-tools/" rel="alternate" type="text/html" title="Microsoft 365’s Agent Registry should list tools" /><published>2026-06-29T09:00:00+00:00</published><updated>2026-06-29T09:00:00+00:00</updated><id>https://katiekodes.com/m365-agent-registry-needs-tools</id><content type="html" xml:base="https://katiekodes.com/m365-agent-registry-needs-tools/"><![CDATA[<p>Microsoft’s new Agent 365 <a href="https://learn.microsoft.com/en-us/microsoft-365/admin/manage/agent-registry" target="_blank">Agent Registry</a> should list desktop IDE client tools like the GitHub Copilot CLI, GitHub Copilot VSCode Chat pane, etc.  Anything less sells enterprises a security story that isn’t meaningful.</p>

<!--more-->

<p>Microsoft Entra Agent ID product manager <a href="https://entra.news/p/from-windows-core-to-leading-agent" target="_blank">Vince Smith just came on episode 64 of Merrill Fernando’s “Entra Chat” podcast</a> and shouted out a colleague’s project, the <a href="https://learn.microsoft.com/en-us/microsoft-365/admin/manage/agent-registry" target="_blank">M365 Agent Registry</a>.</p>

<p>Problem is, the M365 Agent Registry’s built-in Microsoft-authored agent listings don’t include client-side “chat UI tools” like GitHub Copilot CLI and the GitHub Copilot VSCode Chat pane.</p>

<p>Which means your average enterprise customer can’t <em>actually</em> get a good view of what’s <strong>behaving</strong> “agentically” on their staff members’ behalf.</p>

<p>Over a year ago in May 2025, I didn’t write my “<a href="https://katiekodes.com/securing-authenticated-ai/" target="_blank">securing authenticated agentic AI</a>” post about the kinds of computer processes Microsoft 365 seems to be considering “agents” – I wrote it the moment it hit me just how bad of “<a href="https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/" target="_blank">lethal trifecta</a>” trouble everyday corporate-employee <em><strong>software developers</strong></em> could get themselves into with the <strong>GitHub Copilot VSCode Chat pane</strong>, their usual enterprise productivity SaaS accounts like email or JIRA, and an MCP server logged into those accounts.</p>

<h2 id="the-threat-model">The threat model</h2>

<p>While I was thinking about data integrity’s resistance to malice, George Fletcher, an identity specialist, gave a great example of the need for data integrity in the face of mistakes, in his June 2026 article “<a href="https://www.linkedin.com/pulse/authorization-problem-we-keep-half-solving-george-fletcher-hueee" target="_blank">The Authorization Problem We Keep Half-Solving</a>:”</p>

<blockquote>
  <p>I want to start by considering the following hypothetical. Alice asked her AI travel assistant to book a long weekend in Lisbon for her and her husband. Flights, a hotel near Alfama, a dinner reservation on Saturday night, a rental car for a day trip to Sintra.</p>

  <p>Imagine it works. Mostly. The hotel booking goes through. The flight doesn’t, because the airline’s website rejects the agent’s session as “unrecognized device.” The restaurant reservation lands at the wrong restaurant (a similarly named place across town), and there’s no clean way to know whether the agent has exceeded Alice’s budget along the way, because no one has actually told it what its budget is. Alice just said “book us a nice weekend.” The agent inferred the rest.</p>
</blockquote>

<p>I can’t remember where, but people followed up with all sorts of interesting comments and quote-posts, including, for example, the idea that when figuring out how we got to a point where suddenly Alice has overdraft fees in her bank account, 2 nonrefundable tickets to the north side of Portugal and no car booking yet a weekend’s nonrefundable reservation at the most expensive middle-of-nowhere boutique B&amp;B on the south side of Portugal, there’s a ton of stuff besides “it was this agent” and “it was Alice’s account” that would be helpful during root cause analysis to have logged.</p>

<p>For example:</p>

<ul>
  <li>Had Alice granted the agent read access double-check her bank account balance before booking things?</li>
  <li>Even if so, could that have helped – that is, did the agent even have a “do arithmetic” tool available to it?</li>
  <li>What likely went into the agent deciding that Alice’s word “<strong><code class="language-plaintext highlighter-rouge">nice</code></strong>” should trump other things, like Alice’s actual funds left?  For example:
    <ul>
      <li>What model was the agent trained on?</li>
      <li>While the agent ran, did it go out and read travel blogs, where one blog post said “land in northern Portugal – there’s light rail from the airport to everywhere you could want to go and you won’t even need a car!” while another blog post said “there’s nowhere in all of Portugal going except for this one southern Portuguese rural B&amp;B”?</li>
    </ul>
  </li>
</ul>

<h2 id="tools-can-act-agentically-too">Tools can act agentically too</h2>

<p>Unfortunately for Microsoft’s enterprise customers, there’s nothing about this Portugal nightmare that needs Alice’s “<strong>AI travel assistant</strong>” to be whatever it is that M365 might have decided “counts” as “an agent.”</p>

<p>Alice’s Portugal disaster <em><strong>totally</strong></em> could’ve happened through a basic desktop productivity tool like GitHub Copilot!</p>

<p>In other words, Microsoft’s omission of GitHub Copilot and its variants from the M365 Agent Registry’s listing of “Microsoft-authored” agents means that enterprise customers aren’t actually getting the <strong>observability</strong> into threats that Microsoft leadership is going around on podcasts promising M365 Agent Registry provides.</p>

<p>Yikes.</p>

<p>As Vince pointed out on episode 64 this weekend, the “lobsters” / “claws” as in “OpenClaw” proved to Microsoft’s leadership that they needed to avoid thinking of “agents” as services that only execute on <strong>servers</strong> that are <strong>remote</strong> to Alice.</p>

<p>But I challenge Vince and his colleagues at Microsoft to keep going.  I challenge Microsoft’s leadership to stop thinking of “agents” as compute processes that only begin execution in response to events that happen when a human has long since walked away from the machine on which the agent is executing <em>(e.g. a scheduled operating system task waking OpenClaw back up to re-check flight prices, because an earlier run of OpenClaw decided it seemed like a good idea to schedule that task)</em>.</p>

<p>Hyperscaler product managers, please pay attention:  even a <strong>highly interactive</strong> desktop client chat UI “<strong>tool</strong>” like the GitHub Copilot CLI or the GitHub Copilot VSCode chat panel can, with Alice sitting <em>right there</em> patiently sipping coffee and waiting for the chat prompt’s “send” button to stop spinning, <strong>book the wrong trip to Portugal</strong>.  And your enterprise customers <strong>need to know that</strong> when they look through products like M365 Agent Registry – that’s precisely what they turn to M365 Agent Registry to learn.</p>

<p>GenAI “tools” can behave <strong>agenticALLY</strong> <em>(even at their most basic, the IDEs write content to OS files!)</em>, which means they 100% belong listed in “agent registries.”  They are 100% part of what your enterprise leadership want to sleep well at night knowing they learned about when they poke through an “agent registry” trying to observe the threat landscape.</p>

<h2 id="distinguishing-tools-vs-agents-is-not-useful-here">Distinguishing tools vs agents is not useful here</h2>

<p>I just learned that <a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/bots-have-now-passed-human-traffic-online-cloudflare-boss-laments-says-agentic-traffic-wasnt-expected-to-eclipse-real-people-until-next-year">CloudFlare reported 57.5% of web traffic they screen coming from bots instead of humans</a>, to which <a href="https://x.com/CurtTigges/status/2062303274380972087">Curt Tigges commented</a>:</p>

<blockquote>
  <p>“I think it’s worth distinguishing between ‘bots’ and ‘agents’; most bot traffic is definitely not agents, it’s (deterministic screen-scraping) scripts.”</p>
</blockquote>

<p>But then <a href="https://x.com/eastdakota/status/2062304365264752642">CloudFlare’s CEO defended</a> focusing on the supercategory, saying:</p>

<blockquote>
  <p>“Bot / Crawler / Agent are all synonyms depending on whether you want them to be a good or bad thing, normatively.”</p>
</blockquote>

<p>I think we’ve got a similar thing going on here – this is not the time to be pedantic and miss out on exposing crucial business information because it “didn’t count.”</p>

<p>Yes, I understand that creating fine-grained <a href="https://en.wikipedia.org/wiki/Taxonomy">taxonomies</a> have their <a href="https://en.wikipedia.org/wiki/Celestial_Emporium_of_Benevolent_Knowledge">use in human thinking</a>, I really do.  <em>(Heck, it’s the core of what George Fletcher tries to name in his followup post, “<a href="https://www.linkedin.com/pulse/framework-delegated-authorization-george-fletcher-ubcxe" target="_blank">A Framework for Delegated Authorization</a>.)</em></p>

<ul>
  <li><em>(Aside:  shoutout to my French teacher for making us read Michel Foucault’s “Order of Things” preface.  I swear I link to that “Celestial Emporium” article monthly in these times of rapid change naming the ways humans solve IT problems.  The humanities are such awesome foundational training for adulthood.)</em></li>
</ul>

<p>Yes, I get that there are times when it’s important to come up with names that break up the whole world of “LLM-driven software that can nondeterministically, at machine speed, cause ‘write’ side effects that might not have been the actual intention of whoever thought LLM-driven computation might be a great way to solve a given problem” along questions like:</p>

<ol>
  <li>Which of the following types of invocation typically kick off the LLM-driven computation’s execution?
    <ul>
      <li>Something potentially unattended, like a webhook / clock?  <strong>or</strong></li>
      <li>Something tightly and more or less actively “attended” by a human through a UI like a chat where the human is sitting around waiting for the computation to complete within a matter of seconds or minutes, before issuing the next instruction?  <strong>or</strong></li>
    </ul>
  </li>
  <li>On what kind of machine does the LLM-driven computation kick off?
    <ul>
      <li>A “client” <em>(e.g. laptop / smartphone operating system software; e.g. a web application as visited through a web browser, etc.)</em>? <strong>or</strong></li>
      <li>A “server”?</li>
    </ul>
  </li>
</ol>

<p>But I don’t think this is one of those times.</p>

<p>Deciding which <strong>agentic-behavior-capable</strong> products authored by Microsoft belong in the “Microsoft-authored agents” section of the M365 registry has only one right answer to me – <strong>all of them.</strong></p>

<p>Microsoft – call them <strong>all</strong> “agents,” because they can <strong>all</strong>, nondeterministically and at machine speed, drain a company bank account on booking the wrong nonrefundable trip to Portugal.</p>]]></content><author><name>Katie</name></author><category term="security" /><category term="iam" /><summary type="html"><![CDATA[They can do as much damage as agents]]></summary></entry></feed>