cd /news/ai-tools/we-pointed-our-own-security-scanner-… Β· home β€Ί topics β€Ί ai-tools β€Ί article
[ARTICLE Β· art-175456] src=argus-cyberwatch.space β†— pub= topic=ai-tools verified=true sentiment=↓ negative

We pointed our own security scanner at our own app and got wrecked

A team that built its own read-only security scanner found its live app stranger-chat.online shipping predictable session tokens via a Math.random() fallback in tracker.js and a cleartext mail login, and is now launching Argus, a tool that reads a homepage and its linked JavaScript to report exposed secrets with the exact request to reproduce each finding. The team cited documented 2025–26 incidents including the Moltbook leak, traced to one client-side Supabase key that exposed roughly 1.5 million API tokens and 30,000 emails, and Lovable's row-level-security gap CVE-2025-48757 affecting more than 170 production apps, plus a scan of about 5,600 vibe-coded apps that pulled service-role keys from public JavaScript. The team argued insurers are moving toward dated, independent, outside-in evidence over self-attestation, and that a key going public is typically used in under two minutes.

key takeaway

Client-side secrets are shipped to every visitor regardless of base64, reversal or string splitting, so scan the JavaScript the browser downloads β€” the team's own app leaked a Math.random() session-token fallback in tracker.js:3 that a rendered-page review would never show.

read3 min views1 publishedNov 24, 2026

We run a few small products. To keep an eye on them we built a set of blunt, read-only checks β€” the kind of thing you point at your own box. Then we aimed the whole set at one of our live apps, stranger-chat.online, expecting a clean bill. It was not clean.

Read-only, from the outside, in the time it takes to make coffee:

`Math.random()`
tracker.js:3 β€” sid = crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).slice(2)+Date.now()...

β†’ the fallback path ships. Math.random() is not a CSPRNG β€” sessions become guessable. None of this was exotic. It was the boring layer β€” the layer you stop looking at once the thing works. Which is exactly the layer an AI code generator never looks at either.

If we β€” the people who wrote the scanner β€” shipped predictable session tokens and a cleartext mail login, what is the app your AI assistant generated last week shipping right now? You can't see it from the rendered page. You can only see it in what the browser downloads. And here's the trap AI codegen falls into constantly: it puts a secret in the frontend, then "hides" it. Base64. A reversed string. Split and re-joined. The model thinks it's hiding; a scanner's regex doesn't match; everyone feels safe. None of it is hiding β€” the browser ships every byte to every visitor.

This isn't theoretical. Documented, 2025–26: the Moltbook leak traced to one client-side Supabase key β€” ~1.5M API tokens and 30k emails out. Lovable's row-level-security gap, CVE-2025-48757, 170+ production apps. A scan of ~5,600 vibe-coded apps pulling service-role keys straight out of public JS. Average time from a key going public to it being used: under two minutes.

Here's the part nobody tells a vibe-coder: that boring layer already has an invoice attached, and someone else is holding it.

That's the direction the whole market is moving. Carriers increasingly run their own outside-in scans and check them against the controls you attested to; when the questionnaire and the scan disagree, the renewal stalls β€” or worse, the claim does, after the breach, when forensics find the attested control was never actually there. (Travelers v. ICS) (carriers on self-attestation)

Insurers want security. You should want it harder β€” it's your invoice, not theirs. We are not your underwriter, and a scan is not a policy. But the thing underwriters are moving toward β€” dated, independent, outside-in evidence that your attestation is actually true β€” is exactly the artifact this spits out: a signed, timestamped read of what your app ships, from the outside, that you can hand over instead of ticking a box and hoping.

Argus reads what the browser reads β€” your homepage and its linked JS β€” and reports what's actually exposed, each finding with the exact request to reproduce it. It de-obfuscates the "hidden" keys (decodes, reverses, re-joins), flags localStorage tokens, hardcoded passwords, isAdmin = true, the // TODO: move credentials comment the model left behind β€” and the boring infra layer that wrecked us above.

Design rule, because every other "vibe-coded app scanner" we tried was a word generator with a nice UI: it shows the receipt or it shuts up. If it says your key is exposed, it prints the key (masked) and the line it came from. A clean result says "nothing found at this layer," not "you're secure."

── more in #ai-tools 4 stories Β· sorted by recency
── more on @argus 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/we-pointed-our-own-s…] indexed:0 read:3min 2026-11-24 Β· β€”