<?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: KittenLabs</title>
    <description>The latest articles on DEV Community by KittenLabs (@kittenlabs).</description>
    <link>https://dev.to/kittenlabs</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%2F4265606%2F607d8097-f505-4e19-9efc-1e63514b188e.png</url>
      <title>DEV Community: KittenLabs</title>
      <link>https://dev.to/kittenlabs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kittenlabs"/>
    <language>en</language>
    <item>
      <title>Why Standard PDF Taggers Turn LaTeX Matrices Into Gibberish (and 4 Math TTS Traps)</title>
      <dc:creator>KittenLabs</dc:creator>
      <pubDate>Fri, 27 Nov 2026 08:09:35 +0000</pubDate>
      <link>https://dev.to/kittenlabs/why-standard-pdf-taggers-turn-latex-matrices-into-gibberish-and-4-math-tts-traps-1k9c</link>
      <guid>https://dev.to/kittenlabs/why-standard-pdf-taggers-turn-latex-matrices-into-gibberish-and-4-math-tts-traps-1k9c</guid>
      <description>&lt;p&gt;With ADA Title II (WCAG 2.1 AA) deadlines coming up for U.S. public universities, most accessibility discussions focus on web pages and body text. In math, physics, and engineering departments, the real bottleneck is legacy lecture PDFs: compiled LaTeX where the &lt;code&gt;.tex&lt;/code&gt; source is long gone, old Word/MathType exams, and scanned handwritten notes.&lt;/p&gt;

&lt;p&gt;Even when a campus runs standard PDF auto-taggers over those handouts, the output often looks fine visually while completely breaking for screen-reader users.&lt;/p&gt;

&lt;p&gt;Here are the failure modes we kept hitting while building &lt;a href="https://eqscribe.netlify.app/" rel="noopener noreferrer"&gt;EqScribe&lt;/a&gt; and testing real open STEM courseware (OpenStax CC BY 4.0 chapters, multivariable calculus handouts, and a 0-text-layer 1903 handwritten page from Srinivasa Ramanujan's notebook).&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Matrices flatten into unreadable number soup
&lt;/h2&gt;

&lt;p&gt;In a compiled STEM PDF, a 3x3 matrix is usually positioned by raw &lt;code&gt;(x, y)&lt;/code&gt; coordinates with custom font glyphs for the large brackets. When a standard PDF reader extracts text from OpenStax &lt;em&gt;College Algebra&lt;/em&gt;, a clean 3x3 matrix comes out like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[PUA-E030] 0 2 1 3 -1 1 4 0 1 [PUA-E032]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Rows disappear, column boundaries vanish, and custom font brackets turn into Private Use Area garbage. Rebuilding the equation as semantic &lt;strong&gt;MathML3&lt;/strong&gt; (&lt;code&gt;&amp;lt;mtable&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;mtr&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;mtd&amp;gt;&lt;/code&gt;) lets NVDA + MathCAT, JAWS, and VoiceOver navigate cell by cell and announce rows clearly:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"A, equals the 3 by 3 matrix, Row 1: 0, 2, 1; Row 2: 3, negative 1, 1; Row 3: 4, 0, 1."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  2. Definite integral bounds, binomials, and transposes get misread structurally
&lt;/h2&gt;

&lt;p&gt;Three classic 2D math traps show up constantly in calculus, linear algebra, and probability handouts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Evaluation brackets&lt;/strong&gt;: &lt;code&gt;[\frac{1}{2}\sin(2\theta)]_0^{\pi/4}&lt;/code&gt; frequently gets misparsed as an exponent or a malformed matrix instead of &lt;em&gt;"evaluated from 0 to pi over 4"&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Binomial coefficients&lt;/strong&gt;: &lt;code&gt;\binom{n}{k}&lt;/code&gt; often falls through default math speech engines as &lt;em&gt;"the 2 by 1 column matrix, n, k"&lt;/em&gt; instead of &lt;em&gt;"n choose k"&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transposes and inverses&lt;/strong&gt;: &lt;code&gt;M^{\top}&lt;/code&gt; can come out literally as &lt;em&gt;"M raised to the normal down tack power"&lt;/em&gt;, and &lt;code&gt;f^{-1}(x)&lt;/code&gt; as &lt;em&gt;"f to the negative 1 power times x"&lt;/em&gt; instead of &lt;em&gt;"M transpose"&lt;/em&gt; and &lt;em&gt;"f inverse of x"&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Five subtle English TTS traps that quietly corrupt spoken math
&lt;/h2&gt;

&lt;p&gt;Even after you get clean MathML and ClearSpeak speech text, standard English text-to-speech engines make surprisingly bad assumptions on math terms:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Variable &lt;code&gt;a&lt;/code&gt; turns into schwa &lt;code&gt;"uh"&lt;/code&gt;&lt;/strong&gt;: &lt;code&gt;"equals pi a b"&lt;/code&gt; gets spoken like an English article (&lt;code&gt;"pi uh b"&lt;/code&gt;), while real English articles (&lt;code&gt;"a repulsive force"&lt;/code&gt;) should stay unstressed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;close bracket&lt;/code&gt; gets read as an adjective&lt;/strong&gt;: English TTS frequently chooses &lt;code&gt;/kloʊs/&lt;/code&gt; ("near") instead of the verb &lt;code&gt;/kloʊz/&lt;/code&gt; ("shut") before &lt;code&gt;"bracket"&lt;/code&gt;, &lt;code&gt;"paren"&lt;/code&gt;, &lt;code&gt;"brace"&lt;/code&gt;, or &lt;code&gt;"vertical bar"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Coordinate &lt;code&gt;axes&lt;/code&gt; turns into woodcutting axes&lt;/strong&gt;: &lt;code&gt;/ˈæksᵻz/&lt;/code&gt; instead of &lt;code&gt;/ˈæksiːz/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mixed-case physics pairs collapse&lt;/strong&gt;: &lt;code&gt;q Q&lt;/code&gt; or &lt;code&gt;m M&lt;/code&gt; (like Coulomb's law or Newton's gravitation) sound identical aloud unless explicitly spoken as &lt;code&gt;"small q, capital Q"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Math nouns read as verbs&lt;/strong&gt;: &lt;code&gt;"alpha conjugate"&lt;/code&gt; often gets pronounced with verb stress (&lt;code&gt;kon-joo-GATE&lt;/code&gt;) instead of the mathematical noun (&lt;code&gt;kon-joo-git&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  4. What automation still should NOT pretend to solve
&lt;/h2&gt;

&lt;p&gt;Automated pipelines can reliably produce verifiable &lt;strong&gt;HTML5 + MathML3&lt;/strong&gt;, &lt;strong&gt;EPUB 3.3&lt;/strong&gt;, and &lt;strong&gt;Tagged ISO 14289-1 PDF/UA-1&lt;/strong&gt; (backed by unaltered &lt;code&gt;veraPDF&lt;/code&gt;, &lt;code&gt;EPUBCheck&lt;/code&gt;, and &lt;code&gt;axe-core&lt;/code&gt; reports), plus a &lt;strong&gt;browser-based Side-by-Side Audio QA Sheet&lt;/strong&gt; so sighted instructors or TAs can spot-check flagged equations next to original PDF crops without installing NVDA or JAWS.&lt;/p&gt;

&lt;p&gt;Where automation stops is &lt;strong&gt;spatial diagrams&lt;/strong&gt;: circuit schematics, free-body force diagrams, and 3D plots. Guessing alt text on those risks feeding wrong physics to a blind student. The honest approach is flagging every spatial figure explicitly for human alt-text or tactile graphics review.&lt;/p&gt;




&lt;p&gt;We put four open, commercial-safe sample packets online (including a genuine 1903 handwritten Ramanujan page with zero text layer) at &lt;strong&gt;&lt;a href="https://eqscribe.netlify.app/" rel="noopener noreferrer"&gt;https://eqscribe.netlify.app/&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you work with LaTeX, MathML, or higher-ed accessibility and have seen other tricky notation patterns break in screen readers, we would love to hear about them in the comments.&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>latex</category>
      <category>math</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Why We Built a Slack Approval App with Only 3 OAuth Scopes (and Zero Per-Seat Pricing)</title>
      <dc:creator>KittenLabs</dc:creator>
      <pubDate>Fri, 27 Nov 2026 06:56:59 +0000</pubDate>
      <link>https://dev.to/kittenlabs/why-we-built-a-slack-approval-app-with-only-3-oauth-scopes-and-zero-per-seat-pricing-4le1</link>
      <guid>https://dev.to/kittenlabs/why-we-built-a-slack-approval-app-with-only-3-oauth-scopes-and-zero-per-seat-pricing-4le1</guid>
      <description>&lt;p&gt;Most Slack approval apps ask for &lt;code&gt;users:read&lt;/code&gt;, &lt;code&gt;channels:history&lt;/code&gt;, &lt;code&gt;groups:history&lt;/code&gt;—and then bill &lt;strong&gt;$4–$10 per workspace seat per month&lt;/strong&gt;. For a 50-person team where most employees only request or click &lt;code&gt;[Approve]&lt;/code&gt; twice a quarter, that's $200–$500/month just to log structured sign-offs.&lt;/p&gt;

&lt;p&gt;When we built &lt;strong&gt;&lt;a href="https://approveflat.kittenlabs-hq.workers.dev/" rel="noopener noreferrer"&gt;ApproveFlat&lt;/a&gt;&lt;/strong&gt; on Cloudflare Workers + D1, we asked two questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What is the &lt;strong&gt;strict minimum&lt;/strong&gt; Slack OAuth scope set needed for native &lt;code&gt;/approve&lt;/code&gt; workflows?&lt;/li&gt;
&lt;li&gt;How do we make approvals auditable enough for finance and SOC2 exports without bloating the permissions?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is what we learned shipping to Slack's 2026 Marketplace security bar.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why 3 Bot Scopes Are Enough
&lt;/h2&gt;

&lt;p&gt;When you trace a native Slack slash-command approval flow end to end, you only need &lt;strong&gt;3 bot scopes&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;commands&lt;/code&gt;&lt;/strong&gt; — Receives &lt;code&gt;/approve&lt;/code&gt; and &lt;code&gt;/approve-log&lt;/code&gt; payloads, which already include &lt;code&gt;team_id&lt;/code&gt;, &lt;code&gt;channel_id&lt;/code&gt;, &lt;code&gt;user_id&lt;/code&gt;, &lt;code&gt;user_name&lt;/code&gt;, and &lt;code&gt;trigger_id&lt;/code&gt;. You don't need &lt;code&gt;users:read&lt;/code&gt; just to know who submitted a request or who clicked a button.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;chat:write&lt;/code&gt;&lt;/strong&gt; — Posts the interactive Block Kit Approval Card (&lt;code&gt;[Approve]&lt;/code&gt;, &lt;code&gt;[Reject]&lt;/code&gt;, &lt;code&gt;[Ask Question]&lt;/code&gt;) and calls &lt;code&gt;chat.update&lt;/code&gt; to lock the card in place once decided.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;im:write&lt;/code&gt;&lt;/strong&gt; — Handles the classic private-channel edge case cleanly: if a user runs &lt;code&gt;/approve&lt;/code&gt; inside a private channel where &lt;code&gt;@ApproveFlat&lt;/code&gt; hasn't been invited (&lt;code&gt;not_in_channel&lt;/code&gt;), the Worker automatically calls &lt;code&gt;conversations.open&lt;/code&gt; and delivers the card directly to the designated approver via DM—zero &lt;code&gt;channels:join&lt;/code&gt; or &lt;code&gt;groups:history&lt;/code&gt; required.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  4 Edge Cases Every Slack Approval App Hits in Production
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Request Signing &amp;amp; 5-Minute Anti-Replay (Web Crypto)
&lt;/h3&gt;

&lt;p&gt;Every &lt;code&gt;POST /slack/commands&lt;/code&gt;, &lt;code&gt;/slack/interactions&lt;/code&gt;, and &lt;code&gt;/slack/events&lt;/code&gt; request must verify &lt;code&gt;X-Slack-Signature&lt;/code&gt; (&lt;code&gt;v0=&amp;lt;hex&amp;gt;&lt;/code&gt;) against &lt;code&gt;v0:${timestamp}:${rawBody}&lt;/code&gt; using HMAC-SHA256 and reject timestamps outside a ±300-second window. Always compare signatures in constant time instead of &lt;code&gt;===&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Double-Click Duplicate Audit Rows
&lt;/h3&gt;

&lt;p&gt;Users routinely double-click &lt;code&gt;[Approve]&lt;/code&gt; on flaky Wi-Fi. If you check &lt;code&gt;status === 'pending'&lt;/code&gt; in application memory and then run an &lt;code&gt;UPDATE&lt;/code&gt;, two concurrent Worker invocations can both pass the check and write duplicate &lt;code&gt;APPROVED&lt;/code&gt; audit records.&lt;/p&gt;

&lt;p&gt;Instead, enforce atomicity directly in SQLite / Cloudflare D1:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;UPDATE&lt;/span&gt; &lt;span class="n"&gt;approval_requests&lt;/span&gt;
&lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;decided_by&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;decided_by_name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;decided_at&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;decision_note&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;updated_at&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;team_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'pending'&lt;/span&gt;
&lt;span class="k"&gt;RETURNING&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Only the winning click receives a returned row, appends the &lt;code&gt;APPROVED&lt;/code&gt;/&lt;code&gt;REJECTED&lt;/code&gt; audit entry, and calls &lt;code&gt;chat.update&lt;/code&gt; to strip all action buttons. The losing click gets a clean ephemeral message (&lt;code&gt;Already approved by @...&lt;/code&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Tamper-Evident Audit Logs &amp;amp; Formula-Safe CSV Exports
&lt;/h3&gt;

&lt;p&gt;Finance and compliance reviewers open exported CSVs straight in Excel or Google Sheets. Two subtle details matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hash-chained ledger&lt;/strong&gt;: Each audit event (&lt;code&gt;CREATED&lt;/code&gt;, &lt;code&gt;QUESTION&lt;/code&gt;, &lt;code&gt;APPROVED&lt;/code&gt;, &lt;code&gt;REJECTED&lt;/code&gt;) stores &lt;code&gt;prev_hash&lt;/code&gt; (starting from &lt;code&gt;GENESIS&lt;/code&gt;) and &lt;code&gt;entry_hash = SHA-256(prev_hash || team_id || request_id || seq || action || actor_id || note || timestamp_utc)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSV formula injection defense&lt;/strong&gt;: Any user-supplied request title or note beginning with &lt;code&gt;=&lt;/code&gt;, &lt;code&gt;+&lt;/code&gt;, &lt;code&gt;-&lt;/code&gt;, &lt;code&gt;@&lt;/code&gt;, &lt;code&gt;\t&lt;/code&gt;, or &lt;code&gt;\r&lt;/code&gt; is prefixed with &lt;code&gt;'&lt;/code&gt; before RFC 4180 quoting so spreadsheets never execute it as a formula.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Short-lived signed download links&lt;/strong&gt;: &lt;code&gt;/approve-log&lt;/code&gt; returns an ephemeral Block Kit summary plus a 15-minute HMAC-signed CSV download URL.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Encrypted Bot Tokens &amp;amp; Instant Uninstall Scrubbing
&lt;/h3&gt;

&lt;p&gt;Workspace bot tokens are encrypted at rest with Web Crypto &lt;code&gt;AES-256-GCM&lt;/code&gt; (&lt;code&gt;enc:v1:&amp;lt;iv&amp;gt;:&amp;lt;ciphertext&amp;gt;&lt;/code&gt;) before writing to D1, and subscribed to &lt;code&gt;app_uninstalled&lt;/code&gt; and &lt;code&gt;tokens_revoked&lt;/code&gt; events so uninstalling immediately scrubs stored tokens.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try the Interactive Block Kit Simulator (No Install Needed)
&lt;/h2&gt;

&lt;p&gt;We put a live browser Block Kit approval simulator (including unauthorized-click testing, live hash-chained audit ledger, and a per-seat cost calculator) right on the homepage:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://approveflat.kittenlabs-hq.workers.dev/" rel="noopener noreferrer"&gt;https://approveflat.kittenlabs-hq.workers.dev/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Free forever&lt;/strong&gt; up to 25 approvals/month with &lt;strong&gt;unlimited workspace users&lt;/strong&gt; (no credit card).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$19/month flat per workspace&lt;/strong&gt; for unlimited approvals and unlimited seats.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you've built Slack apps for Marketplace review or run approval workflows in Slack, I'd love feedback on the Block Kit UX and what audit fields your finance/compliance team expects!&lt;/p&gt;

</description>
      <category>slack</category>
      <category>cloudflare</category>
      <category>security</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I Audited Legacy asyncLoad() ScriptTags on $100M+ Shopify Plus Stores Ahead of March 1, 2027</title>
      <dc:creator>KittenLabs</dc:creator>
      <pubDate>Wed, 25 Nov 2026 22:45:23 +0000</pubDate>
      <link>https://dev.to/kittenlabs/i-audited-legacy-asyncload-scripttags-on-100m-shopify-plus-stores-ahead-of-march-1-2027-391o</link>
      <guid>https://dev.to/kittenlabs/i-audited-legacy-asyncload-scripttags-on-100m-shopify-plus-stores-ahead-of-march-1-2027-391o</guid>
      <description>&lt;p&gt;Shopify froze &lt;code&gt;scriptTagCreate&lt;/code&gt; and &lt;code&gt;scriptTagUpdate&lt;/code&gt; across all API versions on &lt;strong&gt;October 1, 2026&lt;/strong&gt;, ahead of the &lt;strong&gt;March 1, 2027&lt;/strong&gt; cutoff when legacy ScriptTag injection stops on storefronts altogether.&lt;/p&gt;

&lt;p&gt;I assumed most large Shopify Plus brands had already moved everything onto Online Store 2.0 &lt;strong&gt;Theme App Embeds&lt;/strong&gt; and the sandboxed &lt;strong&gt;Web Pixels API&lt;/strong&gt;. To verify, I inspected the public storefront HTML of several well-known Shopify Plus stores.&lt;/p&gt;

&lt;p&gt;The results were surprisingly eye-opening.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Still Live Inside &lt;code&gt;asyncLoad()&lt;/code&gt; Today
&lt;/h2&gt;

&lt;p&gt;Whenever a Shopify store still relies on a legacy ScriptTag installation, Shopify outputs a script block containing &lt;code&gt;function asyncLoad() { ... var urls = [...]; }&lt;/code&gt; right in the public storefront HTML.&lt;/p&gt;

&lt;p&gt;Here is what showed up in live public HTML scans of three major Shopify Plus stores:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Storefront&lt;/th&gt;
&lt;th&gt;Legacy ScriptTags Found&lt;/th&gt;
&lt;th&gt;Identified Apps &amp;amp; CDN Hosts&lt;/th&gt;
&lt;th&gt;Required Migration Path&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;deathwishcoffee.com&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;7&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;GovX ID (&lt;code&gt;id-shop.govx.com&lt;/code&gt;), NoFraud (&lt;code&gt;services.nofraud.com&lt;/code&gt;), Smile.io (&lt;code&gt;js.smile.io&lt;/code&gt;), Bazaarvoice (&lt;code&gt;apps.bazaarvoice.com&lt;/code&gt; via Shopify CDN proxy), Gorgias (&lt;code&gt;config.gorgias.chat&lt;/code&gt;), GRIN (&lt;code&gt;media.9gtb.com&lt;/code&gt;), Monocle (&lt;code&gt;cdn.usemonocle.com&lt;/code&gt; via proxy)&lt;/td&gt;
&lt;td&gt;Theme App Embed / App Blocks / Web Pixels API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;brooklinen.com&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;3&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Yofi Bot Protection (&lt;code&gt;static-resources.botnot.io&lt;/code&gt;), Attentive (&lt;code&gt;cdn.attn.tv&lt;/code&gt;), Fomo (&lt;code&gt;load.usefomo.com&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Theme App Embed + Web Pixels API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;allbirds.com&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;GovX ID (&lt;code&gt;id-shop.govx.com&lt;/code&gt;), Attentive (&lt;code&gt;cdn.attn.tv&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Theme App Embed + Web Pixels API&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Notice two things engineers frequently miss when auditing manually:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Opaque CDN domains hide the vendor name:&lt;/strong&gt; Seeing &lt;code&gt;static-resources.botnot.io&lt;/code&gt; or &lt;code&gt;media.9gtb.com&lt;/code&gt; in View Page Source does not immediately tell a theme developer whether it is Yofi Bot Protection, GRIN creator attribution, or an abandoned widget.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shopify CDN proxy wrapping:&lt;/strong&gt; Some legacy ScriptTags are served through &lt;code&gt;cdn.shopify.com/proxy/&amp;lt;hash&amp;gt;/&amp;lt;upstream-host&amp;gt;/...&lt;/code&gt; (for example, Monocle's URL includes &lt;code&gt;?loading_source=script_tag/&lt;/code&gt;). A naive hostname check only sees &lt;code&gt;cdn.shopify.com&lt;/code&gt; unless you unwrap the &lt;code&gt;/proxy/&amp;lt;hash&amp;gt;/&lt;/code&gt; segment.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to Check Any Shopify Store Manually in 20 Seconds
&lt;/h2&gt;

&lt;p&gt;You do not need Shopify Admin access or OAuth to check whether a live theme still loads legacy ScriptTags:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open your storefront homepage in an incognito browser tab.&lt;/li&gt;
&lt;li&gt;Open &lt;strong&gt;View Page Source&lt;/strong&gt; (&lt;code&gt;Ctrl+U&lt;/code&gt; / &lt;code&gt;Cmd+Option+U&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Search (&lt;code&gt;Ctrl+F&lt;/code&gt;) for &lt;code&gt;function asyncLoad()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Inspect the &lt;code&gt;var urls = [...]&lt;/code&gt; array immediately below it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every URL inside that array is a legacy ScriptTag. Modern Online Store 2.0 &lt;strong&gt;Theme App Embeds&lt;/strong&gt;, &lt;strong&gt;App Blocks&lt;/strong&gt;, and &lt;strong&gt;Web Pixels&lt;/strong&gt; do &lt;em&gt;not&lt;/em&gt; appear there.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Regex + Unescaping Catch
&lt;/h2&gt;

&lt;p&gt;If you are automating this check across 10-50 client stores as an agency, remember that Shopify escapes forward slashes (&lt;code&gt;\/&lt;/code&gt;) and ampersands (&lt;code&gt;\u0026&lt;/code&gt;) inside &lt;code&gt;var urls = [...]&lt;/code&gt;:&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="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;extractAsyncLoadUrls&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;match&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;match&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;asyncLoad&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;\&lt;span class="p"&gt;(&lt;/span&gt;\&lt;span class="p"&gt;)&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;\&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;\&lt;span class="no"&gt;S&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*?&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;urls&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*=&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;\&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;\&lt;span class="no"&gt;S&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="p"&gt;)&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="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;match&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&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="n"&gt;match&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="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;u&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;u&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;startsWith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"//"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="sb"&gt;`https:${u}`&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;u&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And if you wrap this inside a public API endpoint, make sure you harden it against SSRF:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Allow only public &lt;code&gt;http:&lt;/code&gt; / &lt;code&gt;https:&lt;/code&gt; schemes and standard ports (&lt;code&gt;80&lt;/code&gt;/&lt;code&gt;443&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Reject IP literals, &lt;code&gt;localhost&lt;/code&gt;, &lt;code&gt;.internal&lt;/code&gt;, and RFC1918 / &lt;code&gt;169.254.169.254&lt;/code&gt; ranges.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;redirect: "manual"&lt;/code&gt; and re-validate every redirect hop (max 5 hops).&lt;/li&gt;
&lt;li&gt;Enforce an &lt;code&gt;AbortController&lt;/code&gt; timeout (e.g. 8s) and cap streamed HTML reading (e.g. 1.5 MB).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Bigger Hidden Risk: Abandoned Legacy Apps
&lt;/h2&gt;

&lt;p&gt;Active vendors like Smile.io, Attentive, Klaviyo, Gorgias, and NoFraud already provide OS 2.0 App Embeds or Web Pixels, so merchants can switch over and retire the legacy ScriptTag.&lt;/p&gt;

&lt;p&gt;The real landmine is &lt;strong&gt;abandoned legacy apps&lt;/strong&gt; that may never ship an OS 2.0 update. One concrete example we documented is &lt;strong&gt;ESC Size Charts&lt;/strong&gt; (&lt;code&gt;sizeguides.eastsideco.io&lt;/code&gt;): recent Shopify App Store reviews report months of broken behavior and unresponsive support while the listing still requests legacy ScriptTag permissions. Stores relying on abandoned apps need to replace them (for example, with native Shopify Metaobjects + an OS 2.0 collapsible row block, or an actively maintained App Block alternative) well before March 1, 2027.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free Zero-Login Scanner &amp;amp; Migration Checklists
&lt;/h2&gt;

&lt;p&gt;To save merchants and agencies from manually decoding &lt;code&gt;asyncLoad()&lt;/code&gt; arrays across every client storefront, I built &lt;strong&gt;ScriptTagAudit&lt;/strong&gt; on Cloudflare Workers (read-only public HTML scan, zero login, ~200ms latency, 115+ Shopify app CDN signatures mapped to Theme App Embed vs Web Pixels API checklists):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Scanner:&lt;/strong&gt; &lt;a href="https://scripttag-audit.kittenlabs-hq.workers.dev" rel="noopener noreferrer"&gt;https://scripttag-audit.kittenlabs-hq.workers.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ESC Size Charts Replacement Guide:&lt;/strong&gt; &lt;a href="https://scripttag-audit.kittenlabs-hq.workers.dev/apps/esc-size-charts" rel="noopener noreferrer"&gt;https://scripttag-audit.kittenlabs-hq.workers.dev/apps/esc-size-charts&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Popular Migration Guides:&lt;/strong&gt; &lt;a href="https://scripttag-audit.kittenlabs-hq.workers.dev/apps/smile-io" rel="noopener noreferrer"&gt;Smile.io&lt;/a&gt; | &lt;a href="https://scripttag-audit.kittenlabs-hq.workers.dev/apps/attentive-sms" rel="noopener noreferrer"&gt;Attentive&lt;/a&gt; | &lt;a href="https://scripttag-audit.kittenlabs-hq.workers.dev/apps/govx-id" rel="noopener noreferrer"&gt;GovX ID&lt;/a&gt; | &lt;a href="https://scripttag-audit.kittenlabs-hq.workers.dev/apps/klaviyo" rel="noopener noreferrer"&gt;Klaviyo&lt;/a&gt; | &lt;a href="https://scripttag-audit.kittenlabs-hq.workers.dev/apps/nofraud" rel="noopener noreferrer"&gt;NoFraud&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your store surfaces an unclassified CDN domain inside &lt;code&gt;asyncLoad()&lt;/code&gt;, feel free to drop the hostname in the comments and I will add its signature and migration checklist to the database.&lt;/p&gt;

</description>
      <category>shopify</category>
      <category>webdev</category>
      <category>ecommerce</category>
      <category>cloudflare</category>
    </item>
  </channel>
</rss>
