Urgent.News

What's breaking now, across hundreds of outlets.

AI

Two-account test: can user B see user A's data in your AI-built app? A 10-minute check

Most security scanners look at your app the way a stranger does. That is useful, but it cannot answer the question that sinks most AI-built apps: can user B see user A's data? That depends on who is signed in, and a scanner that never signs in cannot know. The only honest way to check is the two-account test. It takes about ten minutes. What you need Two disposable test accounts on your own app…

The two-account test is a method to determine whether a user can access another user's data in an AI-built application. It takes around ten minutes and requires two disposable test accounts on the app, not real customer accounts. The process involves signing in as user A, creating fake data, and noting its ID. Then, sign out and sign in as user B to attempt to access user A's record directly.

The test checks if user B's list contains user A's rows and if B can edit or delete A's record. Running this test before each release and treating "unknown" results as not yet passed is recommended. ProofForge offers a free two-account test builder for Supabase that performs a read-only local script, ensuring no keys or passwords are exposed. This test covers what a visitor can see but does not constitute a full audit.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

Opinion

If AI makes us richer, can you afford to save less?

Elon Musk thinks AI could make saving for retirement pointless. It’s an appealing thought, especially when putting money away means giving up something your family could use now.

  • AI may improve business efficiency and lower costs.
  • Generative AI could replace workers in the long run.
  • Conservative retirement savings advised due to uncertain AI impact.

How to save a ChatGPT conversation as PDF or Word (even very long ones)

If you use ChatGPT for real work (study notes, a business plan, code, a long writing project) sooner or later you want to keep a chat as a proper file.

  • Copy and paste method captures chat text but can be tedious for long chats
  • Print to PDF method includes sidebar and buttons, not ideal for long chats
  • ChatSavr extension saves entire chat as PDF or Word without data upload

Handling Reference Media in Multi-Route AI Video Generation

Reference images, video clips, and audio are what turn a generic text-to-video call into controlled, consistent output. But when you route across multiple upstreams, reference handling gets tricky.

  • Accept a single canonical payload from caller with images[], videos[], and audios[] references.
  • Enforce per-route limits (count, file size, total duration) before submitting references.
  • Normalize references to maintain order, preventing meaning changes during failover.

More from Sunday, 29 November 2026 →