<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stanley A.</title>
    <description>The latest articles on DEV Community by Stanley A. (@stanleya).</description>
    <link>https://dev.to/stanleya</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3892823%2F1d044e1a-6037-41f2-9a01-da23d770397b.jpg</url>
      <title>DEV Community: Stanley A.</title>
      <link>https://dev.to/stanleya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stanleya"/>
    <language>en</language>
    <item>
      <title>Metabase Zero-Day: An Unauthenticated SQLi That Hit CVSS 10.0 and Stole Real Customer Data</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 11 Aug 2026 14:21:00 +0000</pubDate>
      <link>https://dev.to/stanleya/metabase-zero-day-an-unauthenticated-sqli-that-hit-cvss-100-and-stole-real-customer-data-1i7i</link>
      <guid>https://dev.to/stanleya/metabase-zero-day-an-unauthenticated-sqli-that-hit-cvss-100-and-stole-real-customer-data-1i7i</guid>
      <description>&lt;p&gt;On &lt;strong&gt;3 August 2026&lt;/strong&gt;, attackers exploited a previously unknown, unauthenticated SQL injection in Metabase — starting with Metabase's &lt;strong&gt;own Cloud SaaS platform&lt;/strong&gt;. Framework and Tally, both Metabase Cloud customers, confirmed customer data theft after Metabase notified them on 6 August that their instances had been accessed. Metabase disclosed the zero-day on &lt;strong&gt;6 August&lt;/strong&gt; with a CVSS &lt;strong&gt;10.0&lt;/strong&gt; rating and confirmed active exploitation — before any CVE was assigned (the advisory ID is GHSA-vwf4-m7j8-wcjf).&lt;/p&gt;

&lt;h2&gt;
  
  
  The vulnerability
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Advisory:&lt;/strong&gt; GHSA-vwf4-m7j8-wcjf (GitHub Security Advisory). No CVE at disclosure — scanners that only track the CVE/NVD feed won't flag an exposed instance until one is assigned.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Type:&lt;/strong&gt; unauthenticated SQL injection, reachable through the password reset flow (&lt;code&gt;/api/session/reset_password&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Impact:&lt;/strong&gt; arbitrary SQL into the Metabase application database → full administrator access → change application configuration, steal stored credentials for connected databases, read any data reachable through those connections, export data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Affected:&lt;/strong&gt; self-hosted branches 0.58 through 0.63; Metabase Cloud was patched automatically for all customers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Minimum safe releases:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Branch&lt;/th&gt;
&lt;th&gt;Minimum safe version&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0.58&lt;/td&gt;
&lt;td&gt;0.58.24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0.59&lt;/td&gt;
&lt;td&gt;0.59.21&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0.60&lt;/td&gt;
&lt;td&gt;0.60.17&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0.61&lt;/td&gt;
&lt;td&gt;0.61.11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0.62&lt;/td&gt;
&lt;td&gt;0.62.9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0.63&lt;/td&gt;
&lt;td&gt;0.63.5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Temporary workaround&lt;/strong&gt; if you can't upgrade immediately: block access to &lt;code&gt;/api/session/reset_password&lt;/code&gt;. Stopgap, not a fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud vs. self-hosted: read this twice
&lt;/h2&gt;

&lt;p&gt;The confirmed victims — Framework and Tally — were &lt;strong&gt;Metabase Cloud customers&lt;/strong&gt;. The breach happened at the vendor's end: attackers got into Metabase's managed platform, then into customer instances. Nobody at Framework or Tally "forgot to patch" anything; Metabase patched every Cloud customer automatically.&lt;/p&gt;

&lt;p&gt;That's the part that should worry self-hosted operators more, not less. The same flaw is present in every self-hosted install from 0.58 to 0.63 — and for those, &lt;strong&gt;you&lt;/strong&gt; are the vendor. The fix shipped within days of disclosure; applying it is entirely on whoever runs the instance.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A word of caution on attribution:&lt;/strong&gt; you may see other outlets mention LexisNexis alongside Framework and Tally as a third victim. LexisNexis did disclose a service disruption at a third-party vendor around the same time, affecting something it calls "Metabase API" — but that's LexisNexis's own news-aggregation product, a completely separate piece of software that happens to share the name. LexisNexis itself has not confirmed any link to this vulnerability. Worth flagging as a reminder to double-check attribution during a fast-moving incident, but not something to repeat as fact.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Compromise signature (check your logs)
&lt;/h2&gt;

&lt;p&gt;Metabase published the attack indicator: a &lt;strong&gt;POST to &lt;code&gt;/api/session/reset_password&lt;/code&gt; returning HTTP 400&lt;/strong&gt;, followed by a successful &lt;strong&gt;GET to &lt;code&gt;/api/user/current&lt;/code&gt;&lt;/strong&gt;. If your logs show that pairing, treat the instance as compromised — patching alone is not enough.&lt;/p&gt;

&lt;p&gt;Post-compromise cleanup per the advisory:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Revoke all active sessions — delete every row in the &lt;code&gt;core_session&lt;/code&gt; table&lt;/li&gt;
&lt;li&gt;Review API keys; remove any you don't recognize&lt;/li&gt;
&lt;li&gt;Review administrator accounts for unexpected changes&lt;/li&gt;
&lt;li&gt;Rotate credentials for &lt;strong&gt;every&lt;/strong&gt; connected database&lt;/li&gt;
&lt;li&gt;Review data-warehouse logs for unauthorized access&lt;/li&gt;
&lt;li&gt;Review Metabase activity and query history&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The pattern to internalize
&lt;/h2&gt;

&lt;p&gt;This is another incident where an unauthenticated, remotely reachable flaw in a &lt;em&gt;tool&lt;/em&gt; — not the main application — became the entry point to a database the tool was allowed to reach. Cloud users got patched for them; self-hosted users had to move within days. If you run any self-hosted tool that holds database credentials, version-check it this week — and don't assume your scanner will tell you first, because until this one gets a CVE, CVE-feed scanners won't know it exists.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://www.bleepingcomputer.com/news/security/framework-tally-disclose-metabase-data-theft-attacks" rel="noopener noreferrer"&gt;BleepingComputer&lt;/a&gt; · &lt;a href="https://github.com/metabase/metabase/security/advisories/GHSA-vwf4-m7j8-wcjf" rel="noopener noreferrer"&gt;Metabase advisory&lt;/a&gt; · &lt;a href="https://www.metabase.com/blog/security-update" rel="noopener noreferrer"&gt;Metabase security update&lt;/a&gt; · &lt;a href="https://www.secureinseconds.com/blog/2026-08-08-metabase-sqli-zero-day-check-instance" rel="noopener noreferrer"&gt;SecureInSeconds&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Full prevention-focused version: &lt;a href="https://wardenbit.com/posts/metabase-zero-day-sqli-what-website-owners-should-know/" rel="noopener noreferrer"&gt;WardenBit&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>cybersecurity</category>
      <category>database</category>
    </item>
    <item>
      <title>CVE-2026-8457: WooCommerce Social Login Auth Bypass — Forged Apple JWTs Take Over Accounts</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 04 Aug 2026 14:08:00 +0000</pubDate>
      <link>https://dev.to/stanleya/cve-2026-8457-woocommerce-social-login-auth-bypass-forged-apple-jwts-take-over-accounts-14m6</link>
      <guid>https://dev.to/stanleya/cve-2026-8457-woocommerce-social-login-auth-bypass-forged-apple-jwts-take-over-accounts-14m6</guid>
      <description>&lt;p&gt;On August 1, 2026, Wordfence disclosed a &lt;strong&gt;critical authentication bypass&lt;/strong&gt; in the &lt;strong&gt;WooCommerce – Social Login&lt;/strong&gt; plugin (WPWeb Elite), tracked as &lt;strong&gt;CVE-2026-8457&lt;/strong&gt; (CVSS 9.8).&lt;/p&gt;

&lt;p&gt;The short version: the plugin's Apple login handler accepts an &lt;code&gt;id_token&lt;/code&gt;, decodes its base64 payload — and &lt;strong&gt;never verifies the JWT signature, issuer, audience, or expiry&lt;/strong&gt;. Combined with a login nonce that's publicly exposed via &lt;code&gt;wp_localize_script&lt;/code&gt;, an unauthenticated attacker can log in as &lt;strong&gt;any existing WordPress user, including administrators&lt;/strong&gt;, by forging a token whose payload contains the target's email.&lt;/p&gt;

&lt;p&gt;No password. No 2FA. No user interaction. Just an email address.&lt;/p&gt;

&lt;h2&gt;
  
  
  The technical breakdown
&lt;/h2&gt;

&lt;p&gt;The vulnerable flow, in pseudocode terms:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// What the plugin does (vulnerable):&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;payload&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;base64Decode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;id_token&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]));&lt;/span&gt;  &lt;span class="c1"&gt;// decode only&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;email&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;getUserByEmail&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nf"&gt;loginAs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  &lt;span class="c1"&gt;// no signature check, no iss/aud/exp validation&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// What it should do:&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;jwt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;verifySignature&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;id_token&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;APPLE_PUBLIC_KEYS&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  &lt;span class="c1"&gt;// via JWKS&lt;/span&gt;
&lt;span class="nf"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;jwt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;iss&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://appleid.apple.com&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nf"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;jwt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;aud&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="nx"&gt;YOUR_CLIENT_ID&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nf"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;jwt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;exp&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;email&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;jwt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The two problems stack:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Missing JWT validation&lt;/strong&gt; — the handler decodes the payload without verifying it was signed by Apple (&lt;code&gt;CWE-289&lt;/code&gt;, Authentication Bypass by Alternate Name).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Public nonce&lt;/strong&gt; — the security nonce required to invoke the login flow is emitted to unauthenticated users via a localized JS object on the login page, so there's no client-side gate either.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The plugin resolves the WordPress user &lt;strong&gt;by email from the forged payload, with no role exclusion&lt;/strong&gt;, and immediately issues an authenticated session.&lt;/p&gt;

&lt;h2&gt;
  
  
  Affected versions &amp;amp; fix
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Detail&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Plugin&lt;/td&gt;
&lt;td&gt;WooCommerce – Social Login (WPWeb Elite, CodeCanyon)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Affected&lt;/td&gt;
&lt;td&gt;&amp;lt;= 2.8.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fixed&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;2.8.8&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CVSS&lt;/td&gt;
&lt;td&gt;9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CWE&lt;/td&gt;
&lt;td&gt;CWE-289&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Researcher&lt;/td&gt;
&lt;td&gt;Rafie Muhammad (Lead Security Researcher, Patchstack — credited via Wordfence's PRISM researcher program)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Disclosed&lt;/td&gt;
&lt;td&gt;August 1, 2026 (Wordfence Threat Intelligence)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Exploitation status&lt;/td&gt;
&lt;td&gt;None confirmed at disclosure (Aug 1, 2026)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;References:&lt;/strong&gt; &lt;a href="https://www.wordfence.com/threat-intel/vulnerabilities/id/53e83037-2cc5-4dc9-b55d-03829df12a65" rel="noopener noreferrer"&gt;Wordfence vulnerability entry&lt;/a&gt; · &lt;a href="https://nvd.nist.gov/vuln/detail/CVE-2026-8457" rel="noopener noreferrer"&gt;NVD: CVE-2026-8457&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note: this is a &lt;strong&gt;CodeCanyon premium plugin&lt;/strong&gt; — updates don't flow through the usual WordPress.org free-plugin channel, so affected stores often patch late.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters to developers
&lt;/h2&gt;

&lt;p&gt;This is the &lt;strong&gt;third authentication-related flaw&lt;/strong&gt; Wordfence has logged for this plugin family:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CVE-2024-7503&lt;/strong&gt; (Aug 2024): Authentication Bypass to Account Takeover via loose comparison of an activation code, &lt;strong&gt;CVSS 9.8&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CVE-2024-10114&lt;/strong&gt; (Nov 2024): Authentication Bypass via WordPress.com OAuth provider — insufficient verification of the user returned by the token, &lt;strong&gt;CVSS 8.1&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CVE-2026-8457&lt;/strong&gt; (Aug 2026): Forged Apple JWT auth bypass, &lt;strong&gt;CVSS 9.8&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three critical-to-high auth bypasses in two years, all in the same "trust the token/claim without properly verifying it" family, is a pattern worth noting — not just a one-off bug.&lt;/p&gt;

&lt;p&gt;Auth code is genuinely hard to get right, and the pattern here — decode-then-trust instead of verify-then-trust — is one of the most common JWT mistakes in the wild. If you build or maintain WooCommerce sites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Always verify JWTs against the provider's JWKS endpoint.&lt;/strong&gt; Signature first, then &lt;code&gt;iss&lt;/code&gt;, &lt;code&gt;aud&lt;/code&gt;, &lt;code&gt;exp&lt;/code&gt;, and any provider-specific claims (e.g. Apple's &lt;code&gt;nonce&lt;/code&gt; claim if you use the Sign in with Apple nonce).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never expose the auth nonce to unauthenticated clients.&lt;/strong&gt; If a nonce is in &lt;code&gt;wp_localize_script&lt;/code&gt;, it's not a security control — it's a formality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resolve accounts with role exclusion in mind.&lt;/strong&gt; Even a legitimate flow shouldn't auto-login into an administrator account purely from a provider email without additional checks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treat paid/CodeCanyon plugins as first-class update targets.&lt;/strong&gt; They don't get WordPress.org's auto-update pipeline; schedule manual checks or use a license-manager integration.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Remediation checklist for affected stores
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Update to &lt;strong&gt;2.8.8&lt;/strong&gt; (via CodeCanyon downloads or the plugin's license-connected updater).&lt;/li&gt;
&lt;li&gt;Audit &lt;strong&gt;Users → All Users&lt;/strong&gt; for unrecognized admin accounts, especially created on/after Aug 1, 2026.&lt;/li&gt;
&lt;li&gt;Review access logs for unusual requests to the social-login callback endpoints around the disclosure window.&lt;/li&gt;
&lt;li&gt;Check for signs of post-exploitation (new admin users, unfamiliar plugins/themes installed, modified files, unexpected outbound requests) — not just the login itself, since a compromised admin session can be used to plant persistence.&lt;/li&gt;
&lt;li&gt;If you can't update immediately, consider disabling the &lt;strong&gt;Apple login provider&lt;/strong&gt; in plugin settings as a temporary mitigation — it disables the affected handler until you patch.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;CVE-2026-8457 is a reminder that "log in with X" buttons are only as safe as the verification code behind them. A missing signature check turned a customer convenience into a full account-takeover path. The fix is one version — but only if you know you run the plugin and you act before attackers decide it's worth their time.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://wardenbit.com/posts/woocommerce-social-login-auth-bypass-cve-2026-8457/?utm_source=devto&amp;amp;utm_medium=organic&amp;amp;utm_campaign=woocommerce-social-login-auth-bypass-cve-2026-8457" rel="noopener noreferrer"&gt;WardenBit&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>wordpress</category>
      <category>javascript</category>
    </item>
    <item>
      <title>AI Is Finding Bugs Faster Than You're Patching Them — What Website Owners Should Do Differently</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 28 Jul 2026 14:21:00 +0000</pubDate>
      <link>https://dev.to/stanleya/ai-is-finding-bugs-faster-than-youre-patching-them-what-website-owners-should-do-differently-1679</link>
      <guid>https://dev.to/stanleya/ai-is-finding-bugs-faster-than-youre-patching-them-what-website-owners-should-do-differently-1679</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"As AI helps defenders discover more issues, customers will see a higher volume of security updates included in each security release."&lt;/em&gt;&lt;br&gt;
— Pavan Davuluri, Microsoft EVP, Windows + Devices, July 9, 2026&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Five days later, Microsoft shipped patches for &lt;strong&gt;570 security vulnerabilities&lt;/strong&gt; in a single Patch Tuesday — its largest release ever, and more than double the previous month's already-record count.&lt;/p&gt;

&lt;p&gt;That is not a sign that Windows got less secure. It is a sign that the way vulnerabilities are discovered has changed. AI tools are now scanning code at a scale and speed that human teams alone cannot match. More bugs found, more patches shipped, and a widening gap between when a vulnerability appears and when you actually fix it.&lt;/p&gt;

&lt;p&gt;If you maintain websites, web apps, or WordPress installations — and you think this is an enterprise-only concern — the data will change your mind.&lt;/p&gt;

&lt;h2&gt;
  
  
  The discovery acceleration is real
&lt;/h2&gt;

&lt;p&gt;The July 2026 Patch Tuesday was the sharpest point of a trend that has been building all year:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Period&lt;/th&gt;
&lt;th&gt;CVEs patched&lt;/th&gt;
&lt;th&gt;Change&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;July 2025&lt;/td&gt;
&lt;td&gt;137&lt;/td&gt;
&lt;td&gt;baseline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;June 2026&lt;/td&gt;
&lt;td&gt;~200–206&lt;/td&gt;
&lt;td&gt;previous record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;July 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;570&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;largest Patch Tuesday ever&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First 7 months of 2026&lt;/td&gt;
&lt;td&gt;1,308&lt;/td&gt;
&lt;td&gt;nearly double the same period last year&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Microsoft attributes the surge to AI-assisted vulnerability discovery through its internal &lt;strong&gt;MDASH&lt;/strong&gt; (Multi-Model Agentic Scanning Harness) system. But the pattern extends well beyond Microsoft:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Mozilla + Anthropic:&lt;/strong&gt; Claude Mythos Preview, an unreleased frontier model restricted to a small group of organizations under Anthropic's Project Glasswing, identified &lt;strong&gt;271 vulnerabilities&lt;/strong&gt; in Firefox in a single evaluation pass — all patched in Firefox 150. That's roughly 12× the number found by the previous model used in the same collaboration (Opus 4.6, which found 22 security-sensitive bugs in a two-week engagement, shipped in Firefox 148). Worth noting: Mozilla and outside commentators have pushed back on calling all 271 "zero-days" — most were bugs an elite human researcher could plausibly have found too; the real story is the speed, not exotic new bug classes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cisco:&lt;/strong&gt; Shifting to a &lt;strong&gt;twice-monthly security disclosure schedule&lt;/strong&gt; (1st and 3rd Wednesdays) with seven days' advance notice of which product families are affected, explicitly citing AI-accelerated vulnerability discovery as the reason.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Oracle:&lt;/strong&gt; Its most recent quarterly update included &lt;strong&gt;1,449 security patches&lt;/strong&gt;, which it also links to AI-assisted internal scanning.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;U.S. Executive Order 14409, "Promoting Advanced Artificial Intelligence Innovation and Security" (signed June 2, 2026), directs the Treasury Department, in consultation with the National Cyber Director, NSA, and CISA, to stand up an AI cybersecurity clearinghouse that coordinates vulnerability scanning, validation, and patch distribution across government and industry.&lt;/p&gt;

&lt;p&gt;The message from every major vendor is similar: AI finds bugs faster than before. That pace does not look like it's slowing down.&lt;/p&gt;

&lt;h2&gt;
  
  
  The wp2shell case study: patched fast, exploited even faster
&lt;/h2&gt;

&lt;p&gt;One week before the July Patch Tuesday, the WordPress Security Team released an emergency patch for a vulnerability chain dubbed &lt;strong&gt;wp2shell&lt;/strong&gt;. Two bugs in WordPress core — CVE-2026-63030 (a REST API batch-route confusion flaw) and CVE-2026-60137 (SQL injection in &lt;code&gt;WP_Query&lt;/code&gt;) — could be chained to let an unauthenticated attacker take complete control of a stock WordPress install. No plugins required. No login required. Just a crafted HTTP request.&lt;/p&gt;

&lt;p&gt;The chain was found by Adam Kues at Searchlight Cyber, who pointed &lt;strong&gt;OpenAI's GPT-5.6 Sol Ultra&lt;/strong&gt; at a stripped-down copy of the WordPress source (with git history removed, so the model couldn't just trace old bug fixes) and let it search for a pre-auth-to-RCE path. The AI-assisted portion of the work took roughly &lt;strong&gt;10 hours&lt;/strong&gt; and about $25 in API usage. It's worth being precise about what that means, though: Kues still defined the target, wrote the prompt, verified the SQL injection by hand against a live install, and then spent additional time afterward untangling the escalation chain the model produced. As Kues himself put it, the shift isn't that AI replaced the researcher — it's that the researcher's role moved up a level, from writing exploit code to steering and verifying it. Even accounting for that, a chain this complex against a target this hardened would very likely have taken a human team weeks, not a single working session.&lt;/p&gt;

&lt;p&gt;Then the timeline compressed:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Event&lt;/th&gt;
&lt;th&gt;Time elapsed&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Patch ships (7.0.2 / 6.9.5 / 6.8.6)&lt;/td&gt;
&lt;td&gt;T+0 (Friday)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First mitigation rules seeing exploit attempts&lt;/td&gt;
&lt;td&gt;T+~90 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Public PoC exploit code&lt;/td&gt;
&lt;td&gt;T+overnight&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mass scanning + confirmed in-the-wild exploitation&lt;/td&gt;
&lt;td&gt;T+1–2 days&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;At the time of disclosure, WordPress's own statistics showed &lt;strong&gt;400+ million sites&lt;/strong&gt; running an affected version. That number doesn't reflect sites patched since — and here the actual news is more encouraging than it might sound: security consultant Daniel Card sampled roughly 3,500–4,200 WordPress sites and estimated that &lt;strong&gt;fewer than 15% remained unpatched/vulnerable&lt;/strong&gt; days after disclosure, thanks largely to WordPress's forced auto-update mechanism and Cloudflare's WAF rules. That's the good news. The bad news is that even a small vulnerable percentage of a 400-million-site ecosystem is still on the order of &lt;strong&gt;90 million exposed sites&lt;/strong&gt; — and that's the segment this article is really about: the sites where auto-update was disabled, delayed, or silently failed.&lt;/p&gt;

&lt;p&gt;The implication for developers and DevOps: the window between "patch available" and "attackers exploiting at scale" is now measured in hours, and being in the "small percentage that didn't auto-update" is no longer a safe place to be.&lt;/p&gt;

&lt;h2&gt;
  
  
  The exploitation gap is a configuration problem
&lt;/h2&gt;

&lt;p&gt;For teams managing multiple sites or deployments, the gap between "patch ships" and "site is protected" is not just an awareness problem. It is a configuration problem:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Auto-update disabled&lt;/strong&gt; — many managed WordPress deployments disable core auto-updates for stability. The tradeoff: every emergency patch requires manual intervention.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;No verification&lt;/strong&gt; — auto-update runs but no one confirms the version number post-update. wp2shell triggered forced auto-updates, but only for installations that hadn't opted out.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Plugin compatibility stalls&lt;/strong&gt; — "we'll update after we test plugin X" is a rational response that becomes a week-long exposure window.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;No centralized version inventory&lt;/strong&gt; — teams running 10, 20, or 50 WordPress sites often have no dashboard showing which versions are live.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hosting provider patching lag&lt;/strong&gt; — your site may be patched, but the server OS, PHP version, or database underneath may not be.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What to implement this week
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Verify auto-update configuration
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check WordPress auto-update settings&lt;/span&gt;
wp option get auto_update_core
wp option get auto_update_plugins
wp option get auto_update_themes

&lt;span class="c"&gt;# Check current version across all sites&lt;/span&gt;
wp core version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If auto-update is disabled, enable it for minor and security releases at minimum. Major-version auto-update is a separate risk decision, but security releases should never be deferred.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Add a post-update verification step to your deploy pipeline
&lt;/h3&gt;

&lt;p&gt;After any WordPress update, automatically run something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wp core version | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-q&lt;/span&gt; &lt;span class="s2"&gt;"7.0.2"&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"PATCHED"&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"VULNERABLE"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Fail the deploy if the version doesn't match the expected security release.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Build a version inventory
&lt;/h3&gt;

&lt;p&gt;For teams managing multiple WordPress instances, maintain a simple manifest:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"site"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"example.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"wp_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"7.0.2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"last_checked"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-07-25"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"site"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"shop.example.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"wp_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"7.0.2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"last_checked"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-07-25"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Automate it with a daily cron job that checks &lt;code&gt;wp core version&lt;/code&gt; or queries the REST API:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; https://example.com/wp-json/wp/v2/ | jq &lt;span class="s1"&gt;'.namespaces'&lt;/span&gt;
&lt;span class="c"&gt;# Or check the generator meta tag:&lt;/span&gt;
curl &lt;span class="nt"&gt;-s&lt;/span&gt; https://example.com/ | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-o&lt;/span&gt; &lt;span class="s1"&gt;'content="[0-9.]*"'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. Run a baseline security scan
&lt;/h3&gt;

&lt;p&gt;External scans check SSL configuration, security headers, DNS records, email authentication, CMS version fingerprinting, and known technology exposures — 40+ categories. This is not a penetration test; it's a hygiene check that tells you your public exposure profile before an attacker does.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Write your 24-hour response checklist
&lt;/h3&gt;

&lt;p&gt;Not a 30-page incident response plan. A literal checklist for the next critical disclosure:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Check the version on every site you manage&lt;/li&gt;
&lt;li&gt;Apply the patch (or confirm auto-update ran)&lt;/li&gt;
&lt;li&gt;Verify the version number post-update&lt;/li&gt;
&lt;li&gt;Run a file integrity check for recently modified PHP files&lt;/li&gt;
&lt;li&gt;Review access logs for suspicious requests&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Repeat this sequence for every critical security release. It's worth more than any security product purchased after the fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers that matter
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft July 2026 CVEs&lt;/td&gt;
&lt;td&gt;570 (record)&lt;/td&gt;
&lt;td&gt;Krebs on Security, BleepingComputer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First 7 months of 2026 CVEs&lt;/td&gt;
&lt;td&gt;1,308 (~2× prior year)&lt;/td&gt;
&lt;td&gt;Windows Latest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Firefox vulnerabilities found by Mythos&lt;/td&gt;
&lt;td&gt;271 in one evaluation pass&lt;/td&gt;
&lt;td&gt;Mozilla Blog&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WordPress sites on a vulnerable version&lt;/td&gt;
&lt;td&gt;400M+ (at disclosure)&lt;/td&gt;
&lt;td&gt;WordPress.org, via TechCrunch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Estimated share still vulnerable days later&lt;/td&gt;
&lt;td&gt;&amp;lt;15% (≈90M sites)&lt;/td&gt;
&lt;td&gt;Daniel Card, via TechCrunch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;wp2shell AI-assisted discovery time&lt;/td&gt;
&lt;td&gt;~10 hours (human-steered)&lt;/td&gt;
&lt;td&gt;Searchlight Cyber / Dark Reading&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First exploit attempts after patch&lt;/td&gt;
&lt;td&gt;~90 minutes&lt;/td&gt;
&lt;td&gt;Patchstack, via The Repository&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Key takeaway
&lt;/h2&gt;

&lt;p&gt;AI-accelerated vulnerability discovery is not a future problem. It's the current operating environment. The bottleneck has shifted from finding bugs to patching and verifying them fast enough — and the wp2shell numbers actually cut both ways: most of the WordPress ecosystem patched quickly thanks to forced auto-updates, but the exposed minority is still tens of millions of sites, and the attackers only need one of them.&lt;/p&gt;

&lt;p&gt;For developers and DevOps teams: your patching pipeline, version verification, and configuration management are now first-class security controls, not just operational hygiene. The teams that handle the next wp2shell-level event best will be the ones that have already automated the verification step — not the ones relying on "we'll get to it this week."&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://wardenbit.com/posts/ai-is-finding-bugs-faster-than-youre-patching-them-what-website-owners-should-do-differently/?utm_source=devto&amp;amp;utm_medium=organic&amp;amp;utm_campaign=ai-finding-bugs-faster-than-patching" rel="noopener noreferrer"&gt;WardenBit&lt;/a&gt; — helping small businesses understand their security exposure before attackers do.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>cybersecurity</category>
      <category>devops</category>
      <category>javascript</category>
    </item>
    <item>
      <title>96% of Ransomware Victims Are Small Businesses — How to Actually Protect Your Stack</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Wed, 22 Jul 2026 14:11:00 +0000</pubDate>
      <link>https://dev.to/stanleya/96-of-ransomware-victims-are-small-businesses-how-to-actually-protect-your-stack-1cil</link>
      <guid>https://dev.to/stanleya/96-of-ransomware-victims-are-small-businesses-how-to-actually-protect-your-stack-1cil</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Verizon's newly-released 2026 DBIR found that &lt;strong&gt;96% of ransomware victims (where organization size was known) were small and medium-sized businesses&lt;/strong&gt;. Third-party involvement in SMB breaches has jumped to 55%. Meanwhile, 47% of businesses with fewer than 50 employees still allocate &lt;strong&gt;zero budget&lt;/strong&gt; to cybersecurity (StrongDM 2025).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you manage WordPress sites, SaaS backends, ecommerce platforms, or any web infrastructure for clients — this post is about the technical gaps that let ransomware happen, and the exact steps to close them.&lt;/p&gt;

&lt;p&gt;This isn't a pitch for our own tooling — just the stack-level controls that matter. (We do link to our free scanner near the bottom, because it's relevant, not because this post exists to sell it.)&lt;/p&gt;




&lt;h2&gt;
  
  
  Why SMBs Are the Primary Target
&lt;/h2&gt;

&lt;p&gt;The myth: "Ransomware groups go after big enterprises."&lt;/p&gt;

&lt;p&gt;The data says the opposite, and it's getting starker every year:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2025 DBIR:&lt;/strong&gt; ransomware appeared in 88% of SMB breaches vs. 39% at large enterprises.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2026 DBIR (released May 2026):&lt;/strong&gt; ransomware now shows up in 48% of &lt;em&gt;all&lt;/em&gt; confirmed breaches (up from 44%), and of the ransomware victims where organization size was known, &lt;strong&gt;96% were SMBs&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Independent breach-tracking from Proton's Data Breach Observatory puts businesses under 250 employees at roughly 63–71% of all breaches recorded in 2025–2026, depending on the sampling window.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three technical reasons why SMBs keep losing this fight:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Minimal defences.&lt;/strong&gt; No SIEM, no EDR, no network segmentation. The attack surface is wide open.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fast payment cycle.&lt;/strong&gt; Desperation → quick ransom payment → attacker profits → repeat. (Though this is shifting — more on that below.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supply chain pivot.&lt;/strong&gt; Compromised small business → lateral movement to their bigger clients. Third-party involvement in breaches jumped from 30% to 48% year-over-year industry-wide, and sits at 55% for SMBs specifically (Verizon DBIR 2026).&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  The Modern Ransomware Kill Chain
&lt;/h2&gt;

&lt;p&gt;This isn't the 2015 "encrypt and demand Bitcoin" playbook. Modern ransomware follows a structured kill chain:&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 1: Initial Access
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Common entry vectors (ranked by frequency, 2026 DBIR):&lt;/span&gt;
1. Vulnerability exploitation — now the &lt;span class="c"&gt;#1 vector overall (31%),&lt;/span&gt;
   overtaking stolen credentials &lt;span class="k"&gt;for &lt;/span&gt;the first &lt;span class="nb"&gt;time &lt;/span&gt;&lt;span class="k"&gt;in &lt;/span&gt;19 years of the report
2. Phishing emails &lt;span class="o"&gt;(&lt;/span&gt;AI-written, grammar-perfect, hyper-personalised&lt;span class="o"&gt;)&lt;/span&gt;
3. Reused credentials &lt;span class="o"&gt;(&lt;/span&gt;no MFA&lt;span class="o"&gt;)&lt;/span&gt;
4. Exposed SSH, RDP, or database ports
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The shift to vulnerability exploitation matters for one reason: the DBIR reports the window between a CVE being disclosed and it being exploited in the wild has shrunk from months to hours. "We'll patch it next sprint" is no longer a viable posture.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 2: Reconnaissance
&lt;/h3&gt;

&lt;p&gt;The attacker maps your network silently — days or weeks before encryption. Most SMBs never detect this phase.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 3: Data Exfiltration
&lt;/h3&gt;

&lt;p&gt;Before encrypting anything, they &lt;strong&gt;steal your data first&lt;/strong&gt;. Double extortion: "Pay up, or we publish your customer database."&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 4: Encryption + Ransom
&lt;/h3&gt;

&lt;p&gt;Files, databases, backups — all locked. Ransom note appears.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 5: The Real Cost
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;21 days&lt;/strong&gt; average downtime for SMBs&lt;/li&gt;
&lt;li&gt;Customer notification obligations&lt;/li&gt;
&lt;li&gt;Regulatory fines&lt;/li&gt;
&lt;li&gt;Reputational damage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The good news buried in the 2026 numbers: median ransom payments have fallen below $140,000, and 69% of victims now refuse to pay at all — up from 50% just two years ago. Backups and refusal-to-pay norms are working. But that only helps you if your backups actually restore, which is the next section.&lt;/p&gt;




&lt;h2&gt;
  
  
  Your WAF Isn't Enough
&lt;/h2&gt;

&lt;p&gt;If you're behind Cloudflare (or any WAF), you're ahead of most. But here's what a WAF actually covers vs. what ransomware exploits:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;WAF Covers&lt;/th&gt;
&lt;th&gt;Ransomware Exploits&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;DDoS mitigation&lt;/td&gt;
&lt;td&gt;Application logic flaws&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Known-pattern WAF rules&lt;/td&gt;
&lt;td&gt;Zero-day / novel attack patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Basic bot filtering&lt;/td&gt;
&lt;td&gt;Authenticated attack patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DNS protections&lt;/td&gt;
&lt;td&gt;Server misconfigurations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SSL/TLS termination&lt;/td&gt;
&lt;td&gt;Code-level vulnerabilities (XSS, SQLi)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rate limiting&lt;/td&gt;
&lt;td&gt;Supply chain compromises&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The entry points that lead to ransomware are typically &lt;strong&gt;behind&lt;/strong&gt; the WAF:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Misconfigured admin panels (&lt;code&gt;/wp-admin&lt;/code&gt; open to 0.0.0.0/0)&lt;/li&gt;
&lt;li&gt;Unpatched WordPress core or plugins&lt;/li&gt;
&lt;li&gt;Developer credentials in public repos&lt;/li&gt;
&lt;li&gt;Default database credentials on shared hosting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A live example as of this week: &lt;strong&gt;CVE-2026-60137 chained with CVE-2026-63030&lt;/strong&gt; ("wp2shell") is an unauthenticated remote-code-execution chain in WordPress core — an unsanitised &lt;code&gt;WP_Query&lt;/code&gt; parameter (SQLi, CVSS 9.1) combined with a REST API batch-route confusion bug that strips the authentication requirement. Together they let an attacker go from zero access to a full admin takeover on a default, out-of-the-box WordPress install — no plugins, no misconfiguration needed. WordPress 6.8.6, 6.9.5, and 7.0.2 all contain the fix. If you're running WordPress and haven't force-updated in the last 72 hours, this is a genuine emergency, not a "patch it this sprint" item.&lt;/p&gt;

&lt;p&gt;A WAF is a seatbelt. Essential, but it doesn't prevent the crash.&lt;/p&gt;




&lt;h2&gt;
  
  
  Three Stack-Level Controls That Actually Work
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Backup Verification (Test Recovery, Not Just Backups)
&lt;/h3&gt;

&lt;p&gt;Most SMBs "have backups." Very few can actually recover from them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Checklist for ransomware-resilient backups:&lt;/span&gt;
&lt;span class="c"&gt;# ✓ Offsite (separate provider / region)&lt;/span&gt;
&lt;span class="c"&gt;# ✓ Immutable (WORM storage or air-gapped)&lt;/span&gt;
&lt;span class="c"&gt;# ✓ Tested (can you restore right now, without touching production?)&lt;/span&gt;
&lt;span class="c"&gt;# ✓ Recent (RPO &amp;lt; 24h for critical data)&lt;/span&gt;
&lt;span class="c"&gt;# ✓ Not on the same server as production data&lt;/span&gt;

&lt;span class="c"&gt;# Quick test you can run today:&lt;/span&gt;
&lt;span class="c"&gt;# Can you restore a critical database table from backup&lt;/span&gt;
&lt;span class="c"&gt;# without affecting the live site?&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If your backup is on the same server as your production data, ransomware encrypts both. If it's never been tested, you don't know if it works. Fix that before anything else.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Free Security Baseline (5 Minutes)
&lt;/h3&gt;

&lt;p&gt;Before investing in tooling, know your current posture. Run a scan that covers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SSL/TLS configuration&lt;/li&gt;
&lt;li&gt;Security headers (CSP, HSTS, X-Frame-Options)&lt;/li&gt;
&lt;li&gt;DNS configuration&lt;/li&gt;
&lt;li&gt;Email authentication (SPF, DKIM, DMARC)&lt;/li&gt;
&lt;li&gt;CMS version detection (WordPress, Shopify, etc.)&lt;/li&gt;
&lt;li&gt;Open ports and services&lt;/li&gt;
&lt;li&gt;Technology fingerprinting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://dev.to/web-security-scanner/"&gt;Run a free scan →&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This won't find everything — but it tells you if your SSL is misconfigured, your headers are missing, your email is spoofable, or your CMS has known CVEs.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Close the Top 3 Entry Points (This Week)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Patch everything, and patch it fast&lt;/span&gt;
wp core update          &lt;span class="c"&gt;# WordPress — critical given the wp2shell chain above&lt;/span&gt;
wp plugin update &lt;span class="nt"&gt;--all&lt;/span&gt;  &lt;span class="c"&gt;# All plugins&lt;/span&gt;
wp theme update &lt;span class="nt"&gt;--all&lt;/span&gt;   &lt;span class="c"&gt;# All themes&lt;/span&gt;

&lt;span class="c"&gt;# 2. Enable MFA on every admin surface&lt;/span&gt;
&lt;span class="c"&gt;# WordPress: install "WP 2FA" or similar&lt;/span&gt;
&lt;span class="c"&gt;# Hosting: enable 2FA on cPanel/Plesk&lt;/span&gt;
&lt;span class="c"&gt;# Email: enable on all admin accounts&lt;/span&gt;
&lt;span class="c"&gt;# Git repos: enforce 2FA on GitHub/GitLab&lt;/span&gt;

&lt;span class="c"&gt;# 3. Lock down admin panels&lt;/span&gt;
&lt;span class="c"&gt;# Option A: IP restriction via .htaccess&lt;/span&gt;
&amp;lt;Files wp-login.php&amp;gt;
    Require ip 203.0.113.0/24
&amp;lt;/Files&amp;gt;

&lt;span class="c"&gt;# Option B: Cloudflare Access (Zero Trust)&lt;/span&gt;
&lt;span class="c"&gt;# Restrict /wp-admin to authenticated users only&lt;/span&gt;

&lt;span class="c"&gt;# Option C: VPN-only access&lt;/span&gt;
&lt;span class="c"&gt;# Run SSH tunnel for admin access&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  The Numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stat&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;SMBs among ransomware victims (org size known)&lt;/td&gt;
&lt;td&gt;96%&lt;/td&gt;
&lt;td&gt;Verizon DBIR 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ransomware present in all confirmed breaches&lt;/td&gt;
&lt;td&gt;48% (up from 44%)&lt;/td&gt;
&lt;td&gt;Verizon DBIR 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Third-party involvement, all breaches&lt;/td&gt;
&lt;td&gt;48% (up 60% YoY)&lt;/td&gt;
&lt;td&gt;Verizon DBIR 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Third-party involvement, SMB breaches specifically&lt;/td&gt;
&lt;td&gt;55%&lt;/td&gt;
&lt;td&gt;Verizon DBIR 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SMBs with zero cyber budget (&amp;lt;50 employees)&lt;/td&gt;
&lt;td&gt;47%&lt;/td&gt;
&lt;td&gt;StrongDM 2025&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Global average breach cost&lt;/td&gt;
&lt;td&gt;$4.44M (down 9% YoY)&lt;/td&gt;
&lt;td&gt;IBM Cost of a Data Breach 2025&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Average breach cost, businesses &amp;lt;500 employees&lt;/td&gt;
&lt;td&gt;$3.31M&lt;/td&gt;
&lt;td&gt;IBM Cost of a Data Breach 2025&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Median ransom paid&lt;/td&gt;
&lt;td&gt;~$140K (down from $150K)&lt;/td&gt;
&lt;td&gt;Verizon DBIR 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Victims who refused to pay&lt;/td&gt;
&lt;td&gt;69% (up from 50% two years ago)&lt;/td&gt;
&lt;td&gt;Verizon DBIR 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  What to Do Today
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch WordPress now if you haven't&lt;/strong&gt; — CVE-2026-60137 / CVE-2026-63030 is a pre-auth RCE chain live in the wild this week&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test a backup restore&lt;/strong&gt; — right now, without touching production&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run a free security scan&lt;/strong&gt; — &lt;a href="https://wardenbit.com/web-security-scanner/" rel="noopener noreferrer"&gt;wardenbit.com/web-security-scanner&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Most ransomware gaps are findable and fixable before an attacker exploits them. You don't need a security team — you need to know where the gaps are and close them in priority order.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://wardenbit.com/posts/88-percent-smb-breaches-ransomware/?utm_source=devto&amp;amp;utm_medium=organic&amp;amp;utm_campaign=88-percent-smb-breaches-ransomware-blog-post" rel="noopener noreferrer"&gt;WardenBit&lt;/a&gt;. WardenBit helps small businesses find and fix security gaps before they become breaches — &lt;a href="https://wardenbit.com/web-security-scanner/" rel="noopener noreferrer"&gt;run a free scan&lt;/a&gt; to check your website across 40+ categories in under 60 seconds.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>javascript</category>
      <category>devops</category>
      <category>webdev</category>
    </item>
    <item>
      <title>WordPress 7.0.2 — Patching an Unauthenticated RCE Chain Right Now</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Sun, 19 Jul 2026 00:49:47 +0000</pubDate>
      <link>https://dev.to/stanleya/wordpress-702-patching-an-unauthenticated-rce-chain-right-now-3j9a</link>
      <guid>https://dev.to/stanleya/wordpress-702-patching-an-unauthenticated-rce-chain-right-now-3j9a</guid>
      <description>&lt;p&gt;On July 17, 2026, WordPress dropped &lt;strong&gt;7.0.2&lt;/strong&gt; to patch a chain of two vulnerabilities — CVE-2026-60137 (SQL injection) and CVE-2026-63030 (REST API batch route confusion → RCE). The chain is nicknamed &lt;strong&gt;WP2Shell&lt;/strong&gt;. Chained together, on default installations with no plugins involved, it lets a remote attacker with &lt;strong&gt;no WordPress account&lt;/strong&gt; reach full code execution.&lt;/p&gt;

&lt;p&gt;If you're running WordPress 6.8 through 7.0.1, you need to update right now. Not next week. Right now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update (July 18):&lt;/strong&gt; two days after disclosure, working proof-of-concept code is now public and Patchstack reported signs of in-the-wild exploitation attempts within hours of the advisory going out. Treat this as actively exploited, not theoretical.&lt;/p&gt;

&lt;p&gt;Here's the technical breakdown.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the Two CVEs Actually Do
&lt;/h2&gt;

&lt;h3&gt;
  
  
  CVE-2026-60137 — SQL Injection via &lt;code&gt;WP_Query&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;The vulnerability lives in &lt;code&gt;WP_Query&lt;/code&gt;'s handling of the &lt;code&gt;author__not_in&lt;/code&gt; parameter. The parameter lacks proper escaping and query preparation, letting an attacker inject arbitrary SQL.&lt;/p&gt;

&lt;p&gt;On its own, this bug is narrower than it sounds: reaching it typically requires either an authenticated context, or a plugin/theme that passes untrusted input into &lt;code&gt;author__not_in&lt;/code&gt;. It's not directly reachable by an anonymous visitor through stock WordPress core by itself — that's exactly what the second CVE changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; WordPress 6.8 through 7.0.1&lt;br&gt;
&lt;strong&gt;Patched in:&lt;/strong&gt; 6.8.6, 6.9.5, 7.0.2&lt;br&gt;
&lt;strong&gt;Reported by:&lt;/strong&gt; TF1T, dtro, and haongo&lt;/p&gt;

&lt;p&gt;This isn't a plugin issue — it's core. Every WordPress installation with this version range is exposed.&lt;/p&gt;
&lt;h3&gt;
  
  
  CVE-2026-63030 — REST API Batch Route Confusion → RCE
&lt;/h3&gt;

&lt;p&gt;This is the more dangerous half of the chain. The REST API batch endpoint (&lt;code&gt;/wp-json/batch/v1&lt;/code&gt;) has a &lt;strong&gt;route confusion&lt;/strong&gt; issue (CWE-436) discovered by Adam Kues at Assetnote / Searchlight Cyber. This is what turns CVE-2026-60137 into something an anonymous, unauthenticated attacker can trigger: the route confusion lets a crafted batch request slip past the auth boundary that would normally gate the SQL injection, and reach it with unauthenticated privileges — from there, the SQLi is escalated into RCE.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important caveat:&lt;/strong&gt; according to Cloudflare's and SOCRadar's analysis, this RCE path is reachable when a &lt;strong&gt;persistent object cache (Redis, Memcached, etc.) is not enabled&lt;/strong&gt; — which is the WordPress default for most installs, but not universal. If you run a persistent object cache, you're likely at reduced risk for the full RCE chain specifically, though the underlying SQLi in &lt;code&gt;WP_Query&lt;/code&gt; is still a real problem worth patching regardless.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; WordPress 6.9.0–6.9.4, 7.0.0–7.0.1&lt;br&gt;
&lt;strong&gt;Patched in:&lt;/strong&gt; 6.9.5, 7.0.2&lt;/p&gt;

&lt;p&gt;The batch endpoint itself has shipped by default since WordPress 5.6 (2020); it's the route-confusion bug introduced in 6.9 that opens the door.&lt;/p&gt;
&lt;h3&gt;
  
  
  Why the Chain Matters
&lt;/h3&gt;

&lt;p&gt;Neither CVE alone reaches the full impact:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CVE-2026-60137 (SQLi)   ──→  DB access, but gated behind auth/plugin context
CVE-2026-63030 (route)  ──→  bypasses that gate + drives it to code execution
Combined                  = unauthenticated remote code execution
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Rapid7's advisory put it well: &lt;em&gt;"Organizations should not interpret the absence of public exploitation reports as an indication of low risk."&lt;/em&gt; That framing has already aged — as of this writing, public PoC code and early signs of exploitation attempts exist. The advice underneath it still holds: don't wait for confirmed mass exploitation before you patch.&lt;/p&gt;




&lt;h2&gt;
  
  
  Affected Versions
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Branch&lt;/th&gt;
&lt;th&gt;CVE-2026-60137&lt;/th&gt;
&lt;th&gt;CVE-2026-63030&lt;/th&gt;
&lt;th&gt;Patch&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;6.8.x (&amp;lt; 6.8.6)&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;&lt;code&gt;6.8.6&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6.9.0–6.9.4&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;&lt;code&gt;6.9.5&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7.0.0–7.0.1&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;&lt;code&gt;7.0.2&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7.1 beta&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;7.1 Beta 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;lt; 6.8&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Note: on 6.8.x, only the SQLi (CVE-2026-60137) applies — the route-confusion bug that unlocks unauthenticated RCE was introduced in 6.9. That branch is still worth patching, but it isn't exposed to the full pre-auth WP2Shell chain.&lt;/p&gt;




&lt;h2&gt;
  
  
  Emergency Mitigation (If You Can't Patch Immediately)
&lt;/h2&gt;

&lt;p&gt;Searchlight Cyber recommends blocking anonymous access to the batch API while you stage the update:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At your WAF/CDN level (Cloudflare, etc.):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="c"&gt;# Block the batch endpoint
&lt;/span&gt;/&lt;span class="n"&gt;wp&lt;/span&gt;-&lt;span class="n"&gt;json&lt;/span&gt;/&lt;span class="n"&gt;batch&lt;/span&gt;/&lt;span class="n"&gt;v1&lt;/span&gt;
?&lt;span class="n"&gt;rest_route&lt;/span&gt;=/&lt;span class="n"&gt;batch&lt;/span&gt;/&lt;span class="n"&gt;v1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Via a plugin:&lt;/strong&gt; Install a plugin that blocks anonymous REST API access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cloudflare users:&lt;/strong&gt; An emergency managed rule was released July 17, 2026. Check &lt;strong&gt;Security → WAF → Managed Rules&lt;/strong&gt; to confirm it's active.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Running a persistent object cache?&lt;/strong&gt; You're likely lower-risk for the RCE chain specifically, but this isn't a substitute for patching — the SQL injection itself is still live until you update.&lt;/p&gt;

&lt;p&gt;⚠️ Both mitigations may break legitimate site functionality — use only as temporary measures until you patch.&lt;/p&gt;




&lt;h2&gt;
  
  
  How to Patch
&lt;/h2&gt;

&lt;h3&gt;
  
  
  WP-CLI (recommended for ops)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Back up first&lt;/span&gt;
wp db &lt;span class="nb"&gt;export &lt;/span&gt;backup-&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;date&lt;/span&gt; +%Y%m%d&lt;span class="si"&gt;)&lt;/span&gt;.sql

&lt;span class="c"&gt;# Update core&lt;/span&gt;
wp core update

&lt;span class="c"&gt;# Update database schema if needed&lt;/span&gt;
wp core update-db

&lt;span class="c"&gt;# Verify&lt;/span&gt;
wp core version
&lt;span class="c"&gt;# Should show: 6.8.6, 6.9.5, or 7.0.2&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Manual via SSH
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Backup&lt;/span&gt;
mysqldump &lt;span class="nt"&gt;-u&lt;/span&gt; user &lt;span class="nt"&gt;-p&lt;/span&gt; wordpress_db &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; backup.sql

&lt;span class="c"&gt;# Download and extract&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; /path/to/wordpress
curl &lt;span class="nt"&gt;-O&lt;/span&gt; https://wordpress.org/wordpress-7.0.2.tar.gz
&lt;span class="nb"&gt;tar&lt;/span&gt; &lt;span class="nt"&gt;-xzf&lt;/span&gt; wordpress-7.0.2.tar.gz

&lt;span class="c"&gt;# Replace core files (keep wp-content and wp-config.php)&lt;/span&gt;
rsync &lt;span class="nt"&gt;-av&lt;/span&gt; wordpress/ ./ &lt;span class="nt"&gt;--exclude&lt;/span&gt; wp-content/ &lt;span class="nt"&gt;--exclude&lt;/span&gt; wp-config.php

&lt;span class="c"&gt;# Run database update&lt;/span&gt;
wp core update-db
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  WordPress Dashboard
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Dashboard → Updates → Update Now&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;WordPress has enabled forced auto-updates for affected installations, but verify manually — auto-update can silently fail.&lt;/p&gt;

&lt;h3&gt;
  
  
  Docker / CI-CD
&lt;/h3&gt;

&lt;p&gt;If you're running WordPress in containers, update your base image tag and redeploy. If you use a build pipeline that pins WordPress versions, update the version pin and trigger a rebuild.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="c"&gt;# Before&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; wordpress:7.0.1-php8.2-apache&lt;/span&gt;

&lt;span class="c"&gt;# After&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; wordpress:7.0.2-php8.2-apache&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Post-Patch Verification Checklist
&lt;/h2&gt;

&lt;p&gt;After updating, verify your installation is clean:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Version check
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wp core version
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="s1"&gt;'$wp_version ='&lt;/span&gt; wp-includes/version.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Check for new admin accounts
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wp user list &lt;span class="nt"&gt;--role&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;administrator
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Look for recently modified core files
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Find PHP files modified in the last 7 days&lt;/span&gt;
find /path/to/wordpress &lt;span class="nt"&gt;-name&lt;/span&gt; &lt;span class="s2"&gt;"*.php"&lt;/span&gt; &lt;span class="nt"&gt;-mtime&lt;/span&gt; &lt;span class="nt"&gt;-7&lt;/span&gt; &lt;span class="nt"&gt;-type&lt;/span&gt; f | &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-v&lt;/span&gt; wp-content/uploads
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. Database audit
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wp db query &lt;span class="s2"&gt;"SELECT user_login, user_email, user_registered &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;&lt;span class="s2"&gt;
FROM wp_users WHERE user_registered &amp;gt; '2026-07-01'"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  5. Log analysis
&lt;/h3&gt;

&lt;p&gt;Search your access logs for POST requests to &lt;code&gt;/wp-json/batch/v1&lt;/code&gt; from unknown IPs, particularly around and after July 17, 2026, and watch specifically for anomalous &lt;code&gt;author__not_in&lt;/code&gt; parameter values — that's the earliest indicator of exploitation attempts against this chain.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. WAF rule status
&lt;/h3&gt;

&lt;p&gt;If you're behind Cloudflare, verify the emergency managed rule for this CVE chain is active in your dashboard.&lt;/p&gt;




&lt;h2&gt;
  
  
  What This Means for Your Deployment Pipeline
&lt;/h2&gt;

&lt;p&gt;If you're managing WordPress at scale — multiple installs, staging environments, client sites — this should trigger:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Inventory audit:&lt;/strong&gt; Which of your installs are running 6.8–7.0.1? You need a definitive list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated patching:&lt;/strong&gt; If you don't have automated WordPress updates, this is the push to set them up. The &lt;code&gt;WP_AUTO_UPDATE_CORE&lt;/code&gt; constant or &lt;code&gt;wp auto-update enable&lt;/code&gt; CLI command handles this.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Staging-first policy:&lt;/strong&gt; Update staging, test, then roll to production. But given that PoC code is already public, don't let the staging test delay the patch by more than a few hours on anything internet-facing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitoring:&lt;/strong&gt; After patching, monitor logs for 48–72 hours for indicators of pre-patch compromise, especially around the disclosure window (July 17–19).&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  The Broader Pattern
&lt;/h2&gt;

&lt;p&gt;This isn't an isolated incident. WordPress core vulnerabilities are rare, but when they hit, they hit hard because of the sheer install base. The pattern we're seeing in 2026:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Core vulnerabilities&lt;/strong&gt; (not just plugins) are being discovered and weaponized faster&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chained CVEs&lt;/strong&gt; are the norm — individual low/medium issues escalate when combined&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unauthenticated attack paths&lt;/strong&gt; are increasingly common in WordPress's REST API surface&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Batch processing endpoints&lt;/strong&gt; are a new attack surface that most operators don't think about&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you manage WordPress infrastructure, add REST API endpoint auditing to your regular security reviews. The batch API (&lt;code&gt;/wp-json/batch/v1&lt;/code&gt;) should be restricted by default.&lt;/p&gt;




&lt;h2&gt;
  
  
  Quick Reference
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Item&lt;/th&gt;
&lt;th&gt;Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CVE-2026-60137&lt;/td&gt;
&lt;td&gt;SQL injection via &lt;code&gt;WP_Query&lt;/code&gt; / &lt;code&gt;author__not_in&lt;/code&gt; (CVSS 9.1)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CVE-2026-63030&lt;/td&gt;
&lt;td&gt;REST API batch route confusion → RCE (CVSS 7.5)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Chain name&lt;/td&gt;
&lt;td&gt;WP2Shell&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Affected&lt;/td&gt;
&lt;td&gt;WordPress 6.8.0–7.0.1 (full unauthenticated RCE chain: 6.9.0–7.0.1)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Patched in&lt;/td&gt;
&lt;td&gt;6.8.6, 6.9.5, 7.0.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Attack complexity&lt;/td&gt;
&lt;td&gt;Unauthenticated when chained, no plugins needed; RCE path requires no persistent object cache&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WAF emergency rule&lt;/td&gt;
&lt;td&gt;Cloudflare released July 17, 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Status as of July 19, 2026&lt;/td&gt;
&lt;td&gt;Public PoC exists; early exploitation attempts reported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WP2Shell disclosure&lt;/td&gt;
&lt;td&gt;Adam Kues, Assetnote / Searchlight Cyber&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>wordpress</category>
      <category>security</category>
      <category>webdev</category>
      <category>devops</category>
    </item>
    <item>
      <title>AI Wrote Your Code. Did It Ship a Vulnerability Too?</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 14 Jul 2026 14:04:00 +0000</pubDate>
      <link>https://dev.to/stanleya/ai-wrote-your-code-did-it-ship-a-vulnerability-too-574i</link>
      <guid>https://dev.to/stanleya/ai-wrote-your-code-did-it-ship-a-vulnerability-too-574i</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nearly half of AI-generated code fails basic security tests — and that number hasn't budged as models got bigger.&lt;/li&gt;
&lt;li&gt;Java is the riskiest language, XSS is the vulnerability models handle worst, and it's not close.&lt;/li&gt;
&lt;li&gt;Three cheap layers (prompt, pre-commit, CI/CD) catch most of it. None take more than an afternoon to set up.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;AI coding tools like Claude Code, Cursor, and Codex have changed how software gets written. But they've also introduced a class of risk most teams haven't caught up with yet.&lt;/p&gt;

&lt;p&gt;You ask an AI coding agent to write a login handler. It produces working code in seconds — password hashing, database queries, error handling, all there. It looks clean. It passes your tests. You ship it.&lt;/p&gt;

&lt;p&gt;There's a reasonable chance it also contains a flaw a static analysis tool would catch in five minutes.&lt;/p&gt;

&lt;p&gt;This post covers what the data actually says, what goes wrong most often, and what you can do about it — whether you're a solo dev or a small team shipping fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Data Shows
&lt;/h2&gt;

&lt;p&gt;The numbers aren't subtle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.veracode.com/resources/analyst-reports/2025-genai-code-security-report/" rel="noopener noreferrer"&gt;Veracode's 2025 GenAI Code Security Report&lt;/a&gt;&lt;/strong&gt; tested code generated by over 100 LLMs across Java, Python, C#, and JavaScript:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;45% of AI-generated code samples&lt;/strong&gt; failed security tests and introduced OWASP Top 10 vulnerabilities&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Java was the riskiest language tested&lt;/strong&gt;, with a 72% security failure rate&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-Site Scripting (CWE-80) was the single worst category&lt;/strong&gt;, with models failing to defend against it in 86% of relevant tasks&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bigger and newer models did not improve security.&lt;/strong&gt; Scaling up model size didn't translate to safer output — pass rates for newer models like GPT-5 and Claude Sonnet 4.5 still cluster around the same 50–55% mark as their predecessors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report" rel="noopener noreferrer"&gt;CodeRabbit's December 2025 report&lt;/a&gt;&lt;/strong&gt; compared 470 real-world GitHub pull requests:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI-co-authored PRs contained roughly &lt;strong&gt;1.7× more issues overall&lt;/strong&gt; than human-only PRs&lt;/li&gt;
&lt;li&gt;For XSS specifically, AI-generated code was &lt;strong&gt;2.74× more likely&lt;/strong&gt; to introduce the vulnerability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://apiiro.com/blog/4x-velocity-10x-vulnerabilities-ai-coding-assistants-are-shipping-more-risks/" rel="noopener noreferrer"&gt;Apiiro's research across Fortune 50 enterprises&lt;/a&gt;&lt;/strong&gt; found:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;322% more privilege escalation paths&lt;/strong&gt; in AI-assisted codebases&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;153% more design flaws&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;40% increase in secrets exposure&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An earlier &lt;strong&gt;&lt;a href="https://arxiv.org/abs/2310.02059" rel="noopener noreferrer"&gt;academic study analyzing GitHub Copilot output&lt;/a&gt;&lt;/strong&gt; found that &lt;strong&gt;29.6% of Copilot-generated snippets&lt;/strong&gt; contained security weaknesses across 38 CWE categories.&lt;/p&gt;

&lt;p&gt;The pattern holds across every source: AI tools write functional code fast, but that code disproportionately fails basic security checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Bigger Models Aren't Safer
&lt;/h2&gt;

&lt;p&gt;More parameters and more training data don't make a model security-aware. LLMs learn patterns from the code they were trained on — and a meaningful chunk of public code is itself vulnerable. There's no internal "security reviewer" running in the background; the model is generating the statistically likely completion, not the correct one.&lt;/p&gt;

&lt;p&gt;Ask it to write a database query, and it'll reach for whatever pattern shows up most in its training data. If that pattern is string concatenation instead of a parameterized query, you get confident, working, exploitable SQL injection — and nothing in the output will look wrong at a glance.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Five Vulnerabilities AI Introduces Most Often
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Hardcoded Secrets and API Keys
&lt;/h3&gt;

&lt;p&gt;Placeholder credentials that look real — sample keys, connection strings with embedded passwords. Code works, tests pass, secret sits in plaintext for anyone with repo access.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. SQL Injection via String Concatenation
&lt;/h3&gt;

&lt;p&gt;AI defaults to f-strings or &lt;code&gt;+&lt;/code&gt; concatenation for queries instead of parameterized statements. The fastest way to write a query is also the fastest way to create SQL injection.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Weak Cryptography
&lt;/h3&gt;

&lt;p&gt;MD5 for password hashing, ECB mode for encryption, static IVs. Syntactically correct, compiles clean, sits quietly broken in production.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Missing Authorization Checks
&lt;/h3&gt;

&lt;p&gt;Endpoints handle the request correctly but skip verifying the caller actually has permission to make it. Creates privilege escalation paths that normal functional testing won't surface.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Command Injection
&lt;/h3&gt;

&lt;p&gt;User input passed straight into &lt;code&gt;os.system()&lt;/code&gt; or &lt;code&gt;subprocess.call()&lt;/code&gt; without escaping.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three Layers of Protection
&lt;/h2&gt;

&lt;p&gt;You don't need to stop using AI tools. You need checkpoints between "the model wrote this" and "this is in production."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Layer 1 — At the Prompt&lt;/strong&gt;&lt;br&gt;
Be explicit about security requirements instead of assuming the model will infer them:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Write a parameterized SQL query to select users by email. Use prepared statements, not string formatting."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This alone measurably improves output — models default to secure patterns when told to, they just don't volunteer them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Layer 2 — Before Commit&lt;/strong&gt;&lt;br&gt;
Add fast, local checks that run before code ever leaves your machine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/gitleaks/gitleaks" rel="noopener noreferrer"&gt;Gitleaks&lt;/a&gt;&lt;/strong&gt; — catches hardcoded secrets and keys&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://semgrep.dev/" rel="noopener noreferrer"&gt;Semgrep&lt;/a&gt;&lt;/strong&gt; — SAST rules for injection, weak crypto, and more&lt;/li&gt;
&lt;li&gt;A pre-commit hook wiring both in
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# example .pre-commit-config.yaml entries&lt;/span&gt;
- repo: https://github.com/gitleaks/gitleaks
  rev: v8.18.4
  hooks:
    - &lt;span class="nb"&gt;id&lt;/span&gt;: gitleaks
- repo: https://github.com/returntocorp/semgrep
  rev: v1.78.0
  hooks:
    - &lt;span class="nb"&gt;id&lt;/span&gt;: semgrep
      args: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"--config=auto"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Most teams have this running in under 30 minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Layer 3 — In CI/CD&lt;/strong&gt;&lt;br&gt;
Catch what slips past local checks on every pull request:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub CodeQL&lt;/strong&gt; for deeper static analysis&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dependabot / Snyk&lt;/strong&gt; for vulnerable dependencies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this is exotic tooling — it's the same stack most security-conscious teams already run. The difference is treating AI output as untrusted input by default, not as an exception case.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Bottom Line
&lt;/h2&gt;

&lt;p&gt;AI coding tools aren't going away, and they shouldn't. But the security cost is real, and it doesn't shrink as the models get bigger. The teams that benefit most treat AI output the way they'd treat a pull request from a junior developer: useful, fast, and unmerged until it's been reviewed.&lt;/p&gt;

&lt;p&gt;If you're already running Semgrep or CodeQL, the marginal cost of pointing it at AI-generated code is close to zero. The cost of not doing it shows up later, in production, when it's a lot more expensive to fix.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>python</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>How AI Rewrote the Attacker's Playbook in 2026</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 07 Jul 2026 14:05:00 +0000</pubDate>
      <link>https://dev.to/stanleya/how-ai-rewrote-the-attackers-playbook-in-2026-148a</link>
      <guid>https://dev.to/stanleya/how-ai-rewrote-the-attackers-playbook-in-2026-148a</guid>
      <description>&lt;p&gt;For years, the cybersecurity conversation about AI was speculative. Researchers warned it &lt;em&gt;could&lt;/em&gt; lower the barrier for attackers. Pen test firms demoed LLM-generated phishing emails. Thought pieces predicted AI-powered attacks were coming.&lt;/p&gt;

&lt;p&gt;In 2026, they're here. And they're rewriting how every stage of an attack works — from discovery to exploitation to evasion.&lt;/p&gt;




&lt;h2&gt;
  
  
  The EDR Evasion Toolkit
&lt;/h2&gt;

&lt;p&gt;In June 2026, Sophos published an analysis of a ransomware toolkit built using AI-assisted development workflows. The attacker used Cursor and Claude Opus 4.5 agents to iterate on malware modules against EDR products, coordinating roles across several agents: one set direction, others handled EDR testing, OPSEC hardening, documentation, and VM deployment.&lt;/p&gt;

&lt;p&gt;The attack loop:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write an EDR evasion module.&lt;/li&gt;
&lt;li&gt;Test it in an isolated lab against Sophos, CrowdStrike, and Windows Defender.&lt;/li&gt;
&lt;li&gt;If it fails, describe the failure to the AI.&lt;/li&gt;
&lt;li&gt;The AI rewrites the module based on what it learned.&lt;/li&gt;
&lt;li&gt;Repeat.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The attacker claimed the modules eventually bypassed nearly every EDR solution tested — though Sophos noted its own telemetry didn't fully bear that claim out, and the discrepancy is unexplained (possibly the AI over-reporting its own success). The agents also mined published bypass techniques from security research blogs, mapped them to MITRE ATT&amp;amp;CK, and built out test environments to validate results.&lt;/p&gt;

&lt;p&gt;It's worth being precise about what this was and wasn't: Sophos was explicit that this was &lt;strong&gt;not&lt;/strong&gt; an autonomously reasoning system running unsupervised. It described the workflow as "a structured engineering test cycle that included human review and iteration" at every step. The genuine shift here isn't a fully autonomous attacker — it's the speed and cheapness of the build-test-refine loop, which lets a single operator iterate dozens of variants faster than a traditional malware dev shop ever could.&lt;/p&gt;

&lt;h2&gt;
  
  
  The First AI-Discovered Zero-Day
&lt;/h2&gt;

&lt;p&gt;Google's Threat Intelligence Group confirmed the first zero-day exploit believed to be developed with AI. The target was a popular open-source web administration tool. The vulnerability: a 2FA bypass caused by a hardcoded trust assumption — a semantic logic flaw, not memory corruption or input validation.&lt;/p&gt;

&lt;p&gt;GTIG identified the AI origin through: abundant educational docstrings, a hallucinated CVSS score, and textbook Pythonic structure characteristic of LLM-generated code. The key technical insight: frontier LLMs excel at finding semantic logic flaws that static analysis and fuzzers miss, because they can reason about developer intent rather than pattern-matching for known vulnerability classes. Google worked with the vendor to patch the flaw before the planned mass-exploitation campaign launched.&lt;/p&gt;

&lt;h2&gt;
  
  
  Autonomous Malware: PROMPTSPY
&lt;/h2&gt;

&lt;p&gt;ESET first identified &lt;strong&gt;PROMPTSPY&lt;/strong&gt;, an Android backdoor that queries an LLM (Google's Gemini API) to interpret the on-screen UI and get step-by-step instructions for pinning itself in the recent-apps list — a persistence trick that normally has to be hand-scripted per device manufacturer. GTIG's follow-up analysis found the backdoor's use of AI went further: an agent module that reads live device state and generates precise tap/gesture commands in real time, letting it adapt across devices without hardcoded logic. Unlike traditional malware that follows predetermined logic, PROMPTSPY reads the environment, reasons about what it finds, and decides what to do next.&lt;/p&gt;

&lt;h2&gt;
  
  
  Supply Chain Attacks on AI Infrastructure
&lt;/h2&gt;

&lt;p&gt;npm supply-chain campaigns turned their sights on AI developer tooling in early 2026. The "SANDWORM_MODE" campaign, spread through typosquatted npm packages, planted rogue MCP servers into AI coding assistants like Claude Code, Cursor, and Windsurf — the injected servers registered innocent-looking tools whose descriptions contained hidden prompt-injection instructions telling the AI to silently read and exfiltrate SSH keys, AWS credentials, and other secrets.&lt;/p&gt;

&lt;p&gt;Around the same time, the threat group TeamPCP compromised the CI/CD pipeline of Trivy (a widely used security scanner), then used stolen credentials to cascade into PyPI: two backdoored releases of LiteLLM (the open-source LLM gateway) shipped a multi-stage credential stealer, and a similar payload later hit the Telnyx package. This is the same supply-chain attack pattern that has plagued traditional software for years — just reaching into a newer, less mature ecosystem, and in this case exploiting the very security tools meant to prevent it.&lt;/p&gt;

&lt;p&gt;The Langflow AI framework (CVE-2026-33017) also fell to an unauthenticated RCE that let attackers inject arbitrary Python into a public flow-build endpoint, exfiltrating database connections, cloud credentials, and environment configs. Exploitation began within about 20 hours of disclosure, and it was added to the CISA KEV catalog.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Scale
&lt;/h2&gt;

&lt;p&gt;Hadrian Security cataloged 70+ open-source AI pentest tools as of March 2026, most launched in the prior 18 months. The critical difference: these tools operate in parallel across an entire attack surface — they don't context-switch, lose findings, or deprioritize targets. The marginal cost of executing a known attack chain against a known target is trending toward zero.&lt;/p&gt;

&lt;p&gt;State-sponsored actors are industrializing this. APT45 (North Korea) was observed sending thousands of automated prompts to iteratively analyze CVEs and validate PoCs. China-nexus actors experimented with datasets of 85,000+ real-world vulnerability cases to prime models for expert-level code analysis.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Defenders Should Do
&lt;/h2&gt;

&lt;p&gt;The fundamentals haven't changed — they just need consistent application:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Patch promptly.&lt;/strong&gt; Most exploited vulns had patches available. The Ghost CMS SQL injection (CVE-2026-26980) hit 700+ sites; patches existed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MFA everywhere.&lt;/strong&gt; Doesn't prevent server exploitation, but makes stolen credentials — the most common initial access vector — significantly less useful.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network segmentation.&lt;/strong&gt; Limits lateral movement when one system is compromised.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit dependencies — including your security tools.&lt;/strong&gt; The Trivy → LiteLLM chain shows that scanners and CI actions are now targets too, not just app dependencies. Pin versions, don't trust mutable tags, and use Dependabot or Snyk; keep WordPress plugins and themes updated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treat AI coding assistants as part of your attack surface.&lt;/strong&gt; Audit MCP server configs and tool descriptions the same way you'd audit a new dependency — SANDWORM_MODE proved that's now a live exfiltration path.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitor for anomalies.&lt;/strong&gt; Unusual outbound connections, logins from unexpected locations — you don't need a SOC to catch the basics.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Bottom Line
&lt;/h2&gt;

&lt;p&gt;AI hasn't created a new category of cyberattack. It's compressed the timeline between vulnerability and exploitation, lowered the skill floor, and made attack chains adaptive. But it's also worth resisting the more dramatic framing: even in the most AI-heavy case documented this year, the attacker was still driving, reviewing, and correcting the loop by hand — AI made the loop faster, not autonomous. The defensive fundamentals still work — patch, segment, authenticate, monitor. The hardest targets aren't the most expensive defenses, but the most consistently applied ones.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Sources: Google Threat Intelligence Group, Sophos, ESET, Socket, Sysdig, Snyk, Arete, Hadrian Security, SANS, CISA, NetEye, Cofense, Sonatype.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>cybersecurity</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Someone Else Might Already Be Logged Into Your Shop</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 30 Jun 2026 14:12:00 +0000</pubDate>
      <link>https://dev.to/stanleya/someone-else-might-already-be-logged-into-your-shop-1m7b</link>
      <guid>https://dev.to/stanleya/someone-else-might-already-be-logged-into-your-shop-1m7b</guid>
      <description>&lt;p&gt;If you build or maintain ecommerce platforms, there's a specific threat model you should be thinking about more than you probably are: &lt;strong&gt;account takeover (ATO)&lt;/strong&gt; — not as a theoretical risk, but as a high-volume, automated attack class that's hitting stores right now.&lt;/p&gt;

&lt;p&gt;The core insight is deceptively simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The attacker does not break in. They log in.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;No code exploits. No zero-days. Just real credentials, real sessions, and stores that aren't configured to notice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR — five checks, under an hour, no security budget required:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Rate limit (or CAPTCHA) the &lt;code&gt;/login&lt;/code&gt; endpoint after 3–5 failed attempts&lt;/li&gt;
&lt;li&gt;[ ] Offer MFA, and push toward passkeys (FIDO2/WebAuthn) as the default&lt;/li&gt;
&lt;li&gt;[ ] Invalidate sessions server-side on logout — test with the browser Back button&lt;/li&gt;
&lt;li&gt;[ ] Log new-device / new-geo logins and notify the user&lt;/li&gt;
&lt;li&gt;[ ] Turn on whatever login-security features your platform (Shopify/WooCommerce/Magento) already ships with but doesn't enable by default&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Scale
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Figure&lt;/th&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Consumers who experienced ATO in 2025&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;21%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Sift Q1 2026 Digital Trust Index&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UK ATO fraud cases (2025)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;78,000+&lt;/strong&gt; (18% of all fraud, up 6% YoY)&lt;/td&gt;
&lt;td&gt;Cifas Fraudscape 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;FBI ATO complaints (2025)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;~4,700&lt;/strong&gt; — first time listed as its own category&lt;/td&gt;
&lt;td&gt;FBI 2025 IC3 Report&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reported losses from those complaints&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$359.7M&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;FBI 2025 IC3 Report&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For context: &lt;strong&gt;~26 billion credential-stuffing attempts per month&lt;/strong&gt; (Akamai). Compromised credential volumes are up &lt;strong&gt;&amp;gt;150% year-over-year&lt;/strong&gt;. This isn't a niche problem — it's the default attack surface for any store with user accounts.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Three Vectors You Should Be Architecting Against
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Credential stuffing
&lt;/h3&gt;

&lt;p&gt;Automated login attempts using leaked username/password pairs from unrelated breaches. Because password reuse is endemic, a breach at a forum becomes a key to your checkout.&lt;/p&gt;

&lt;p&gt;What makes this dangerous at scale: attackers are replaying &lt;strong&gt;real, previously-valid credentials&lt;/strong&gt;. No brute force, no pattern — just bulk credential replay with high success rates against any login endpoint without rate limiting.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Session hijacking
&lt;/h3&gt;

&lt;p&gt;If your session tokens lack &lt;code&gt;Secure&lt;/code&gt;, &lt;code&gt;HttpOnly&lt;/code&gt;, and &lt;code&gt;SameSite&lt;/code&gt; attributes — or if you're not enforcing HTTPS at every layer — session cookies are extractable on shared networks. A café attacker with &lt;code&gt;mitmproxy&lt;/code&gt; or a rogue AP can capture sessions without knowing the password.&lt;/p&gt;

&lt;p&gt;A correctly-flagged session cookie looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;Set-Cookie: session=abc123; Secure; HttpOnly; SameSite=Strict; Path=/
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Even with HTTPS, &lt;code&gt;SameSite=None&lt;/code&gt; on session cookies is still common in cross-origin setups (e.g. embedded checkout widgets, third-party payment iframes). Worth auditing — &lt;code&gt;SameSite=None&lt;/code&gt; requires &lt;code&gt;Secure&lt;/code&gt; and reopens some of the cross-site exposure the other flags are meant to close.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. AI-assisted phishing
&lt;/h3&gt;

&lt;p&gt;The phishing bar just got much lower. LLMs generate convincing, brand-accurate login page clones at scale. The old advice — "look for typos" — doesn't apply when the attacker can clone your exact HTML, match your brand voice in emails, and serve a pixel-perfect fake checkout from a lookalike domain.&lt;/p&gt;




&lt;h2&gt;
  
  
  Five Things to Check (Or Tell Your Team to Check)
&lt;/h2&gt;

&lt;p&gt;These aren't aspirational — they're configuration-level fixes that should take under an hour.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Rate limiting on login
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Quick test:&lt;/strong&gt; enter a wrong password 10 times. If nothing happens — no CAPTCHA, no progressive delay, no lockout — you have no rate limiting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to implement:&lt;/strong&gt; progressive throttling or CAPTCHA after &lt;strong&gt;3–5 failed attempts&lt;/strong&gt; per account or per IP. Most platforms have plugins or middleware for this. If you're building custom, a token bucket or sliding window limiter on the &lt;code&gt;/login&lt;/code&gt; endpoint is non-negotiable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Minimal sketch — swap in Redis for real deployments
&lt;/span&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;

&lt;span class="n"&gt;attempts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;  &lt;span class="c1"&gt;# key -&amp;gt; [timestamps]
&lt;/span&gt;&lt;span class="n"&gt;WINDOW&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;300&lt;/span&gt;    &lt;span class="c1"&gt;# 5 minutes
&lt;/span&gt;&lt;span class="n"&gt;LIMIT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;is_rate_limited&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;now&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;time&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="n"&gt;attempts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;attempts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[])&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;now&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;WINDOW&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;attempts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;LIMIT&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;
    &lt;span class="n"&gt;attempts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Key on account &lt;em&gt;and&lt;/em&gt; IP separately — attackers rotate IPs (residential proxies), and legitimate users share IPs (offices, NAT).&lt;/p&gt;

&lt;h3&gt;
  
  
  2. MFA — ideally passkeys
&lt;/h3&gt;

&lt;p&gt;If your platform supports customer-facing MFA, enable it. Even opt-in gives security-conscious users a way to protect themselves.&lt;/p&gt;

&lt;p&gt;But the real win is &lt;strong&gt;passkeys (FIDO2/WebAuthn)&lt;/strong&gt;. Passwords are the root cause of credential stuffing — remove the password and the attack vector collapses, since there's no shared secret left to steal, leak, or replay.&lt;/p&gt;

&lt;p&gt;Separately, passkeys also outperform passwords on plain usability — the FIDO Alliance's 2025 Passkey Index found a &lt;strong&gt;93% login completion rate for passkeys vs. ~63% for password-based methods&lt;/strong&gt;. That's a UX/conversion number (how often a real user finishes logging in), not a measure of attack resistance — but it means the security upgrade doesn't come at the cost of friction, which is usually the objection that kills MFA rollouts.&lt;/p&gt;

&lt;p&gt;Major platforms (Amazon, Google, PayPal, TikTok) are already rolling out passkey support. If you're building auth for a new platform, FIDO2 should be the default, not the upgrade.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Server-side session invalidation
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Quick test:&lt;/strong&gt; log in → click logout → press browser Back. If the dashboard renders, your session tokens aren't being invalidated server-side on logout.&lt;/p&gt;

&lt;p&gt;This is a common misconfiguration in stateless token setups where the server trusts the client to "forget" the token. &lt;strong&gt;Server must explicitly invalidate or blacklist the session on logout.&lt;/strong&gt; For JWT-based sessions, a short TTL + token blacklist or rotation is the fix.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Suspicious login detection
&lt;/h3&gt;

&lt;p&gt;At minimum: flag logins from new devices or unusual geolocations and notify the user. If you're not building this, most platforms (Shopify, WooCommerce, Magento) have plugins for basic login activity logging.&lt;/p&gt;

&lt;p&gt;For custom builds: a simple &lt;code&gt;user_sessions&lt;/code&gt; table tracking &lt;code&gt;ip&lt;/code&gt;, &lt;code&gt;user_agent&lt;/code&gt;, &lt;code&gt;geoip&lt;/code&gt;, and &lt;code&gt;last_seen&lt;/code&gt; lets you flag anomalies without a full SIEM.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Audit your platform's security features
&lt;/h3&gt;

&lt;p&gt;If you're on Shopify, WooCommerce, or Magento — review the built-in security settings. These aren't glamorous, but they matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Login attempt monitoring&lt;/li&gt;
&lt;li&gt;IP-based throttling&lt;/li&gt;
&lt;li&gt;Suspicious activity flags&lt;/li&gt;
&lt;li&gt;Session timeout configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Make sure they're &lt;strong&gt;turned on and configured&lt;/strong&gt;, not just "available."&lt;/p&gt;




&lt;h2&gt;
  
  
  The Architectural Takeaway
&lt;/h2&gt;

&lt;p&gt;ATO isn't a vulnerability you patch — it's a configuration and design surface. The most effective mitigation is layered: rate limiting at the edge, MFA/passkeys at auth, proper session lifecycle management, activity logging, and sensible platform defaults.&lt;/p&gt;

&lt;p&gt;None of this requires a security budget. Most of it requires someone to actually check whether these features are enabled.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The question isn't whether someone is trying to log in as your customers. It's whether your store is configured to notice — and whether it's harder to attack than the one next door.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://wardenbit.com/posts/someone-else-might-already-be-logged-into-your-shop?utm_source=devto&amp;amp;utm_medium=syndication&amp;amp;utm_campaign=someone_else_might_already_be_logged_into_your_shop&amp;amp;utm_content=devto_article_cta" rel="noopener noreferrer"&gt;WardenBit Blog&lt;/a&gt;, covering practical ecommerce security for developers and shop owners.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>cybersecurity</category>
      <category>ecommerce</category>
    </item>
    <item>
      <title>Supply Chain Is the New Front Door: What May 2026 Taught Us About Third-Party Risk</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Wed, 03 Jun 2026 14:20:19 +0000</pubDate>
      <link>https://dev.to/stanleya/supply-chain-is-the-new-front-door-what-may-2026-taught-us-about-third-party-risk-5d5a</link>
      <guid>https://dev.to/stanleya/supply-chain-is-the-new-front-door-what-may-2026-taught-us-about-third-party-risk-5d5a</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"We audited our own code. Our dependencies are someone else's problem."&lt;/em&gt; — Until they become yours.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;May 2026 was a turning point for supply chain attacks. In a single month, a trojanized software installer hit thousands of machines across 100+ countries, a certificate authority was compromised into issuing fraudulent code-signing certificates, and a popular open-source framework was poisoned in a way that reached inside one of the world's most prominent AI companies.&lt;/p&gt;

&lt;p&gt;These weren't exotic zero-days. They were trust exploits — attacks that abuse the relationships between your organisation and the tools, libraries, and vendors you've already approved.&lt;/p&gt;

&lt;p&gt;If you're running a software team, an ecommerce platform, or any business that depends on third-party code, this post is about why your clean vulnerability scan report might be hiding the biggest risk on your network.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Happened: Three Incidents, One Pattern
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. DAEMON Tools — Trojanized Installers (May 6)
&lt;/h3&gt;

&lt;p&gt;A supply-chain attack compromised the official installer distribution of DAEMON Tools, a widely used disc utility. The trojanized packages delivered malware to thousands of users across more than 100 countries.&lt;/p&gt;

&lt;p&gt;What made it effective was deceptively simple: users downloaded from what appeared to be the legitimate source, the installer carried a valid-looking digital signature, and antivirus engines initially trusted the binary because of its origin. The malware established persistence before most users noticed anything unusual.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lesson:&lt;/strong&gt; Your users trust your download page. If an attacker compromises your build or distribution pipeline, that trust becomes the attack vector.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. DigiCert — Fraudulent Code-Signing Certificates (May 4)
&lt;/h3&gt;

&lt;p&gt;An attacker managed to obtain fraudulent code-signing certificates from DigiCert, one of the internet's most trusted certificate authorities. These certificates could be used to sign malware that operating systems and security tools would treat as entirely legitimate.&lt;/p&gt;

&lt;p&gt;The danger here is structural. Code-signed malware bypasses SmartScreen, Gatekeeper, and most endpoint protection heuristics. Because the certificates were issued by a trusted CA, the chain of trust remained intact from the OS's perspective — victims would have had no reason to suspect a signed binary was malicious.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lesson:&lt;/strong&gt; When trust infrastructure itself is compromised, your entire verification model breaks down. Your WAF doesn't cover this.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. TanStack Supply-Chain Attack → OpenAI (May 14)
&lt;/h3&gt;

&lt;p&gt;The threat group tracked as "TeamPCP" compromised the TanStack open-source framework — a widely used set of React/TypeScript libraries. The attack propagated to downstream consumers, including OpenAI, where two employee devices were affected and limited credentials were exposed. OpenAI confirmed no customer data or core systems were impacted, but an exposure window existed.&lt;/p&gt;

&lt;p&gt;What made this significant wasn't the impact at OpenAI specifically — it was the mechanism. TanStack is a transitive dependency in thousands of projects. Most teams don't audit it directly. The attack reached a high-value target not by breaking through a perimeter, but by travelling silently through the dependency chain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lesson:&lt;/strong&gt; You don't just trust your direct dependencies. You trust their dependencies, and their dependencies' dependencies. The attack surface is recursive.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Anatomy of a Supply Chain Attack
&lt;/h2&gt;

&lt;p&gt;Supply chain attacks follow a predictable pattern. Understanding it helps you defend against it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Compromise a trusted upstream&lt;/strong&gt; — package registry, CA, build server, or vendor&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inject malicious payload&lt;/strong&gt; — trojanized update, backdoor, or signed malware&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legitimate distribution channel delivers it&lt;/strong&gt; — npm install, auto-update, official download&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Downstream consumers trust and execute&lt;/strong&gt; — CI/CD pipelines, developer machines, production servers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attacker gains access, credentials, or persistence&lt;/strong&gt; — the damage is done before anyone notices&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Unlike a direct attack on your application, you may never see the initial vector. The malicious code arrives through a channel you've already whitelisted.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Traditional Security Testing Misses This
&lt;/h2&gt;

&lt;p&gt;Most security programmes focus on what you can control directly: your code, your infrastructure, your configurations. That's necessary but insufficient.&lt;/p&gt;

&lt;p&gt;Here's what you test versus what supply chain attacks actually target:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What You Test&lt;/th&gt;
&lt;th&gt;What Supply Chain Attacks Target&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Your application code&lt;/td&gt;
&lt;td&gt;Your dependencies' code&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your network perimeter&lt;/td&gt;
&lt;td&gt;Your build pipeline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your servers&lt;/td&gt;
&lt;td&gt;Your developers' machines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your WAF rules&lt;/td&gt;
&lt;td&gt;Your certificate trust chain&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your access controls&lt;/td&gt;
&lt;td&gt;Your vendors' access controls&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your vulnerability scan&lt;/td&gt;
&lt;td&gt;Transitive dependencies you've never reviewed&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This is why a clean scan report can be misleading. Your code can be flawless while the library it imports is silently exfiltrating environment variables.&lt;/p&gt;




&lt;h2&gt;
  
  
  Real-World Attack Surface: What We Find During Pentests
&lt;/h2&gt;

&lt;p&gt;When we conduct supply chain-focused assessments, we consistently find the same categories of exposure:&lt;/p&gt;

&lt;h3&gt;
  
  
  Dependency Confusion &amp;amp; Typosquatting
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Checking for internal package names that could be claimed on public registries&lt;/span&gt;
npm config list &lt;span class="nt"&gt;--json&lt;/span&gt; | &lt;span class="nb"&gt;grep &lt;/span&gt;registry
pip config list 2&amp;gt;/dev/null | &lt;span class="nb"&gt;grep &lt;/span&gt;index-url

&lt;span class="c"&gt;# Common finding: internal package names that are&lt;/span&gt;
&lt;span class="c"&gt;# not reserved on npm/PyPI — anyone could register them&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Many organisations publish internal packages with names that are available on public registries. An attacker can upload a malicious package with the same name but a higher version number — and &lt;code&gt;npm install&lt;/code&gt; or &lt;code&gt;pip install&lt;/code&gt; may pull the attacker's version without any warning.&lt;/p&gt;

&lt;h3&gt;
  
  
  Exposed CI/CD Credentials
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# What we look for in accessible CI configurations&lt;/span&gt;
&lt;span class="c"&gt;# Common findings: plaintext tokens, overly broad IAM roles,&lt;/span&gt;
&lt;span class="c"&gt;# secrets in environment variables visible to any build step&lt;/span&gt;

&lt;span class="c"&gt;# Example: GitHub Actions workflow with broad permissions&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; &lt;span class="s2"&gt;"AWS_ACCESS_KEY_ID&lt;/span&gt;&lt;span class="se"&gt;\|&lt;/span&gt;&lt;span class="s2"&gt;NPM_TOKEN&lt;/span&gt;&lt;span class="se"&gt;\|&lt;/span&gt;&lt;span class="s2"&gt;DOCKER_PASSWORD"&lt;/span&gt; .github/workflows/

&lt;span class="c"&gt;# The risk: any dependency that runs a postinstall script&lt;/span&gt;
&lt;span class="c"&gt;# can read these environment variables&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A compromised dependency running as a &lt;code&gt;postinstall&lt;/code&gt; script has access to every environment variable in your CI pipeline — including deployment keys, registry tokens, and cloud credentials.&lt;/p&gt;

&lt;h3&gt;
  
  
  Unsigned or Unpinned Dependencies
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Dangerous:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;floating&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;version&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;ranges&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"dependencies"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"tanstack-react-table"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"^8.x"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Better:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;pinned&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;versions&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;integrity&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;hashes&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"dependencies"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"tanstack-react-table"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"8.20.5"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;With&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;package-lock.json&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;integrity&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;field&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;verified&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Without integrity checking, a compromised registry can serve different code to different consumers — enabling targeted supply chain attacks that are nearly impossible to detect through casual inspection.&lt;/p&gt;

&lt;h3&gt;
  
  
  Build Pipeline Integrity
&lt;/h3&gt;

&lt;p&gt;The DAEMON Tools incident is a textbook example of what we routinely find: build servers with unrestricted internet access, signing keys stored on the same machine that runs builds, no reproducible build verification (nobody checks that source matches binary), and deployment pipelines that auto-publish without human review.&lt;/p&gt;




&lt;h2&gt;
  
  
  How the Nightmare-Eclipse Campaign Widens the Risk
&lt;/h2&gt;

&lt;p&gt;While you're thinking about supply chain risk, there's a parallel threat worth noting. The Nightmare-Eclipse campaign (disclosed May 2026) has been actively exploiting Windows Defender and BitLocker vulnerabilities, including several that remain unpatched.&lt;/p&gt;

&lt;p&gt;The connection to supply chain risk is worth thinking through: if your developers' machines are compromised — with Defender blinded so the system appears healthy — any code they push, any credential they use, and any build they run is potentially tainted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A plausible attack chain:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Compromise a developer's machine via Nightmare-Eclipse&lt;/li&gt;
&lt;li&gt;Use their legitimate credentials to push malicious code&lt;/li&gt;
&lt;li&gt;The code passes through your CI/CD pipeline with valid signatures&lt;/li&gt;
&lt;li&gt;Your supply chain is now poisoned — from the inside&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is a hypothetical scenario, not a confirmed attack chain from these incidents — but it illustrates why endpoint security and supply chain security can't be treated as separate problems.&lt;/p&gt;




&lt;h2&gt;
  
  
  Actionable Steps for Software Teams
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Immediate (This Week)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Audit your dependency tree.&lt;/strong&gt; Run &lt;code&gt;npm audit&lt;/code&gt;, &lt;code&gt;pip-audit&lt;/code&gt;, or your ecosystem's equivalent. But more importantly: do you know what your dependencies' dependencies are doing?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pin and verify.&lt;/strong&gt; Lock dependency versions and enable integrity checking. In npm, ensure &lt;code&gt;package-lock.json&lt;/code&gt; integrity fields are present. In Python, use hash-checking mode:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--require-hashes&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check for dependency confusion.&lt;/strong&gt; Are any of your internal package names available on public registries? If so, either reserve them or configure scoped registries.&lt;/p&gt;

&lt;h3&gt;
  
  
  Short-Term (This Month)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Audit CI/CD secrets.&lt;/strong&gt; Which environment variables are exposed to build steps? Could a &lt;code&gt;postinstall&lt;/code&gt; script read your deployment keys? Scope permissions to the minimum required.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Review third-party access.&lt;/strong&gt; What access do your vendors, contractors, and SaaS tools have to your systems? The DigiCert incident is a reminder that trust in your tooling is only as strong as the security of whoever manages it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enable SBOM generation.&lt;/strong&gt; Start producing Software Bills of Materials for your builds. You can't assess risk in dependencies you can't enumerate.&lt;/p&gt;

&lt;h3&gt;
  
  
  Strategic (Ongoing)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Include supply chain in your pentest scope.&lt;/strong&gt; Standard application pentests rarely cover dependency risk, build pipeline security, or developer workstation exposure. Ask your provider specifically about supply chain testing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implement SLSA or equivalent build attestation.&lt;/strong&gt; The SLSA framework (Supply-chain Levels for Software Artifacts) provides a structured approach to build integrity verification.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Monitor for anomalous dependency behaviour.&lt;/strong&gt; Tools like Socket (for npm) can detect when packages make unexpected network calls, access the filesystem outside their scope, or introduce new permissions.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Bottom Line
&lt;/h2&gt;

&lt;p&gt;Your organisation's security perimeter no longer ends at your firewall — or your codebase. It extends through every package you install, every vendor you trust, every certificate you validate, and every build pipeline you run.&lt;/p&gt;

&lt;p&gt;May 2026 demonstrated that attackers have shifted focus from breaking through defences to poisoning supply chains. The question isn't whether your team is exposed — it's whether you'll detect it before the damage is done.&lt;/p&gt;

&lt;p&gt;Start with visibility. Know what you're running, where it came from, and whether it's what you think it is. That's the foundation everything else builds on.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article is written for developers and engineering teams who want to understand how software supply chain attacks work in practice and what concrete steps reduce exposure.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Source Notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://blog.barracuda.com/2026/05/19/nightmare-eclipse-zero-days-grudge" rel="noopener noreferrer"&gt;Barracuda — Nightmare-Eclipse: six zero-days, six weeks and one big grudge&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.cm-alliance.com/cybersecurity-blog/biggest-cyber-attacks-data-breaches-ransomware-attacks-of-may-2026" rel="noopener noreferrer"&gt;Cyber Management Alliance — Biggest Cyber Attacks, Data Breaches, Ransomware Attacks of May 2026&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blackfog.com/the-state-of-ransomware-2026" rel="noopener noreferrer"&gt;BlackFog — The State of Ransomware 2026&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.wiz.io/blog/github-git-push-rce" rel="noopener noreferrer"&gt;Wiz Research — CVE-2026-3854: GitHub Git Push RCE via Internal Trust Boundary Abuse&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog" rel="noopener noreferrer"&gt;CISA — Known Exploited Vulnerabilities Catalog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cybersecurity</category>
      <category>opensource</category>
      <category>supplychain</category>
      <category>devsecops</category>
    </item>
    <item>
      <title>Two Retailers, One Attack: What Really Decides Who Survives a Breach</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Fri, 29 May 2026 13:47:00 +0000</pubDate>
      <link>https://dev.to/stanleya/two-retailers-one-attack-what-really-decides-who-survives-a-breach-4all</link>
      <guid>https://dev.to/stanleya/two-retailers-one-attack-what-really-decides-who-survives-a-breach-4all</guid>
      <description>&lt;p&gt;In April 2025, two of Britain's most recognized retailers were hit by the same adversary, using the same attack technique, in the same month. One lost hundreds of millions of dollars. The other noticed within minutes and kept the lights on.&lt;/p&gt;

&lt;p&gt;For readers outside the UK: Marks &amp;amp; Spencer (M&amp;amp;S) and the Co-op Group are household names in Britain. M&amp;amp;S — founded in 1884 — operates around 1,400 stores across the country, spanning food, clothing, and homeware, with a major online shopping business. The Co-op Group is one of the largest consumer cooperatives in the world, running thousands of food stores and funeral homes across the UK, serving millions of members. These aren't small businesses. They're institutions woven into daily British life — the kind of organizations where a disruption doesn't just make the tech press; it makes the evening news.&lt;/p&gt;

&lt;p&gt;Marks &amp;amp; Spencer lost an estimated $400 million in operating profit. Their online operations went dark for over three weeks. Contactless payments failed across 2,300 food stores. The attack wiped more than $930 million from the company's market value.&lt;/p&gt;

&lt;p&gt;The Co-op Group — targeted with the exact same social engineering play — detected the intrusion within minutes. Their security operations center locked the compromised account immediately. Customer-facing services continued uninterrupted. Total business impact: negligible.&lt;/p&gt;

&lt;p&gt;Same attacker. Same technique. Same month. Wildly different outcomes.&lt;/p&gt;

&lt;p&gt;This isn't a story about social engineering. It's not even really a story about M&amp;amp;S or the Co-op. It's a story about the three questions that separate organizations that survive a breach from those that don't — and why most security spending doesn't move the needle on any of them.&lt;/p&gt;




&lt;h2&gt;
  
  
  The attack, in brief
&lt;/h2&gt;

&lt;p&gt;The threat group known as Scattered Spider (also tracked as UNC3944, Octo Tempest, and Muddled Libra by various vendors) is a predominantly English-speaking collective — many of them teenagers and young adults — that has compromised over 100 organizations worldwide. Their signature move isn't malware exploitation. It's picking up the phone.&lt;/p&gt;

&lt;p&gt;At M&amp;amp;S, they called a third-party IT help desk, impersonated an employee, and convinced the support agent to reset credentials and disable multi-factor authentication. At the Co-op, they did the same thing — called up, answered security questions, got an account reset.&lt;/p&gt;

&lt;p&gt;The technique was identical. What happened next was not.&lt;/p&gt;




&lt;h2&gt;
  
  
  Question 1: Can you detect it?
&lt;/h2&gt;

&lt;p&gt;At M&amp;amp;S, the attackers operated freely for approximately two days before anyone noticed something was wrong. By the time the first anomaly was flagged — late afternoon on April 19 — the adversary had already been inside the network since at least April 17. The first crisis meeting didn't happen until 10 PM that night.&lt;/p&gt;

&lt;p&gt;In those 48 hours of undetected access, the attackers had already stolen the NTDS.dit file — the core Active Directory database containing password hashes for every user in the organization. From there, they moved laterally, escalated privileges, and eventually deployed DragonForce ransomware across VMware ESXi infrastructure during the Easter weekend.&lt;/p&gt;

&lt;p&gt;Two days of free movement. That's an eternity in incident response terms.&lt;/p&gt;

&lt;p&gt;At the Co-op, the SOC detected unusual account behavior &lt;strong&gt;within minutes&lt;/strong&gt;. Behavioral analytics flagged the anomalous activity the moment the attacker started using the reset credentials in ways that didn't match the legitimate user's patterns. The account was immediately restricted.&lt;/p&gt;

&lt;p&gt;Rob Elsey, the Co-op's Chief Digital and Information Officer, told the UK Parliament's Business and Trade Sub-Committee:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Our cyber-defenses kicked in immediately and restricted the activities of that account."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That word — &lt;em&gt;immediately&lt;/em&gt; — is doing a lot of work. It's the difference between a contained incident and a catastrophe.&lt;/p&gt;

&lt;p&gt;Here's the uncomfortable truth: many organizations have invested heavily in detection tools — SIEM platforms, EDR agents, behavioral analytics engines, threat intelligence feeds — but haven't done the foundational work of understanding what "normal" looks like in their own environment. When you don't know your baseline, your tools generate noise. When they generate noise, your team starts ignoring alerts. When your team ignores alerts, you get M&amp;amp;S's 48-hour detection gap.&lt;/p&gt;

&lt;p&gt;The detection problem isn't a tool problem. It's an architecture and awareness problem.&lt;/p&gt;




&lt;h2&gt;
  
  
  Question 2: When you detect it, how fast and how well do you respond?
&lt;/h2&gt;

&lt;p&gt;Detection without response is a dashboard with flashing lights nobody acts on. What matters is what happens in the minutes and hours after the alert fires.&lt;/p&gt;

&lt;p&gt;At M&amp;amp;S, the response was slow and reactive. The crisis meeting on April 19 wasn't a coordinated containment exercise — it was the beginning of a scramble. By the time leadership was fully mobilized, the attackers were already positioning ransomware.&lt;/p&gt;

&lt;p&gt;The Co-op's response tells a different story. Within the same day as the detection:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;VPN access was locked down across the organization&lt;/li&gt;
&lt;li&gt;Remote access was paused&lt;/li&gt;
&lt;li&gt;A 12-to-24-hour effort locked down compromised accounts across the environment&lt;/li&gt;
&lt;li&gt;Later that week, when the team detected software beaconing to a threat actor's command-and-control server, they proactively paused &lt;strong&gt;all communication within the affected network zone&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point is critical. The Co-op didn't just react to what they could see — they anticipated what they couldn't. They found roughly 40 domain controllers had been touched and decided the right move was to isolate the entire zone rather than play whack-a-mole with individual compromised systems.&lt;/p&gt;

&lt;p&gt;This wasn't improvisation. Rob Elsey again, under parliamentary questioning:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"We had actually war-gamed this precise scenario before as a leadership team."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;They had rehearsed this. Not in the abstract — they had specifically practiced responding to a social engineering-driven credential compromise. When the real thing happened, the playbook already existed. The decisions were fast because the thinking had already been done.&lt;/p&gt;




&lt;h2&gt;
  
  
  Question 3: Does your architecture let you respond without destroying your own business?
&lt;/h2&gt;

&lt;p&gt;This is the question I find most organizations haven't even considered. And it's the one that matters most when the pressure is on.&lt;/p&gt;

&lt;p&gt;When the Co-op made the decision to isolate a network zone, online retail and payment systems continued operating normally. Why? Because they had invested in network segmentation. The online retail platform, payment processing, and customer-facing services sat on separate, insulated infrastructure. Containing the breach in one zone didn't require taking down the entire business.&lt;/p&gt;

&lt;p&gt;M&amp;amp;S didn't have that luxury. Their infrastructure was more tightly coupled — legacy systems intertwined with modern services in ways that made surgical containment nearly impossible. When the ransomware spread, it hit VMware ESXi hosts supporting online shopping, distribution logistics, and in-store systems simultaneously. To stop the bleeding, M&amp;amp;S had to shut down broad swaths of their own operations — including online orders, which stayed suspended for over three weeks.&lt;/p&gt;

&lt;p&gt;The result: a company that had tripled its cybersecurity headcount and doubled its security spend in recent years still couldn't contain a breach without crippling itself. The spending was real. The architecture to make that spending effective was not.&lt;/p&gt;




&lt;h2&gt;
  
  
  The tools trap
&lt;/h2&gt;

&lt;p&gt;I have walked into organizations that own dozens of cybersecurity products — SIEM, SOAR, EDR, XDR, NDR, CSPM, CASB, email security, identity governance, privileged access management, vulnerability scanners. The list goes on. In some cases, the security team themselves couldn't explain what half the tools did, how they interconnected, or what the escalation path looked like when a particular tool flagged something.&lt;/p&gt;

&lt;p&gt;They had accumulated a security stack that looked impressive on a procurement spreadsheet but was essentially incoherent in practice.&lt;/p&gt;

&lt;p&gt;And here's the deeper problem: in those same organizations, the security team often couldn't accurately describe their own company's system architecture. They didn't fully understand which systems depended on which, where the critical data flows were, what the trust boundaries looked like, or where a lateral movement path would lead once an attacker was inside.&lt;/p&gt;

&lt;p&gt;You cannot protect what you don't understand. No amount of tooling compensates for that gap.&lt;/p&gt;

&lt;p&gt;The Co-op didn't succeed because they bought better products. They succeeded because they understood their environment deeply enough to design architecture that supported rapid, targeted response — and they had practiced using it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What actually matters
&lt;/h2&gt;

&lt;p&gt;The M&amp;amp;S and Co-op comparison isn't about one company being smarter or more careful. It's about the fact that the same attack, against two major retailers, produced completely different outcomes — and the deciding factors had almost nothing to do with the attack itself.&lt;/p&gt;

&lt;p&gt;Three questions:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can you detect it?&lt;/strong&gt; Not "do you have detection tools" — but does your team actually know what normal looks like in your environment, and can they distinguish signal from noise fast enough to matter?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can you respond effectively?&lt;/strong&gt; Not "do you have an incident response plan" — but have you rehearsed it? Under realistic conditions? With the people who will actually be in the room when it happens?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does your architecture allow you to respond without destroying your own business?&lt;/strong&gt; Not "is your network segmented on paper" — but can you actually isolate a compromised zone while keeping critical services running?&lt;/p&gt;

&lt;p&gt;These are architecture questions. Design questions. Understanding questions. They're answered before the breach happens — or not at all.&lt;/p&gt;




&lt;h2&gt;
  
  
  The harder truth
&lt;/h2&gt;

&lt;p&gt;The M&amp;amp;S breach cost hundreds of millions of dollars. It disrupted millions of customers. It dominated UK headlines for weeks.&lt;/p&gt;

&lt;p&gt;And it started with a phone call.&lt;/p&gt;

&lt;p&gt;Social engineering works because it exploits the way organizations actually operate — the help desks, the password reset workflows, the third-party support relationships that keep businesses running. You can't eliminate that attack surface entirely without eliminating the business processes themselves.&lt;/p&gt;

&lt;p&gt;What you &lt;em&gt;can&lt;/em&gt; do is make sure that when that phone call succeeds — and statistically, at some point, it will — your organization isn't betting on the attacker making a mistake. You can limit the blast radius through architecture. You can ensure your team has practiced the response. You can tune your detection to your actual environment, not a generic baseline.&lt;/p&gt;

&lt;p&gt;The Co-op proved that preparation works. M&amp;amp;S proved that spending without preparation is expensive in ways the procurement process never accounts for.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article is written for developers and engineering teams who want to understand why security tooling alone doesn't determine breach outcomes — and what actually does.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;p&gt;(&lt;a href="https://committees.parliament.uk/oralevidence/16269/pdf" rel="noopener noreferrer"&gt;https://committees.parliament.uk/oralevidence/16269/pdf&lt;/a&gt;)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://mti.com/ms-and-coop-2025-cyber-attacks-lessons-learned" rel="noopener noreferrer"&gt;MTI — M&amp;amp;S vs Co-op: How Two 2025 Cyber-Attacks Ended So Differently&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://diginomica.com/learnings-retail-cyber-attack-victims-2-how-co-operative-group-kept-lid-its-own-crisis" rel="noopener noreferrer"&gt;Diginomica — How the Co-operative Group Kept the Lid on Its Own Crisis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.iisf.ie/files/UserFiles/Cyber-technical-guides/Scattered-Spider-and-MandS-Incident_.pdf" rel="noopener noreferrer"&gt;IIFS — Scattered Spider and M&amp;amp;S Incident (PDF)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.cyber.care/insight/m-s-vs-co-op-cyber-breaches-what-their-responses-teach-us-about-handling-attacks" rel="noopener noreferrer"&gt;Cyber.care — M&amp;amp;S vs Co-op Cyber Breaches: What Their Responses Teach Us&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.zerofox.com/blog/social-engineering-attacks-costing-retailers-millions" rel="noopener noreferrer"&gt;ZeroFox — Social Engineering Attacks Costing Retailers Millions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.computerweekly.com/news/366623685/Chaos-spreads-at-Co-op-MS-following-DragonForce-attacks" rel="noopener noreferrer"&gt;Computer Weekly — Chaos Spreads at Co-op and M&amp;amp;S Following DragonForce Attacks&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>incidentresponse</category>
      <category>cybersecurity</category>
      <category>websecurity</category>
      <category>security</category>
    </item>
    <item>
      <title>Cloudflare Is Not Enough: Two Security Gaps We Still Find Behind the WAF</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 19 May 2026 12:42:01 +0000</pubDate>
      <link>https://dev.to/stanleya/cloudflare-is-not-enough-two-security-gaps-we-still-find-behind-the-waf-41g4</link>
      <guid>https://dev.to/stanleya/cloudflare-is-not-enough-two-security-gaps-we-still-find-behind-the-waf-41g4</guid>
      <description>&lt;p&gt;Most teams I speak with have Cloudflare in front of their site. That is usually a good thing — Cloudflare absorbs DDoS traffic, proxies requests, applies managed WAF rules, and makes a messy internet-facing stack much easier to operate.&lt;/p&gt;

&lt;p&gt;But one dangerous assumption often follows:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"We are behind Cloudflare, so we are protected."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is not how it works. Cloudflare only protects traffic that actually flows through Cloudflare. And even when traffic does flow through it, a WAF does not automatically fix missing authentication, exposed development environments, broken authorization, SQL injection, or business logic flaws.&lt;/p&gt;

&lt;p&gt;Here are two patterns we still find regularly during blackbox web application testing. What makes this more pressing today: with AI-assisted tooling, the reconnaissance and exploitation steps across both scenarios can be chained and executed in a matter of minutes — work that once took hours of manual effort.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The origin server is still reachable directly
&lt;/h2&gt;

&lt;p&gt;A common Cloudflare mistake is moving DNS behind the orange cloud but leaving the origin server exposed to the public internet.&lt;/p&gt;

&lt;p&gt;Attackers do not need magic to find this. They use the same passive sources defenders should already be checking:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Certificate transparency logs&lt;/span&gt;
curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s2"&gt;"https://crt.sh/?q=shop.example.com&amp;amp;output=json"&lt;/span&gt; | jq &lt;span class="s1"&gt;'.[].name_value'&lt;/span&gt; | &lt;span class="nb"&gt;sort&lt;/span&gt; &lt;span class="nt"&gt;-u&lt;/span&gt;

&lt;span class="c"&gt;# Historical DNS from SecurityTrails, DNSDB, ViewDNS, etc.&lt;/span&gt;
&lt;span class="c"&gt;# Look for old A records that pre-date the Cloudflare migration.&lt;/span&gt;

&lt;span class="c"&gt;# Shodan check once an origin candidate is found&lt;/span&gt;
shodan host &amp;lt;origin-IP&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once a candidate IP is identified, a direct request with the correct &lt;code&gt;Host&lt;/code&gt; header can confirm whether Cloudflare is being bypassed. The &lt;code&gt;-k&lt;/code&gt; flag is used here to skip certificate validation, since the origin cert may not match the hostname:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-vk&lt;/span&gt; &lt;span class="nt"&gt;--resolve&lt;/span&gt; shop.example.com:443:&amp;lt;origin-IP&amp;gt; https://shop.example.com/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response headers tell you immediately where you are. Through Cloudflare, you would expect to see its fingerprints:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;&amp;lt; Server: cloudflare
&amp;lt; CF-RAY: 7a1b2c3d4e5f6789-LHR
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Direct to origin, you might instead see:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;&amp;lt; &lt;/span&gt;&lt;span class="k"&gt;HTTP&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="m"&gt;1.1&lt;/span&gt; &lt;span class="m"&gt;200&lt;/span&gt; &lt;span class="ne"&gt;OK&lt;/span&gt;
&lt;span class="s"&gt;&amp;lt; Server: nginx/1.22.1 (Ubuntu)&lt;/span&gt;
&lt;span class="s"&gt;&amp;lt; X-Powered-By: PHP/8.1.2&lt;/span&gt;
&lt;span class="s"&gt;&amp;lt; Content-Type: text/html; charset=UTF-8&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At that point, the WAF is not in the path at all. Any exposed admin panel, forgotten upload endpoint, missing rate limit, or application bug is reachable directly.&lt;/p&gt;

&lt;p&gt;Directory discovery against the origin might look like this. The &lt;code&gt;Host&lt;/code&gt; header is required so the server routes the request correctly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffuf &lt;span class="nt"&gt;-w&lt;/span&gt; /usr/share/wordlists/dirb/common.txt &lt;span class="se"&gt;\&lt;/span&gt;
     &lt;span class="nt"&gt;-u&lt;/span&gt; https://&amp;lt;origin-IP&amp;gt;/FUZZ &lt;span class="se"&gt;\&lt;/span&gt;
     &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Host: shop.example.com"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
     &lt;span class="nt"&gt;-mc&lt;/span&gt; 200,301,302,403 &lt;span class="se"&gt;\&lt;/span&gt;
     &lt;span class="nt"&gt;-o&lt;/span&gt; results.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One recurring finding is an admin login that the team expected to be protected by Cloudflare, but is actually accessible directly on the origin. If the application also lacks login throttling, the risk compounds quickly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;for &lt;/span&gt;i &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;1..20&lt;span class="o"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="nt"&gt;-o&lt;/span&gt; /dev/null &lt;span class="nt"&gt;-w&lt;/span&gt; &lt;span class="s2"&gt;"%{http_code}&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://&amp;lt;origin-IP&amp;gt;/admin/login &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Host: shop.example.com"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s2"&gt;"username=admin&amp;amp;password=test&lt;/span&gt;&lt;span class="nv"&gt;$i&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;

&lt;span class="c"&gt;# 200&lt;/span&gt;
&lt;span class="c"&gt;# 200&lt;/span&gt;
&lt;span class="c"&gt;# 200&lt;/span&gt;
&lt;span class="c"&gt;# ...no 429, no lockout, no CAPTCHA&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important point here is not "Cloudflare failed." Cloudflare was never in the request path to begin with.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Cloudflare is in the path, but the application is still vulnerable
&lt;/h2&gt;

&lt;p&gt;The second pattern is subtler.&lt;/p&gt;

&lt;p&gt;Sometimes Cloudflare is configured correctly. Production DNS is proxied. The origin firewall only allows Cloudflare IP ranges. Direct origin access is blocked.&lt;/p&gt;

&lt;p&gt;But a development or staging subdomain is publicly reachable.&lt;/p&gt;

&lt;p&gt;A typical discovery flow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Certificate transparency enumeration&lt;/span&gt;
curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s2"&gt;"https://crt.sh/?q=%.example.com&amp;amp;output=json"&lt;/span&gt; | jq &lt;span class="s1"&gt;'.[].name_value'&lt;/span&gt; | &lt;span class="nb"&gt;sort&lt;/span&gt; &lt;span class="nt"&gt;-u&lt;/span&gt;

&lt;span class="c"&gt;# Passive multi-source subdomain discovery&lt;/span&gt;
subfinder &lt;span class="nt"&gt;-d&lt;/span&gt; example.com &lt;span class="nt"&gt;-silent&lt;/span&gt; &lt;span class="nt"&gt;-o&lt;/span&gt; subdomains.txt

&lt;span class="c"&gt;# HTTP host probing&lt;/span&gt;
ffuf &lt;span class="nt"&gt;-w&lt;/span&gt; /usr/share/wordlists/subdomains-top1million.txt &lt;span class="se"&gt;\&lt;/span&gt;
     &lt;span class="nt"&gt;-u&lt;/span&gt; https://FUZZ.example.com &lt;span class="se"&gt;\&lt;/span&gt;
     &lt;span class="nt"&gt;-mc&lt;/span&gt; 200,301,302,403 &lt;span class="se"&gt;\&lt;/span&gt;
     &lt;span class="nt"&gt;-t&lt;/span&gt; 50
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then a hostname appears:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dev.example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is orange-clouded. It resolves through Cloudflare. The origin is not directly reachable.&lt;/p&gt;

&lt;p&gt;But the dev application loads with no VPN, no basic auth, no IP allowlist, and no authentication prompt.&lt;/p&gt;

&lt;p&gt;At this point, Cloudflare is doing exactly what it was configured to do: proxy traffic to a publicly available hostname.&lt;/p&gt;

&lt;p&gt;If that dev environment has debug mode enabled, the application may leak more than intended. A deliberately malformed request:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s2"&gt;"https://dev.example.com/api/v1/accounts?account_id='"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Might return:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="k"&gt;HTTP&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="m"&gt;1.1&lt;/span&gt; &lt;span class="m"&gt;500&lt;/span&gt; &lt;span class="ne"&gt;Internal Server Error&lt;/span&gt;

Error: SQLSTATE[42000]: Syntax error or access violation near ''' at line 1
Query: SELECT * FROM users WHERE account_id = ''' AND status = 'active'
File: /var/www/dev/api/v1/accounts.php, Line 88
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That single response exposes the stack, file paths, parameter names, and the full query shape.&lt;/p&gt;

&lt;p&gt;A time-based injection check can then confirm exploitability. &lt;code&gt;SLEEP()&lt;/code&gt; is MySQL-specific; adjust accordingly for other databases:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s2"&gt;"https://dev.example.com/api/v1/accounts?account_id=1' AND SLEEP(5)-- -"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A WAF can catch some common SQL injection patterns. But it is not a replacement for parameterised queries, input validation, proper access control, and secure environment configuration. In this scenario, every request went through Cloudflare. The vulnerability still existed.&lt;/p&gt;




&lt;h2&gt;
  
  
  The shared lesson
&lt;/h2&gt;

&lt;p&gt;These are different failure modes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the first case, Cloudflare is bypassed entirely because the origin is publicly exposed.&lt;/li&gt;
&lt;li&gt;In the second case, Cloudflare is correctly in the path, but it proxies traffic into an unsafe application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both produce the same practical outcome: something sensitive is reachable from the public internet while the team assumes it is covered.&lt;/p&gt;




&lt;h2&gt;
  
  
  Checks worth running
&lt;/h2&gt;

&lt;p&gt;If you operate a Cloudflare-protected application, these are a good starting point:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Audit DNS and certificate history.&lt;/strong&gt; Check crt.sh and historical DNS sources for old origin IPs that predate the Cloudflare migration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test old origin IPs directly.&lt;/strong&gt; If any candidate still responds on port 80 or 443, investigate whether it bypasses the WAF.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Restrict origin inbound traffic.&lt;/strong&gt; Configure your origin firewall (or security group) to only accept connections from &lt;a href="https://www.cloudflare.com/ips/" rel="noopener noreferrer"&gt;Cloudflare's published IP ranges&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consider Cloudflare Tunnel.&lt;/strong&gt; Rather than exposing your origin on a public IP at all, Cloudflare Tunnel creates an outbound-only connection from your server to Cloudflare, eliminating the direct exposure problem entirely.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enumerate all DNS records, not just production.&lt;/strong&gt; Dev, staging, preview, and internal subdomains are all worth reviewing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Protect non-production environments.&lt;/strong&gt; Put dev and staging behind VPN, an IP allowlist, or at minimum HTTP basic auth. None of these should be open to the public internet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Disable debug mode outside controlled environments.&lt;/strong&gt; Verbose error output is a significant information leak.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rotate or audit exposed secrets.&lt;/strong&gt; Dev environments often contain API keys, database credentials, or internal service URLs in error output or config endpoints. Treat any exposure as a potential leak.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test application logic directly.&lt;/strong&gt; IDOR, broken access control, SQL injection, authentication flows, and exposed admin paths all require application-layer testing that a WAF cannot perform for you.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Cloudflare is a genuinely useful tool. WAFs are worth having.&lt;/p&gt;

&lt;p&gt;But neither tells you what is actually reachable on your infrastructure, nor how your application behaves once an attacker gets there. That requires knowing your own attack surface — and testing it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://wardenbit.com/free-security-snapshot.html?utm_source=devto&amp;amp;utm_medium=syndication&amp;amp;utm_campaign=cloudflare_waf_repost&amp;amp;utm_content=devto_article_cta" rel="noopener noreferrer"&gt;WardenBit&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>pentest</category>
      <category>ai</category>
    </item>
    <item>
      <title>What a Free Security Snapshot Can Tell You — and What It Cannot</title>
      <dc:creator>Stanley A.</dc:creator>
      <pubDate>Tue, 12 May 2026 13:02:00 +0000</pubDate>
      <link>https://dev.to/stanleya/what-a-free-security-snapshot-can-tell-you-and-what-it-cannot-341p</link>
      <guid>https://dev.to/stanleya/what-a-free-security-snapshot-can-tell-you-and-what-it-cannot-341p</guid>
      <description>&lt;h1&gt;
  
  
  What a Free Security Snapshot Can Tell You — and What It Cannot
&lt;/h1&gt;

&lt;p&gt;Most small teams know their security posture needs attention. The harder question is: where do you actually start?&lt;/p&gt;

&lt;p&gt;Do you run an automated scanner? Ask someone for a penetration test? Wait until a customer asks for evidence? Security work is easy to defer — until something breaks.&lt;/p&gt;

&lt;p&gt;For early-stage products, ecommerce sites, web apps, APIs, and customer portals, a lightweight external security snapshot can be a sensible first step. But only if you are clear about what it is — and what it is not.&lt;/p&gt;

&lt;p&gt;This article explains the difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: security is often framed as all-or-nothing
&lt;/h2&gt;

&lt;p&gt;Security work tends to get presented as either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;run a quick automated scan, or&lt;/li&gt;
&lt;li&gt;commission a full penetration test.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both have a place, but they solve different problems. An automated scan highlights obvious issues fast. A full penetration test provides deeper validation, manual testing, and formal reporting. But many small teams need something in between: initial visibility into externally visible risk, reviewed by a human, without the cost or scope of a full audit.&lt;/p&gt;

&lt;p&gt;That is the space a security snapshot is meant to fill.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a security snapshot?
&lt;/h2&gt;

&lt;p&gt;A security snapshot is a focused, limited review of what can be observed from the outside.&lt;/p&gt;

&lt;p&gt;It is designed to answer questions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is anything obviously exposed that should not be?&lt;/li&gt;
&lt;li&gt;Are there visible configuration issues?&lt;/li&gt;
&lt;li&gt;Are important security headers missing or misconfigured?&lt;/li&gt;
&lt;li&gt;Are login, form, or public application surfaces presenting avoidable risk?&lt;/li&gt;
&lt;li&gt;Are there signs that a deeper assessment would be worthwhile?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A good snapshot should be explicit about its scope. It should not claim to test everything. It should not imply the system is secure just because no obvious issue was found.&lt;/p&gt;

&lt;p&gt;Think of it as an initial external visibility check — not a certificate of security.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a snapshot can be useful for
&lt;/h2&gt;

&lt;p&gt;A lightweight external review is valuable when a team wants a fast, practical picture of their public-facing exposure.&lt;/p&gt;

&lt;p&gt;It can help with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;identifying low-hanging external issues&lt;/li&gt;
&lt;li&gt;catching obvious configuration weaknesses&lt;/li&gt;
&lt;li&gt;reviewing public web app or API surfaces at a high level&lt;/li&gt;
&lt;li&gt;finding signs of missing security basics&lt;/li&gt;
&lt;li&gt;deciding whether a deeper penetration test is justified&lt;/li&gt;
&lt;li&gt;giving non-security stakeholders a clearer starting point&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, a snapshot might surface missing browser security headers, exposed staging paths, suspicious public files, weak transport security settings, verbose error behavior, or risky third-party script exposure.&lt;/p&gt;

&lt;p&gt;These findings do not require exploit-heavy testing to be useful. Sometimes the most valuable early output is simply: "Here are the visible issues worth fixing before customers, attackers, or procurement teams notice them."&lt;/p&gt;

&lt;h2&gt;
  
  
  What a snapshot cannot tell you
&lt;/h2&gt;

&lt;p&gt;This is the part that matters most.&lt;/p&gt;

&lt;p&gt;A security snapshot is not a full penetration test. It typically does not include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;authenticated testing across user roles&lt;/li&gt;
&lt;li&gt;business logic testing&lt;/li&gt;
&lt;li&gt;deep API authorization review&lt;/li&gt;
&lt;li&gt;source code review&lt;/li&gt;
&lt;li&gt;exploit chaining&lt;/li&gt;
&lt;li&gt;cloud account or internal network testing&lt;/li&gt;
&lt;li&gt;compliance certification&lt;/li&gt;
&lt;li&gt;exhaustive coverage of every feature&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also cannot prove that an application is secure. Security is not binary. A limited external review reduces uncertainty — it does not eliminate it.&lt;/p&gt;

&lt;p&gt;If a vendor, consultant, or tool claims a short external check makes your product "secure," treat that as a red flag.&lt;/p&gt;

&lt;h2&gt;
  
  
  Snapshot vs. vulnerability scan vs. penetration test
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Automated Scan&lt;/th&gt;
&lt;th&gt;Security Snapshot&lt;/th&gt;
&lt;th&gt;Penetration Test&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Speed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Fast&lt;/td&gt;
&lt;td&gt;Fast to moderate&lt;/td&gt;
&lt;td&gt;Slower, scoped upfront&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Depth&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Surface-level&lt;/td&gt;
&lt;td&gt;External-facing&lt;/td&gt;
&lt;td&gt;Broad and deep&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Human review&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Minimal&lt;/td&gt;
&lt;td&gt;Yes, typically&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Authenticated testing&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Rarely&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Business logic&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Formal report&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Basic&lt;/td&gt;
&lt;td&gt;Summary&lt;/td&gt;
&lt;td&gt;Detailed, evidenced&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Best for&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Quick repeatable checks&lt;/td&gt;
&lt;td&gt;Triage and readiness&lt;/td&gt;
&lt;td&gt;Customer assurance, sensitive apps&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The right choice depends on what you need to prove. A snapshot is a reasonable starting point for many small teams. A properly scoped penetration test is more appropriate when customers need formal assurance, or when your application handles sensitive workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why developers should care about the boundaries
&lt;/h2&gt;

&lt;p&gt;Developers are often the people who have to fix the findings, explain the trade-offs, and prioritize work against product deadlines.&lt;/p&gt;

&lt;p&gt;Clear scope protects everyone.&lt;/p&gt;

&lt;p&gt;If a snapshot says "this endpoint appears externally exposed," that is useful. If it claims "your API authorization model is safe" without authenticated role testing, that is misleading.&lt;/p&gt;

&lt;p&gt;If a scan reports a missing header, that may be a quick fix. If a penetration test finds an authorization flaw between tenant accounts, that requires deeper engineering attention.&lt;/p&gt;

&lt;p&gt;Knowing the difference helps teams avoid both overreaction and false confidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Good questions to ask before any review
&lt;/h2&gt;

&lt;p&gt;Before requesting any kind of security assessment, ask:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What exactly is in scope?&lt;/li&gt;
&lt;li&gt;Is testing external-only or authenticated?&lt;/li&gt;
&lt;li&gt;Will the reviewer attempt exploitation, or only passive and low-impact checks?&lt;/li&gt;
&lt;li&gt;How will findings be validated?&lt;/li&gt;
&lt;li&gt;What evidence will be included in the report?&lt;/li&gt;
&lt;li&gt;What is explicitly out of scope?&lt;/li&gt;
&lt;li&gt;What should not be submitted — passwords, secrets, customer data?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For small teams, these questions are often more important than the label attached to the service.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical way to use a snapshot
&lt;/h2&gt;

&lt;p&gt;The best use of a lightweight snapshot is not to treat it as the final answer. Use it as a starting point:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Identify obvious external weaknesses&lt;/li&gt;
&lt;li&gt;Fix what can be fixed quickly&lt;/li&gt;
&lt;li&gt;Decide whether deeper testing is needed&lt;/li&gt;
&lt;li&gt;Prepare for a paid assessment if the risk level justifies it&lt;/li&gt;
&lt;li&gt;Improve the quality of evidence you can show customers or partners&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This turns a snapshot into a first step toward better security posture — not a substitute for proper security work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final takeaway
&lt;/h2&gt;

&lt;p&gt;A security snapshot is useful when it is honest about its limits.&lt;/p&gt;

&lt;p&gt;It can show you what is visible from the outside, highlight avoidable exposure, and help you prioritize the next step. It should not be confused with a full penetration test, a compliance audit, or any kind of security guarantee.&lt;/p&gt;

&lt;p&gt;For developers and small teams, that clarity is the real value.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;If you want to see what a snapshot looks like in practice, WardenBit is running a limited Free Security Snapshot for selected public-facing websites, web apps, APIs, and ecommerce sites. It is a focused external review — not a free penetration test.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Apply here: &lt;a href="https://wardenbit.com/free-security-snapshot.html?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=free_security_snapshot_launch&amp;amp;utm_content=educational_snapshot_limits" rel="noopener noreferrer"&gt;wardenbit.com/free-security-snapshot&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>cybersecurity</category>
      <category>appsec</category>
    </item>
  </channel>
</rss>
