<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AppSec for Agentic Engineering · Brennenstuhl on Security</title><link>https://www.janbrennenstuhl.eu/series/agentic-appsec/</link><description>How coding agents change application security, and what security teams should build in response.</description><language>en-GB</language><copyright>Original writing CC BY 4.0, Jan Brennenstuhl</copyright><atom:link href="https://www.janbrennenstuhl.eu/series/agentic-appsec/index.xml" rel="self" type="application/rss+xml"/><item><title>Shift Down: Why Agentic Engineering Demands Platform-Level Security</title><link>https://www.janbrennenstuhl.eu/shift-down-appsec/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/shift-down-appsec/</guid><pubDate>Sun, 14 Jun 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;An organization with 500 engineering teams rarely has a single way to build, deploy, and operate services. It has a preferred path, a few tolerated exceptions, and a long tail of custom setups. Over time, local optimizations pile up on top of historical accidents. Now give every engineer multiple coding agents that produce code at machine speed. The inconsistency does not grow linearly. It compounds.&lt;/p&gt;
&lt;p&gt;This is the core tension of &lt;a href="https://www.janbrennenstuhl.eu/appsec-agentic-engineering/" title="AppSec in the Age of Agentic Engineering"&gt;agentic engineering for AppSec&lt;/a&gt;: Agents amplify whatever patterns exist. Good patterns scale. Bad patterns scale faster. The response most organizations reach for is shift-left: More scanning, earlier detection, faster feedback loops. That helps. But it treats symptoms. The structural answer is &lt;strong&gt;shift-down&lt;/strong&gt;: Embedding security into the platform layer so that insecure choices become difficult or impossible, rather than merely detectable.&lt;/p&gt;
&lt;h2 id="shift-left-distributes-responsibility-shift-down-removes-decisions"&gt;Shift-Left Distributes Responsibility. Shift-Down Removes Decisions. &lt;a class="heading-anchor" href="#shift-left-distributes-responsibility-shift-down-removes-decisions" aria-label="Link to section: Shift-Left Distributes Responsibility. Shift-Down Removes Decisions."&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Shift-left answered the question: &lt;em&gt;Who should own security?&lt;/em&gt; The answer was everyone. Development teams run their own SAST, manage their own dependencies, configure their own infrastructure. The intent was sound. The result, in many organizations, was that hundreds of teams now make thousands of security-relevant decisions independently, with varying expertise and attention.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://cloud.google.com/blog/products/application-development/richard-seroter-on-shifting-down-vs-shifting-left" title="Richard Seroter on Shifting Down vs. Shifting Left" class="ext"&gt;Shift-down asks a different question&lt;/a&gt;: &lt;em&gt;Which security decisions should exist at all?&lt;/em&gt; Instead of teaching every team to build a secure CI/CD pipeline, the platform ships one standard pipeline that verifies, tests, scans, signs, and deploys by default. Instead of auditing IAM policies across services, the platform binds short-lived credentials to Kubernetes workloads automatically. Instead of reviewing pod security settings and container hardening across the fleet, a platform-owned &lt;code&gt;WebService&lt;/code&gt; resource deploys on a managed base image with secure defaults.&lt;/p&gt;
&lt;p&gt;The Kubernetes Security SIG formalized this distinction in their &lt;a href="https://github.com/kubernetes/sig-security/blob/main/sig-security-docs/papers/shift-down/shift-down-security.md" title="Kubernetes SIG Security: Shifting Down Security" class="ext"&gt;shift-down security paper&lt;/a&gt;: Security outcomes improve when platforms absorb complexity that individual teams previously handled alone. The two approaches are complementary. Shift-left catches what slips through. Shift-down reduces what can slip through in the first place.&lt;/p&gt;
&lt;h2 id="agentic-engineering-makes-this-urgent"&gt;Agentic Engineering Makes This Urgent &lt;a class="heading-anchor" href="#agentic-engineering-makes-this-urgent" aria-label="Link to section: Agentic Engineering Makes This Urgent"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Human engineers introduce inconsistency slowly. A team picks a non-standard auth library. Another team forks a deployment template. Over months, drift accumulates. Organizations notice, create governance processes, schedule remediation campaigns.&lt;/p&gt;
&lt;p&gt;Coding agents reproduce inconsistency at machine speed. Every non-standard pattern in the codebase becomes context for generation. Every local workaround becomes a template. Every exception becomes &lt;a href="https://www.devprojournal.com/software-development-trends/devops/in-2024-prepare-to-shift-down-not-left/" title="In 2024, Prepare to Shift Down, Not Left" class="ext"&gt;infinitely scalable&lt;/a&gt;. The risk is not that agents produce insecure code in isolation. It is that they rapidly multiply architectural entropy across the fleet.&lt;/p&gt;
&lt;p&gt;Shift-left tooling (scanners, gates, review agents) catches individual instances after they appear. That was viable when inconsistency grew at human speed. At agent speed, the detection-and-remediation loop cannot keep up. You cannot scan your way out of a problem that regenerates faster than you fix it. The leverage is upstream: Make the inconsistency impossible to produce.&lt;/p&gt;
&lt;h2 id="platforms-as-security-architecture"&gt;Platforms as Security Architecture &lt;a class="heading-anchor" href="#platforms-as-security-architecture" aria-label="Link to section: Platforms as Security Architecture"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Good platforms are opinionated. They encode architectural preferences and reject alternatives. This is not bureaucracy. It is &lt;a href="https://medium.com/google-cloud/shifting-security-down-early-1a42169d05a5" title="Shifting Security Down Early" class="ext"&gt;engineering leverage&lt;/a&gt;: Every abstraction that removes a choice also removes an opportunity for mistakes.&lt;/p&gt;
&lt;p&gt;Base images, Dockerfiles, CI/CD pipelines, pod security contexts: These are platform concerns, not product concerns. When organizations treat them as team responsibilities, they get 500 variations of the same solved problem, each with its own security gaps. The alternative: Product teams declare &lt;em&gt;what&lt;/em&gt; they need, and the platform handles &lt;em&gt;how&lt;/em&gt; it runs securely.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Custom platform resources&lt;/strong&gt; (Kubernetes CRDs, internal service APIs) abstract entire categories of security decisions. A team declares a &lt;code&gt;WebService&lt;/code&gt; resource. The platform operator provisions a hardened container from a managed base image, injects mTLS sidecars, attaches scoped credentials via workload identity, configures egress policies, and wires observability. No Dockerfile. No pipeline YAML. No security context to misconfigure.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Managed identity services&lt;/strong&gt; issue short-lived, scoped credentials automatically. Teams do not configure service accounts or rotate secrets. They annotate their workload, and the platform binds identity at deploy time.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Platform-owned build and delivery pipelines&lt;/strong&gt; compile, test, scan, verify, sign, and deploy artifacts without team-maintained configuration. Security scanning is not opt-in. It is invisible. Teams push code. The platform does the rest.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Each of these shifts security from &amp;ldquo;a thing teams do&amp;rdquo; to &amp;ldquo;a property teams cannot opt out of&amp;rdquo;. Agents, which follow the path of least resistance by design, naturally produce code that fits within platform constraints rather than working around them.&lt;/p&gt;
&lt;h2 id="appsec-moves-from-enforcement-to-architecture"&gt;AppSec Moves from Enforcement to Architecture &lt;a class="heading-anchor" href="#appsec-moves-from-enforcement-to-architecture" aria-label="Link to section: AppSec Moves from Enforcement to Architecture"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Traditional AppSec reviews decisions made elsewhere. Shift-down AppSec decides which decisions should exist. Instead of asking &lt;em&gt;&amp;ldquo;did this team implement authentication correctly?&amp;rdquo;&lt;/em&gt;, the question becomes &lt;em&gt;&amp;ldquo;why are teams implementing authentication themselves?&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This reframes the operating model:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;From policy documents to platform primitives.&lt;/strong&gt; The 50-page security standard becomes a set of platform defaults, service templates, and &lt;a href="https://www.openpolicyagent.org/" title="Open Policy Agent" class="ext"&gt;policy-as-code&lt;/a&gt; rules. Coding agents (usually) do not read PDFs. They consume MCPs, CLIs and constraints.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;From reviewing PRs to designing abstractions.&lt;/strong&gt; The highest-leverage work is not catching a broken IAM policy in review. It is designing the identity service so that broken IAM policies cannot be expressed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;From remediation campaigns to platform upgrades.&lt;/strong&gt; When security lives in the platform, fixing a vulnerability class means upgrading the platform once instead of patching hundreds of services individually. The fleet inherits the fix.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This does not eliminate the need for detection. Edge cases exist. Custom integrations break assumptions. New vulnerability classes appear. But detection becomes the fallback, not the primary mechanism.&lt;/p&gt;
&lt;h2 id="the-paradox-less-freedom-more-productivity"&gt;The Paradox: Less Freedom, More Productivity &lt;a class="heading-anchor" href="#the-paradox-less-freedom-more-productivity" aria-label="Link to section: The Paradox: Less Freedom, More Productivity"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Engineers often interpret constraints as a lack of trust. The evidence points the other direction.&lt;/p&gt;
&lt;p&gt;Modern cloud engineers have far less infrastructure freedom than system administrators twenty years ago. They cannot choose their hypervisor, their network stack, or their storage firmware. Yet they are dramatically more productive. Few miss managing physical servers. The same applies to security constraints. Every hour spent on container configuration or pipeline maintenance is an hour not spent on the problem the product engineering team exists to solve. Constraints do not limit productivity. They redirect it toward differentiation.&lt;/p&gt;
&lt;h2 id="where-this-leaves-appsec-teams"&gt;Where This Leaves AppSec Teams &lt;a class="heading-anchor" href="#where-this-leaves-appsec-teams" aria-label="Link to section: Where This Leaves AppSec Teams"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Earlier this year, I argued that &lt;a href="https://www.janbrennenstuhl.eu/appsec-agentic-engineering/" title="AppSec in the Age of Agentic Engineering"&gt;AppSec must become an engineering discipline&lt;/a&gt;: building tooling, shipping remediation at scale, treating risk quantitatively. Shift-down refines the target. The tooling AppSec builds is not primarily scanners and gates. It is platform primitives, secure defaults, and opinionated abstractions that make insecure choices structurally difficult.&lt;/p&gt;
&lt;p&gt;This requires a different skill set. AppSec engineers become platform engineers who specialize in security properties. They design APIs and MCPs, build service templates, contribute to infrastructure abstractions, and maintain (or support) the paved roads that the rest of engineering (and their agents) follow.&lt;/p&gt;
&lt;p&gt;The organizations that will thrive in an agentic world are not those that allow infinite flexibility. They are those that carefully decide where flexibility should exist and where it should not. Shift-left taught us that everyone owns security. Shift-down teaches us that not everything should remain a choice. The future belongs to teams that understand the difference.&lt;/p&gt;</description></item><item><title>Dependency Updates: latest Is Not a Security Strategy</title><link>https://www.janbrennenstuhl.eu/dependency-updates/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/dependency-updates/</guid><pubDate>Fri, 15 May 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;On March 31, 2026, &lt;a href="https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/" title="Microsoft: Mitigating the Axios npm supply chain compromise" class="ext"&gt;North Korean state actors compromised Axios&lt;/a&gt;, an npm package with over 70 million weekly downloads. Any project declaring &lt;code&gt;axios@^1.14.0&lt;/code&gt; connected to attacker C2 infrastructure the next time &lt;code&gt;npm update&lt;/code&gt; ran. Six weeks later, a &lt;a href="https://snyk.io/blog/tanstack-npm-packages-compromised/" title="Snyk: TanStack npm packages compromised" class="ext"&gt;self-propagating worm hit 42 TanStack packages&lt;/a&gt;. It reached Mistral AI, UiPath, and &lt;a href="https://thehackernews.com/2026/05/tanstack-supply-chain-attack-hits-two.html" title="The Hacker News: TanStack Supply Chain Attack Hits Two OpenAI Employee Devices" class="ext"&gt;OpenAI&lt;/a&gt; within hours. It also carried valid &lt;a href="https://slsa.dev/spec/v1.0/levels" title="SLSA security levels" class="ext"&gt;SLSA provenance&lt;/a&gt; attestations, signed by the legitimate build pipeline.&lt;/p&gt;
&lt;p&gt;The same infrastructure that helps us stay current also amplified these attacks. Automated dependency updates pushed the compromised packages into production builds faster than any human could react.&lt;/p&gt;
&lt;p&gt;We learned that outdated dependencies are dangerous. That is true. But many teams have flipped the lesson around. &lt;em&gt;Newer&lt;/em&gt; is treated as &lt;em&gt;safer&lt;/em&gt;. It is not.&lt;/p&gt;
&lt;h2 id="the-trust-problem"&gt;The Trust Problem &lt;a class="heading-anchor" href="#the-trust-problem" aria-label="Link to section: The Trust Problem"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Modern package managers are not static library linkers. They are code execution pipelines. A single &lt;code&gt;npm install&lt;/code&gt; can run &lt;a href="https://docs.npmjs.com/cli/v11/using-npm/scripts" title="npm scripts documentation" class="ext"&gt;arbitrary install scripts&lt;/a&gt;, read credentials, and run with full CI permissions. It does this across hundreds of transitive packages that nobody on the team has reviewed. Every dependency expands your &lt;a href="https://en.wikipedia.org/wiki/Trusted_computing_base" title="Trusted Computing Base" class="ext"&gt;trusted computing base&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote class="quote"&gt;It&amp;rsquo;s not every dependency you add that&amp;rsquo;s a problem; it&amp;rsquo;s every dependency you update.&lt;footer&gt;Ben Hoyt, &lt;a href="https://benhoyt.com/writings/dependencies/"&gt;&lt;cite&gt;Every dependency you add is a supply chain attack waiting to happen&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;Two problems arise here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Version ranges like &lt;code&gt;^1.14.0&lt;/code&gt; do not mean &lt;em&gt;&amp;ldquo;I trust version 1.14.0&amp;rdquo;&lt;/em&gt;. They mean &lt;em&gt;&amp;ldquo;I trust every future release that matches this constraint&amp;rdquo;&lt;/em&gt;. That is a large, open-ended trust delegation. The Axios attackers used exactly that. Version &lt;code&gt;1.14.1&lt;/code&gt; was a &lt;a href="https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/" title="Microsoft: Mitigating the Axios npm supply chain compromise" class="ext"&gt;manifest-only change&lt;/a&gt; that added a malicious dependency while leaving the Axios source code untouched. &lt;a href="https://semver.org/" title="Semantic Versioning Specification" class="ext"&gt;Semantic versioning&lt;/a&gt; signals maintainer intent, not trustworthiness. The same applies to &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Docker_Security_Cheat_Sheet.html" title="OWASP Docker Security Cheat Sheet" class="ext"&gt;floating Docker tags&lt;/a&gt;, &lt;a href="https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions" title="GitHub: Security hardening for GitHub Actions" class="ext"&gt;unpinned GitHub Actions&lt;/a&gt;, and &lt;code&gt;latest&lt;/code&gt; tags everywhere.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tools like &lt;a href="https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/dependabot-quickstart-guide" class="ext"&gt;Dependabot&lt;/a&gt; and &lt;a href="https://docs.renovatebot.com/" class="ext"&gt;Renovate&lt;/a&gt; normalized constant dependency updates. At scale, they improve visibility and shorten the window for known CVEs. But they also changed how we consume trust. Security automation quietly became trust automation. Dependency update PRs receive less review than internal code, even though they run with the same or higher privilege. The volume is overwhelming and eventually the workflow shrinks to: CI passes → vulnerability score drops → merge. That creates a dangerous illusion. &lt;em&gt;&amp;ldquo;No known CVEs&amp;rdquo;&lt;/em&gt; does not mean &lt;em&gt;&amp;ldquo;safe&amp;rdquo;&lt;/em&gt;. Supply-chain attacks are newly published, initially undetected, semantically valid, and technically &lt;em&gt;&amp;ldquo;up to date&amp;rdquo;&lt;/em&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote class="quote"&gt;False positive alerts are not only a waste of time, they also reduce security by causing alert fatigue and making proper triage impractical.&lt;footer&gt;Filippo Valsorda, &lt;a href="https://words.filippo.io/dependabot/"&gt;&lt;cite&gt;Turn Dependabot Off&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;The &lt;a href="https://en.wikipedia.org/wiki/XZ_Utils_backdoor" title="XZ Utils backdoor" class="ext"&gt;XZ Utils backdoor&lt;/a&gt; in 2024 showed how long-running social engineering can compromise critical infrastructure. The &lt;a href="https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack" title="Wiz: Shai-Hulud 2.0 Supply Chain Attack" class="ext"&gt;Mini Shai-Hulud&lt;/a&gt; incidents in 2025 and the ongoing supply chain attacks show that the attack surface extends well beyond maintainer compromise. It reaches into version ranges, build pipelines, provenance systems, and the update automation that ties them together. These are not theoretical risks. They are documented, attributed attacks against the most popular packages in the ecosystem.&lt;/p&gt;
&lt;h2 id="what-controlled-trust-looks-like"&gt;What Controlled Trust Looks Like &lt;a class="heading-anchor" href="#what-controlled-trust-looks-like" aria-label="Link to section: What Controlled Trust Looks Like"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;There is no perfect fix for supply-chain risk. There are practical ways to replace blind trust with controlled trust:&lt;/p&gt;
&lt;h3 id="pin-versions"&gt;Pin Versions &lt;a class="heading-anchor" href="#pin-versions" aria-label="Link to section: Pin Versions"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Remove &lt;code&gt;^&lt;/code&gt; and &lt;code&gt;~&lt;/code&gt; from &lt;code&gt;package.json&lt;/code&gt; or whatever dependency manifest you use. Use exact versions. For transitive dependencies, force the version with &lt;a href="https://docs.npmjs.com/cli/v11/configuring-npm/package-json#overrides" title="npm overrides" class="ext"&gt;overrides&lt;/a&gt;:&lt;/p&gt;
&lt;figure class="code" data-lang="json"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" aria-label="Code (json)" class="chroma"&gt;&lt;code data-lang="json"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;dependencies&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nt"&gt;&amp;#34;axios&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;1.14.0&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;overrides&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nt"&gt;&amp;#34;axios&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;1.14.0&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;Lockfiles like &lt;code&gt;package-lock.json&lt;/code&gt;, &lt;code&gt;pnpm-lock.yaml&lt;/code&gt;, &lt;code&gt;Cargo.lock&lt;/code&gt;, and &lt;code&gt;poetry.lock&lt;/code&gt; do not make dependencies safe. They make dependency state reproducible. You cannot investigate what you cannot reproduce.&lt;/p&gt;
&lt;h3 id="enforce-release-age-cooldowns"&gt;Enforce Release-Age Cooldowns &lt;a class="heading-anchor" href="#enforce-release-age-cooldowns" aria-label="Link to section: Enforce Release-Age Cooldowns"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Supply-chain attacks have a short half-life. The compromised TanStack versions lasted about three hours before someone caught them. A &lt;a href="https://nesbitt.io/2026/03/04/package-managers-need-to-cool-down.html" title="Package Managers Need to Cool Down" class="ext"&gt;release-age cooldown&lt;/a&gt; rejects packages younger than a threshold. That gives the community time to spot compromises before they reach your builds:&lt;/p&gt;
&lt;figure class="code" data-lang="ini"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" aria-label="Code (ini)" class="chroma"&gt;&lt;code data-lang="ini"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# ~/.npmrc&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;min-release-age&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;7&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# pnpm-workspace.yaml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;minimumReleaseAge: 1440&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# ~/.bunfig.toml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;[install]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;minimumReleaseAge&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;604800&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# ~/.config/uv/uv.toml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;exclude-newer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;7 days&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;p&gt;A seven-day cooldown &lt;a href="https://www.wiz.io/blog/practical-package-security-the-unofficial-guide" title="Wiz: Practical Package Security - The Unofficial Guide" class="ext"&gt;covers 90% or more of recent supply chain incidents&lt;/a&gt;. It would have prevented both the Axios and TanStack compromises.&lt;/p&gt;
&lt;h3 id="control-upgrade-cadence"&gt;Control Upgrade Cadence &lt;a class="heading-anchor" href="#control-upgrade-cadence" aria-label="Link to section: Control Upgrade Cadence"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Filippo Valsorda &lt;a href="https://words.filippo.io/dependabot/#test-against-latest-instead-of-updating" title="Test against latest instead of updating" class="ext"&gt;recommends a better model&lt;/a&gt; than auto-updating: Run your test suite against the latest dependency versions daily in a sandboxed CI job. You get early warning of breakage without pulling untrusted code into production. You still update. You do it on your schedule, after review, when you are ready.&lt;/p&gt;
&lt;h3 id="verify-provenance-but-do-not-trust-it-alone"&gt;Verify Provenance, But Do Not Trust It Alone &lt;a class="heading-anchor" href="#verify-provenance-but-do-not-trust-it-alone" aria-label="Link to section: Verify Provenance, But Do Not Trust It Alone"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The TanStack attack is the first documented case of malicious npm packages carrying valid &lt;a href="https://slsa.dev/spec/v1.0/levels#build-l3" title="SLSA Build Level 3" class="ext"&gt;SLSA Build Level 3&lt;/a&gt; attestations. Provenance verification is necessary but not sufficient. Pair it for instance with &lt;a href="https://socket.dev" title="Socket: Supply Chain Security" class="ext"&gt;deep package inspection&lt;/a&gt; to catch suspicious network calls, filesystem access, and hidden scripts before they run.&lt;/p&gt;
&lt;h3 id="deploy-repository-proxies"&gt;Deploy Repository Proxies &lt;a class="heading-anchor" href="#deploy-repository-proxies" aria-label="Link to section: Deploy Repository Proxies"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Place package managers behind a properly configured repository proxy like &lt;a href="https://www.sonatype.com/products/sonatype-nexus-repository" class="ext"&gt;Sonatype Nexus&lt;/a&gt;, &lt;a href="https://jfrog.com/artifactory/" class="ext"&gt;JFrog Artifactory&lt;/a&gt;, or an internal mirror. These proxies should be configured not only to mirror (ideally approved) dependencies, but also quarantine suspicious releases and scan for known malware. But keep in mind that most scanners only detect known threats. Sophisticated attacks are novel by design. Proxy scanning is one layer, not a replacement for version pinning and controlled upgrades.&lt;/p&gt;
&lt;h3 id="use-reachability-aware-scanning"&gt;Use Reachability-Aware Scanning &lt;a class="heading-anchor" href="#use-reachability-aware-scanning" aria-label="Link to section: Use Reachability-Aware Scanning"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Not every CVE in your dependency tree matters. A vulnerability in a function you never call does not deserve the same urgency as one that is on your hot path. Go&amp;rsquo;s &lt;a href="https://go.dev/doc/tutorial/govulncheck" title="Go Vulnerability Checking" class="ext"&gt;govulncheck&lt;/a&gt; traces your actual call graph and filters out findings in code your application never reaches. Other ecosystems are catching up. At a minimum, make sure your scanner can tell whether a vulnerable package is actually used. The best scanners go further and trace the call graph down to the specific vulnerable function.&lt;/p&gt;
&lt;h3 id="reduce-dependency-surface-area"&gt;Reduce Dependency Surface Area &lt;a class="heading-anchor" href="#reduce-dependency-surface-area" aria-label="Link to section: Reduce Dependency Surface Area"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;blockquote class="quote"&gt;A little copying is better than a little dependency.&lt;footer&gt;&lt;a href="https://go-proverbs.github.io/"&gt;&lt;cite&gt;Go Proverbs&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;Every package adds code, maintainers, credentials, infrastructure, and trust assumptions. Modern ecosystems normalize &lt;a href="https://research.swtch.com/deps" title="Russ Cox: Our Software Dependency Problem" class="ext"&gt;absurd dependency depth&lt;/a&gt;. Before adding a package, ask: can we write this in 30 lines? If yes, write it. A &lt;a href="https://www.janbrennenstuhl.eu/topics/agentic-engineering/"&gt;coding agent&lt;/a&gt; can do most of the work for you.&lt;/p&gt;
&lt;h2 id="controlled-trust-not-blind-trust"&gt;Controlled Trust, Not Blind Trust &lt;a class="heading-anchor" href="#controlled-trust-not-blind-trust" aria-label="Link to section: Controlled Trust, Not Blind Trust"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The lesson from 2025 and 2026 supply-chain attacks is not &lt;em&gt;&amp;ldquo;never update&amp;rdquo;&lt;/em&gt;. Stale dependencies become liabilities too. The lesson is that &lt;strong&gt;blind trust does not become safer just because it is automated&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Secure software supply chains are built on controlled trust: Pinned versions. Enforced cooldowns. Verified provenance. Proxy repository managers. Reachability-aware scanning. A small dependency surface. The fastest update is not always the safest. Sometimes the safest thing to do is wait.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Updated on May 17th: Referenced THN report on &amp;ldquo;the TanStack supply chain attack hitting two OpenAI employee devices&amp;rdquo; and the &amp;ldquo;Practical Package Security&amp;rdquo; guide by Wiz.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>AppSec in the Age of Agentic Engineering</title><link>https://www.janbrennenstuhl.eu/appsec-agentic-engineering/</link><guid isPermaLink="true">https://www.janbrennenstuhl.eu/appsec-agentic-engineering/</guid><pubDate>Thu, 14 May 2026 00:00:00 +0200</pubDate><description>&lt;p&gt;In agentic engineering, engineers hand tasks to coding agents that write code, run it, and fix their own mistakes in fast loops. Bartosz Ocytko recently mapped &lt;a href="https://ocytko.net/posts/quo-vadis-agentic-engineering/" title="Quo Vadis, Agentic Engineering?" class="ext"&gt;where agentic engineering is heading&lt;/a&gt;, from a surge of commits on GitHub to bottlenecks in verification, open source, and compute. Most security tooling and processes weren&amp;rsquo;t built for that volume of change. While reading his piece, I kept coming back to 1 question: what does this shift mean for application security (AppSec)?&lt;/p&gt;
&lt;p&gt;Ocytko argues that agentic engineering &lt;a href="https://www.linkedin.com/posts/bartoszocytko_agentic-engineering-relocates-engineering-share-7455367680225677313-04IU" title="Bartosz Ocytko via LinkedIn" class="ext"&gt;will reward organizations with strong engineering foundations&lt;/a&gt;: those that can verify, coordinate, and safely absorb machine-generated change. I think AppSec is part of that foundation. AppSec teams that already build tooling, run large-scale remediation, and treat risk quantitatively are well placed to make agentic engineering safe at scale. Attackers raise the stakes for strong security engineering, too: &lt;a href="https://cloud.google.com/blog/topics/threat-intelligence/ai-vulnerability-exploitation-initial-access" title="Adversaries Leverage AI for Vulnerability Exploitation, Augmented Operations, and Initial Access" class="ext"&gt;Google&amp;rsquo;s Threat Intelligence Group reports&lt;/a&gt; that AI models lower the barrier for adversaries to develop exploits. In May 2026, the group reported the first threat actor it believes used a zero-day exploit developed with AI.&lt;/p&gt;
&lt;p&gt;The same agents that create the volume can also help with problems that AppSec teams couldn&amp;rsquo;t solve at human scale: too many findings, too few security engineers, and feedback that arrived long after the code was written. I see 3 shifts that decide which AppSec teams keep up:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;From detection to mitigation: prevent findings inside the agent&amp;rsquo;s loop and fix the backlog at fleet scale.&lt;/li&gt;
&lt;li&gt;From writing policies to building tools: ship security tooling into the context that coding agents work in.&lt;/li&gt;
&lt;li&gt;From gatekeeping to partnership: manage security risk together with site reliability engineering (SRE), platform, and cloud engineering teams, the way they already manage reliability.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="findings-pile-up-faster-than-teams-fix-them"&gt;Findings Pile Up Faster Than Teams Fix Them &lt;a class="heading-anchor" href="#findings-pile-up-faster-than-teams-fix-them" aria-label="Link to section: Findings Pile Up Faster Than Teams Fix Them"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Most mature organizations already have good visibility into known vulnerability classes. Their scanners cover infrastructure, cloud platforms, application code, and continuous integration and delivery (CI/CD) pipelines. AI adds even more findings: HackerOne argues that &lt;a href="https://www.hackerone.com/blog/ai-vulnerability-discovery-remediation-gap" title="Finding Fast, Fixing Slow: The Crisis of Asymmetric Remediation" class="ext"&gt;AI-powered vulnerability discovery has improved by an order of magnitude&lt;/a&gt;, while remediation hasn&amp;rsquo;t kept up.&lt;/p&gt;
&lt;p&gt;Backlog data shows how far remediation lags behind. Edgescan, a vulnerability management vendor, analyzed its 2024 scanning and penetration testing results in its &lt;a href="https://info.edgescan.com/hubfs/23DOWNLOADABLE%20CONTENT/Vulnerability%20Statistics%20Reports/Edgescan_VulnerabilityStatsReport_2025.pdf" title="Edgescan Vulnerability Statistics Report 2025" class="ext"&gt;Vulnerability Statistics Report 2025&lt;/a&gt;. At enterprises with more than 1,000 employees, 45.4% of the vulnerabilities discovered within 12 months were still open. High and critical findings with the highest predicted exploit probability (an Exploit Prediction Scoring System score above 0.7) took 115.7 days on average to fix, slightly longer than the 109.4 days for those least likely to be exploited. Every finding that nobody fixes grows the backlog and extends the exposure window, the time during which an attacker can exploit the vulnerability in production.&lt;/p&gt;
&lt;p&gt;Coding agents make this worse. They generate code at machine speed, so new findings appear faster. Lars Janssen calls the growing gap between how fast teams generate code and how fast they can check it &lt;a href="https://fazy.medium.com/agentic-coding-ais-adolescence-b0d13452f981" title="Verification debt: the hidden cost of AI-generated code" class="ext"&gt;verification debt&lt;/a&gt;. If remediation still depends on engineers picking up tickets between feature work, the backlog keeps growing. Risk only goes down when teams fix findings faster than scanners discover new ones.&lt;/p&gt;
&lt;p&gt;That requires AppSec teams to move from &lt;em&gt;&amp;ldquo;we found it, you fix it&amp;rdquo;&lt;/em&gt; to &lt;em&gt;&amp;ldquo;we prevent it, and we fix what slips through&amp;rdquo;&lt;/em&gt;.&lt;/p&gt;
&lt;h2 id="move-security-feedback-into-the-agent-loop"&gt;Move Security Feedback Into the Agent Loop &lt;a class="heading-anchor" href="#move-security-feedback-into-the-agent-loop" aria-label="Link to section: Move Security Feedback Into the Agent Loop"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In the traditional loop, a scanner reports an issue in the pipeline, someone files a ticket, and an engineer fixes it when there&amp;rsquo;s time. In the agentic loop, the scan results go straight back to the coding agent, which rewrites the code in the same session until the checks pass. Many findings never reach a ticket because the agent fixes them before anyone commits the code. GitHub&amp;rsquo;s &lt;a href="https://github.blog/news-insights/product-news/secure-code-more-than-three-times-faster-with-copilot-autofix/" title="Secure code more than three times faster with Copilot Autofix" class="ext"&gt;Copilot Autofix&lt;/a&gt; suggests fixes directly in the pull request, which comes close to this loop. During its 2024 public beta, developers fixed new code scanning alerts in pull requests in a median of 28 minutes, compared with 1.5 hours without Autofix.&lt;/p&gt;
&lt;p&gt;Today&amp;rsquo;s security gates weren&amp;rsquo;t built for this loop. When a coding agent opens a pull request (PR) in seconds, a security gate that takes minutes becomes the slowest step. Binary gates also break down at this volume: &lt;em&gt;&amp;ldquo;block on medium severity&amp;rdquo;&lt;/em&gt; blocks everything, and &lt;em&gt;&amp;ldquo;ignore everything below critical&amp;rdquo;&lt;/em&gt; leaves real risks open. The risk budgets I describe further down give teams a better decision rule.&lt;/p&gt;
&lt;p&gt;Some findings will still slip through, and most organizations already carry a large backlog. Fixing them 1 ticket at a time doesn&amp;rsquo;t scale. In campaign-based remediation, AppSec targets a whole vulnerability class at once, such as an outdated dependency, an infrastructure as code (IaC) misconfiguration, or an insecure pattern repeated across hundreds of services.&lt;/p&gt;
&lt;p&gt;Spotify&amp;rsquo;s &lt;a href="https://engineering.atspotify.com/2023/05/fleet-management-at-spotify-part-3-fleet-wide-refactoring/" title="Fleet Management at Spotify (Part 3): Fleet-wide Refactoring" class="ext"&gt;fleetshift&lt;/a&gt; is a good mental model: it makes fleet-wide code changes by running a Docker image against each repository. Spotify reports that fleetshift created more than 270,000 PRs in 2022 and merged 77% of them automatically, and that it patched 80% of its production backend services within 9 hours of the Log4j disclosure.&lt;/p&gt;
&lt;p&gt;With coding agents, the AppSec team designs the campaign, and agents open, test, and verify the remediation PRs across the fleet. GitHub already supports part of this: in &lt;a href="https://docs.github.com/en/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns" title="About security campaigns" class="ext"&gt;security campaigns&lt;/a&gt;, teams can assign alerts to the Copilot cloud agent, which opens pull requests with fixes.&lt;/p&gt;
&lt;h2 id="build-and-ship-security-tooling"&gt;Build and Ship Security Tooling &lt;a class="heading-anchor" href="#build-and-ship-security-tooling" aria-label="Link to section: Build and Ship Security Tooling"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In this model, AppSec engineers build and ship security tooling and contribute remediation code directly. Their goal is infrastructure that makes coding agents produce secure code by default.&lt;/p&gt;
&lt;h3 id="security-skills-and-machine-readable-policy"&gt;Security Skills and Machine-Readable Policy &lt;a class="heading-anchor" href="#security-skills-and-machine-readable-policy" aria-label="Link to section: Security Skills and Machine-Readable Policy"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Skills are packaged instructions that coding agents load when a task needs them, and they follow an &lt;a href="https://agentskills.io/specification" title="Agent Skills Specification" class="ext"&gt;open specification&lt;/a&gt;. &lt;a href="https://github.com/cosai-oasis/project-codeguard" class="ext"&gt;Project CodeGuard&lt;/a&gt; from the Coalition for Secure AI (CoSAI) publishes general security skills for cryptography, input validation, authentication and authorization, and supply chain security. Organization-specific skills go further and encode internal policies (&lt;em&gt;&amp;ldquo;use the central auth SDK, not raw JWT handling&amp;rdquo;&lt;/em&gt;), approved libraries, and deployment constraints. If the organization distributes skills centrally, AppSec can publish a skill update when a new vulnerability class appears, and every agent in the organization has it the same day.&lt;/p&gt;
&lt;p&gt;The security policy itself needs the same treatment, because a coding agent can&amp;rsquo;t do much with a 50-page PDF. AppSec teams can turn it into agent instructions, a searchable vector database, or &lt;a href="https://www.openpolicyagent.org/" class="ext"&gt;policy-as-code&lt;/a&gt; rules that agents check while they work. The agent then verifies compliance mid-task without waiting for a human reviewer, and AppSec&amp;rsquo;s work moves from reviewing individual changes to maintaining the policies and risk models that agents enforce.&lt;/p&gt;
&lt;h3 id="local-scanners-and-review-agents"&gt;Local Scanners and Review Agents &lt;a class="heading-anchor" href="#local-scanners-and-review-agents" aria-label="Link to section: Local Scanners and Review Agents"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Security scanning can&amp;rsquo;t live only in version control platforms and CI pipelines anymore. Coding agents need static application security testing (SAST), dynamic application security testing (DAST), and reviewers based on large language models (LLMs) on the engineer&amp;rsquo;s machine, so they can check their own output before they push. AppSec teams package these tools as command-line interfaces (CLIs) or &lt;a href="https://modelcontextprotocol.io/" class="ext"&gt;Model Context Protocol (MCP)&lt;/a&gt; servers and manage their configuration and policies centrally. MCP gives agents a standard way to call tools. Engineering teams then get scanning that works without setup.&lt;/p&gt;
&lt;p&gt;Dedicated review agents combine security skills with local tooling. They check code against organization-specific policies and report issues in a form the coding agent can act on directly. &lt;a href="https://www.roborev.io/" class="ext"&gt;roborev&lt;/a&gt; points in this direction: it&amp;rsquo;s a local daemon that reviews each commit in the background through a git hook and &lt;a href="https://www.roborev.io/docs/guides/reviewing-code/" title="roborev: Reviewing code" class="ext"&gt;reports every finding&lt;/a&gt; with a severity and a file and line location before the code reaches a PR.&lt;/p&gt;
&lt;p&gt;A shared review ledger ties these checks together. Every source, whether static analyzer, dynamic scanner, or LLM-based reviewer, writes to the same structured log, typically in the &lt;a href="https://sarifweb.azurewebsites.net/" class="ext"&gt;Static Analysis Results Interchange Format (SARIF)&lt;/a&gt;. The coding agent reads the ledger after each iteration and knows which checks passed, which failed, and what to fix next. LLM-based reviewers can catch context-dependent issues that rule-based scanners miss, but they don&amp;rsquo;t return the same result on every run, so the ledger needs both.&lt;/p&gt;
&lt;h3 id="sandboxes-and-short-lived-credentials"&gt;Sandboxes and Short-Lived Credentials &lt;a class="heading-anchor" href="#sandboxes-and-short-lived-credentials" aria-label="Link to section: Sandboxes and Short-Lived Credentials"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Coding agents are most useful when they can run the code they write: they implement a change, run the tests, read the failure, and try again. That makes every agent task an untrusted workload running arbitrary code, often on an engineer&amp;rsquo;s laptop. For AppSec, this adds up to a large internal remote code execution (RCE) surface, and securing it touches workstation setup as well as engineering practice.&lt;/p&gt;
&lt;p&gt;Sandboxing and prompt injection defense go together. A coding agent reads external input such as dependency metadata, issue descriptions, PR comments, and documentation, and each of these can carry a &lt;a href="https://genai.owasp.org/llmrisk/llm01-prompt-injection/" title="OWASP LLM01:2025 Prompt Injection" class="ext"&gt;prompt injection&lt;/a&gt; that tells the agent to do something else. A sandbox limits the damage when that happens, and the common options differ in isolation strength and cost:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lightweight virtual machines (micro-VMs) such as &lt;a href="https://firecracker-microvm.github.io/" class="ext"&gt;Firecracker&lt;/a&gt; and &lt;a href="https://docs.docker.com/ai/sandboxes/get-started/" title="Docker Sandboxes" class="ext"&gt;Docker Sandboxes&lt;/a&gt; give each task a disposable environment with its own kernel.&lt;/li&gt;
&lt;li&gt;OS-level sandboxes are lighter. &lt;a href="https://nono.sh/os-sandbox" class="ext"&gt;nono&lt;/a&gt; applies irrevocable, kernel-enforced filesystem allow-lists through Landlock on Linux and Seatbelt on macOS, and &lt;a href="https://github.com/webcoyote/sandvault" class="ext"&gt;Sandvault&lt;/a&gt; runs agents as a separate macOS user inside &lt;code&gt;sandbox-exec&lt;/code&gt;. The nono authors point out that OS-level sandboxing doesn&amp;rsquo;t give the memory isolation of a virtual machine.&lt;/li&gt;
&lt;li&gt;Containers share the host kernel, so &lt;a href="https://mrinal.com/articles/agent-sandboxes/" title="Agent Sandboxes: how to create millions of them" class="ext"&gt;escaping 1 container puts the attacker on the host&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;AppSec picks the isolation boundary that fits each workload&amp;rsquo;s trust level and, together with platform teams, ships the sandbox setup as the default configuration engineers get out of the box.&lt;/p&gt;
&lt;p&gt;Credentials need the same care. Coding agents should never hold persistent identity and access management (IAM) roles or long-lived API keys. An identity broker issues short-lived, task-scoped credentials on demand and revokes them when the task completes. AppSec can build the broker together with platform and IAM teams and hide it behind the agent&amp;rsquo;s tooling, so agents exchange tokens automatically and never fall back on whatever credential is at hand.&lt;/p&gt;
&lt;p&gt;Beyond internal credentials, agents increasingly act on behalf of users in third-party services. That needs &lt;a href="https://oauth.net/2.1/" class="ext"&gt;delegation and consent&lt;/a&gt; infrastructure with narrow, time-limited permissions the user can revoke at any moment. Without it, teams end up storing tokens in agent contexts or hard-coding service accounts, and both fail as soon as an attacker compromises an agent or the agent misreads a prompt.&lt;/p&gt;
&lt;h3 id="threat-modeling-and-offensive-testing"&gt;Threat Modeling and Offensive Testing &lt;a class="heading-anchor" href="#threat-modeling-and-offensive-testing" aria-label="Link to section: Threat Modeling and Offensive Testing"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Traditional scanners catch known vulnerabilities listed as Common Vulnerabilities and Exposures (CVEs), common misconfigurations, and obvious injection points. They miss logic flaws such as broken access control across multi-step workflows, business logic bypasses, and race conditions. To catch design-level flaws, AppSec teams have to encode their domain knowledge into agents.&lt;/p&gt;
&lt;p&gt;Threat modeling, where a team maps how an attacker could abuse a system&amp;rsquo;s design, usually happens in periodic workshops. Jack Naglieri &lt;a href="https://www.detectionatscale.com/p/threat-modeling-ai-agents-mcp" title="Building Threat Models with MCP and AI Agents" class="ext"&gt;built threat models with AI agents and MCP&lt;/a&gt; and argues that agents remove the weeks of meetings and documentation review that kept threat modeling a once-a-year exercise. Naglieri&amp;rsquo;s example comes from detection engineering, but the approach carries over to applications. AppSec teams can build agent setups that regularly review applications and repositories, analyze access control patterns, data flow boundaries, and trust assumptions, and report drift from the organization&amp;rsquo;s security posture.&lt;/p&gt;
&lt;p&gt;Agentic penetration testing (pentesting) complements this, and AppSec can offer it to engineering teams as an internal service. These agents explore the application&amp;rsquo;s business logic and look for the flaws a human pentester would target: authorization boundaries, multi-step attack paths, and privilege escalation. To build them, AppSec teams turn their offensive expertise into repeatable attack strategies. Public setups today still keep a human in the loop. In &lt;a href="https://labs.secengai.com/p/ai-assisted-web-pentesting-using-claude-code-burp-mcp" title="AI-assisted Web Pentesting Using Claude Code &amp;#43; Burp MCP" class="ext"&gt;AI-assisted web pentesting with Claude Code and Burp MCP&lt;/a&gt;, for example, the agent suggests the next test and the pentester decides whether to run it.&lt;/p&gt;
&lt;h2 id="partner-with-sre-and-platform-teams"&gt;Partner With SRE and Platform Teams &lt;a class="heading-anchor" href="#partner-with-sre-and-platform-teams" aria-label="Link to section: Partner With SRE and Platform Teams"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote class="quote"&gt;Can a system ever truly be considered reliable if it isn&amp;rsquo;t fundamentally secure? Or can it be considered secure if it&amp;rsquo;s unreliable?&lt;footer&gt;&lt;a href="https://google.github.io/building-secure-and-reliable-systems/raw/pr01.html"&gt;&lt;cite&gt;Building Secure and Reliable Systems&lt;/cite&gt;&lt;/a&gt;&lt;/footer&gt;&lt;/blockquote&gt;
&lt;p&gt;In SRE, the product owner sets a &lt;a href="https://sre.google/sre-book/service-level-objectives/" title="Google SRE Book: Service Level Objectives" class="ext"&gt;service level objective (SLO)&lt;/a&gt; such as 99.9% availability, and the remaining 0.1% becomes the service&amp;rsquo;s &lt;a href="https://sre.google/sre-book/embracing-risk/" title="Google SRE Book: Embracing Risk" class="ext"&gt;error budget&lt;/a&gt;, which the team can spend on outages and risky releases. AppSec can join that model with a &lt;strong&gt;risk budget&lt;/strong&gt;. The risk budget sets how long a high-risk, reachable vulnerability may stay open in production before it burns error budget, just like downtime does. AppSec provides the framework and the tooling, and the product owner sets the target, just as for the SLO.&lt;/p&gt;
&lt;p&gt;A risk budget helps with a problem that agentic engineering makes worse. Coding agents generate change faster than people can triage the findings, and without a quantitative target every finding competes for the same attention. With a risk budget, teams fix what burns the budget and defer what doesn&amp;rsquo;t. The conversation moves from &lt;em&gt;&amp;ldquo;fix all the bugs&amp;rdquo;&lt;/em&gt; to &lt;em&gt;&amp;ldquo;manage the exposure window&amp;rdquo;&lt;/em&gt;, and security becomes an operational concern that AppSec shares with the teams running the service.&lt;/p&gt;
&lt;p&gt;Teams can only use a risk budget if they can tell real exposure from noise, and that requires &lt;strong&gt;reachability analysis&lt;/strong&gt;: tracing the call graph from the vulnerable code to the application&amp;rsquo;s entry points. A CVE in dead code doesn&amp;rsquo;t burn budget, but the same CVE behind a public API does. At the CI gate, teams then block only changes that introduce &lt;em&gt;reachable&lt;/em&gt; risk and stop failing builds on raw finding counts. In production, a monitoring layer tracks how long reachable findings stay open and burns error budget accordingly.&lt;/p&gt;
&lt;p&gt;Platform and cloud engineering teams already ship the paved roads that engineering teams build on: base images, service templates, IaC modules, identity primitives, and networking defaults. AppSec teams get the most reach by building security into those &lt;a href="https://www.redhat.com/en/topics/platform-engineering/golden-paths" title="What is a Golden Path for software development?" class="ext"&gt;golden paths&lt;/a&gt;. A hardened base image or a secure-by-default service template then carries security to every service that uses it, including the code that agents write. Platform engineering owns the templates and modules, and AppSec owns the security defaults inside them. I cover this model in more detail in &lt;a href="https://www.janbrennenstuhl.eu/shift-down-appsec/" title="Shift Down: Why Agentic Engineering Demands Platform-Level Security"&gt;Shift Down&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="where-to-start"&gt;Where to Start &lt;a class="heading-anchor" href="#where-to-start" aria-label="Link to section: Where to Start"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;None of this has to happen at once. A team that wants to start can work through these steps in order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Sandbox the coding agents that engineers already run, and replace their long-lived credentials with short-lived, task-scoped ones.&lt;/li&gt;
&lt;li&gt;Package the existing scanners as CLIs or MCP servers with central configuration, and make them write SARIF.&lt;/li&gt;
&lt;li&gt;Publish an organization-specific security skill that encodes the internal policies that matter most.&lt;/li&gt;
&lt;li&gt;Pick 1 vulnerability class from the backlog and fix it across the fleet as a campaign.&lt;/li&gt;
&lt;li&gt;Agree on a risk budget for reachable vulnerabilities with 1 service owner and their SRE team.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The sandbox comes first because the exposure exists as soon as an engineer runs an agent with access to their machine.&lt;/p&gt;</description></item></channel></rss>