Urgent.News

What's breaking now, across thousands of outlets.

Tech

The bug every AI coding tool ships, and how to prove it is gone

The scanner is open source and the rules are readable before you trust a single finding: github.com/audit0/auditai-scanner . This post is about the one bug it was built for. The shape of the bug Ask any AI coding tool for an invoicing app and you will get something close to this route handler. // app/api/invoices/[id]/route.ts import { createClient } from " @supabase/supabase-js " ; const…

An open-source scanner named auditai-scanner, available at github.com/audit0/auditai-scanner, has been designed to identify a specific bug in AI coding tools. This bug allows unauthorized access to sensitive data, such as viewing another user's invoice, by manipulating the URL. The scanner's rules are transparent and can be reviewed before trusting any findings.

To demonstrate the bug, the source code of an invoicing app was analyzed, showing how the service-role key bypasses row-level security, enabling unauthorized access. The scanner's output provides minimal information, necessitating additional manual checks by developers. However, the scanner sets a higher standard for fixing bugs, requiring reproduction using a sandbox environment and a regression test.

The fix implemented in the invoicing app ensures that the request runs as the signed-in user, allowing the row-level security policy to determine access. The regression test verifies this behavior by sending the request as a different user (Alice) and expecting a 403 Forbidden response. The scanner's results are accompanied by a coverage line, indicating the number of routes checked, verified, confirmed, and unverified.

Unverified findings are not considered failures but indicate that the scanner could not reproduce those specific issues. The scanner is designed to be run locally, without requiring any account or sending data to external servers. To utilize the scanner, developers can install it using npx auditai-scan. If you have a Next.js + Supabase app and would like a real authorization bug identified and proven for free, there are ten design-partner slots available at auditai.sh.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The gpg.fail aftermath: On responsible disclosure, GPG, and the state of security in 2026 [32:37]

In 2025, I [the speaker] found and disclosed a bunch of vulnerabilities in GPG, the most used PGP implementation, and held a talk at 39c3 about it. Some of the bugs ended up getting fixed.

  • Speaker discovered and disclosed multiple GPG vulnerabilities in 2025
  • Unpatched vulnerability allowed easy spoofing of PGP signatures
  • Speaker emphasized need for serious security and responsible disclosure

Your Smart TV May Be Screenshotting Your Screen Every Half Second

What the research found A 2024 study by researchers at UC Davis, University College London, and Universidad Carlos III de Madrid audited the network traffic leaving Samsung and LG smart TVs, examining…

  • Smart TVs screenshot screens every 500ms, according to 2024 study
  • Samsung and LG settle lawsuit, stop collecting ACR data without consent
  • Disabling ACR complex, requires navigating multiple settings and menus

More from Saturday 12 September →