Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
A working demo does not prove a vibe-coded app is safe for public use. Before launch, check secrets first, then authentication, data access, dependencies, and the live deployment: leaked keys, missing ownership checks, unprotected database tables, and invented packages are among the most consequential gaps. This checklist is for apps built largely with AI coding tools or app builders, especially common web stacks such as Vite or Next.js with Supabase or Firebase, hosted payment services, or LLM APIs. It is a practical starting point—not a certification or substitute for a professional review when the app handles sensitive data.
What makes a vibe-coded app risky?
AI-generated code can make the visible path work while leaving invisible security decisions unfinished. A demo may show a user signing in and viewing a record, but it does not establish that another user cannot fetch that record by changing its ID, that a secret is absent from the browser bundle, or that a database enforces the intended permissions.
Published figures point to recurring problems, but they describe different studies and should not be combined into one rate. Veracode’s 2025 GenAI Code Security Report, as cited by practitioner sources, found that 45% of cases introduced an OWASP Top 10 weakness; its 2026 report is cited as showing a 56% average security pass rate for AI-generated code. VibeDoctor reported that 35% of 1,099 scanned repositories had committed secrets, 4% imported a package that did not exist, and 6% had no rate limiting on authentication endpoints. These are not predictions for an individual app; they explain why a deliberate review matters.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Start by writing down what the app contains: its routes, user roles, tables, file buckets, third-party services, and any feature that sends, spends, deletes, or exposes data. Then work through the checks below. A scanner can find clues, but it cannot decide whether a user should be allowed to read a particular invoice.
Popular on Amazon
How do I check for exposed secrets?
Look for credentials in source code, Git history, build output, and the deployed site. If a secret ever reached a browser bundle, public repository, paste, or publicly accessible app URL, assume it is compromised: revoke or rotate it first, then move the call behind a server-side function and scan again.
Know which keys can be public
Some keys are designed to identify a project in browser code: for example, a Stripe pk_live_ key, a Supabase anon or publishable key, or Firebase web configuration. They are only safe to expose when the service’s server-side authorization rules are correct. A public key is not a permission system.
Secret credentials must stay on the server. Examples include Stripe sk_live_ and restricted rk_live_ keys, Supabase service_role or sb_secret_ keys, OpenAI sk- keys, AWS credentials, private-key blocks, and database passwords. Provider prefixes change, so treat any credential that can access, modify, or spend from an account as sensitive even if its format is unfamiliar.
In Next.js, variables prefixed NEXT_PUBLIC_ are exposed to client code; in Vite, VITE_ variables are generally bundled for the browser. Adding one of these prefixes to make a build work does not make a secret safe. Store secrets in the host’s secret manager or server-side function environment instead, and give each key only the access it needs.
Run a source and history check
- Search source and configuration for credential-like strings, including
sk_live,sk-,AKIA,service_role,API_KEY,SECRET, andDATABASE_URL. A search is a first pass, not proof that the repo is clean. - Check whether environment files are tracked:
git ls-files | grep .env. Check their history too:git log --all --oneline -- .env. Add local environment files to.gitignoreand use a full-history secret scanner such as Gitleaks, TruffleHog, or GitHub secret scanning. - Inspect the production build and loaded JavaScript, not only the source tree. Search for known provider prefixes and secret-related terms. A legacy Supabase service-role JWT may encode its role in the token, so a plaintext search for
service_rolealone can miss it. - Check the deployed domain for accidentally exposed files such as
/.env,/.git/config, source maps, and debug pages. They should not reveal credentials or private source.
Deleting a secret in a later commit does not remove the earlier copy from Git history. If you find a live credential, rotate it with its provider, review usage and billing logs, move the integration server-side, store the replacement securely, and re-scan. For a leaked Supabase secret key, the documented safe sequence is to create a replacement, move services to it, and then delete the old key. A leaked AI key can incur usage charges; a leaked database service key can permit broad data access.
Also popular on Amazon
How do I verify authentication and authorization?
Authentication answers “who is signed in?” Authorization answers “what may this person do?” Every API route, server action, and edge function that returns or changes protected data must check both on the server. A login screen, hidden button, or client-side redirect is not an access-control boundary.
- Prefer a maintained auth library. Use platform authentication such as Supabase Auth, Clerk, or Auth.js rather than a custom password or session system generated for the app. If the app stores passwords itself, use an approved password-hashing algorithm such as bcrypt, Argon2, or scrypt with current OWASP guidance; never store plaintext or use MD5.
- Protect every server entry point. A signed-out request to a protected route should receive a 401 response or a login redirect, not data. Verify the session again where the data is read. CVE-2025-29927 showed why relying only on Next.js middleware can fail: an attacker could bypass middleware with a crafted HTTP header in affected setups.
- Check record ownership on every ID-based request. If a route receives an invoice, document, or user ID, confirm on the server that the authenticated user owns that record or has an explicitly authorized role. Return 403 or 404 for someone else’s object; do not assume an unguessable ID is permission.
- Keep role assignment out of user control. Sign-up must not create administrators. Read privileged roles from trusted server-controlled metadata or a protected table, not user-editable profile metadata. Admin endpoints must enforce the role server-side, even if the interface hides the admin control.
- Test session and account recovery behavior. Enforce email verification for sensitive features; make password reset tokens short-lived and single-use; expire sessions and invalidate them on sign-out. Use
HttpOnly,Secure, and appropriateSameSitecookie settings. Generate and validate OAuth state on the server. - Rate-limit sign-in and recovery. Apply limits to login, sign-up, and password-reset endpoints. Avoid revealing whether an email address exists by using equivalent user-facing messages for an unknown email and a wrong password. Rate-limit costly endpoints as well as authentication.
Test routes directly, not just through the UI. Try opening a protected URL while signed out, call an admin endpoint as a regular user, and change an object ID in a request. The expected result is denial with no private fields in the response. In a 2026 study, Astra reported missing or bypassed authentication findings across all four AI-built apps it examined; its small sample is a warning about common failure modes, not a universal measurement.
Free tools Windows power users keep installed
One-click scans. No signup required.
How do I check whether Supabase tables are protected?
For Supabase and similar Postgres-backed apps, Row Level Security (RLS) is the key database permission layer. A publishable or anon key may appear in the browser by design; RLS policies must still restrict what that key can read or change. Supabase documentation states that a table in an exposed schema without RLS is readable and writable by any role that has a grant on it.
- List tables and intended access. For each table, decide which roles can select, insert, update, and delete rows. Do this before writing policies so “the app needs it” does not become a blanket grant.
- Enable RLS on every exposed table. Tables created through SQL or migrations may not have it enabled automatically. Supabase Security Advisor’s RLS Disabled in Public warning is a useful lead. You can also inspect Postgres with:
select tablename, rowsecurity from pg_tables where schemaname = 'public'; - Write policies that bind rows to the signed-in user. For a
documentstable with auser_idcolumn, a basic pattern is:alter table public.documents enable row level security; create policy "Users read their own documents" on public.documents for select using ((select auth.uid()) = user_id); create policy "Users insert their own documents" on public.documents for insert with check ((select auth.uid()) = user_id);Update and delete actions need policies too if the app supports them. For multi-tenant data, derive the tenant from verified server-side context rather than trusting an organization ID sent by the browser.
- Test with two accounts and with no account. Sign in as user A, create a record, then sign in as user B and request A’s record by ID. B must not see it or mutate it. Also try the REST endpoint using only the public key:
curl "https://<project>.supabase.co/rest/v1/documents?select=*" -H "apikey: $SUPABASE_ANON_KEY" -H "Authorization: Bearer $SUPABASE_ANON_KEY"Expect an empty result or an error when no public access is intended—not real user rows.
An RLS policy of using (true) allows reads broadly; it is not a meaningful per-user restriction. Conversely, RLS enabled with no matching policy blocks access, which can break a feature. Do not “fix” that error by disabling RLS or making the policy permissive. Review views and database functions as well: Postgres views can bypass RLS by default; on Postgres 15 and later, consider security_invoker = true where appropriate, and inspect security-definer functions carefully.
Apply the same principle to file storage. Customer invoices, uploads, and private profile photos belong in private buckets with access policies; public buckets are suitable for genuinely public assets such as logos, not customer files. Firebase test-mode rules, or equivalent allow-all rules in another backend service, create the same basic exposure risk.
Also popular on Amazon
CVE-2025-48757 involved inadequate Supabase access rules in some Lovable-generated apps. The cited researcher reported 170 affected apps among 1,645 analyzed, with 303 endpoints—about 10.3% of that sample—having inadequate RLS settings. Lovable disputed the CVE, saying each customer is responsible for their app’s data. The useful lesson is narrower than a platform-wide verdict: generated code and a hosted builder do not finish the app’s authorization work for you.
Recommended Free Tools
How should I audit AI-generated dependencies?
Confirm every package the AI suggests exists and is the package you intended before installing it. AI tools can hallucinate package names; an attacker can register a made-up name and wait for a developer to install it, a supply-chain risk often called slopsquatting.
- Look up new packages on the official npm or PyPI registry. Check the package identity, maintainer, release history, and whether its purpose matches the code importing it.
- Commit the project’s lockfile so builds resolve to reviewed versions. Avoid wildcard or
latestranges and remove packages the app no longer uses. - Run a dependency audit such as
npm audit --audit-level=high, OSV-Scanner, or Trivy. Investigate critical and high-severity findings and update promptly; do not treat a successful install as a clean security result. - Enable Dependabot or equivalent alerts and review them regularly. A lockfile that has not changed can still acquire a newly disclosed vulnerability.
VibeDoctor reported nonexistent package imports in 4% of 1,099 scanned repositories; a separate 2025 study cited by Masai School found 19.7% of recommended packages were hallucinated across 576,000 code samples. Those figures use different methods and denominators. OWASP’s 2026 GenAI Top 10 includes supply chain risk, and OWASP LLMSVS v2.0 recommends trusted component sources, software composition analysis, vulnerability handling, and a software bill of materials.
What else should I check before the app goes live?
Security extends beyond secrets, login, database policies, and packages. Review user input, payment flows, LLM features, deployment settings, backups, and abuse limits before exposing the app to strangers.
Input, files, and output
- Validate request bodies on the server with a schema library such as Zod, Valibot, or Pydantic. Browser validation improves usability but can be bypassed.
- Use parameterized queries or an ORM. Avoid interpolating user input into raw SQL such as
$queryRawUnsafeor.raw(). - Do not render user-submitted or model-generated content as raw HTML. Sanitize any content that must be rendered; prompt injection can lead to unsafe output handling, including XSS.
- For uploads, enforce server-side MIME-type and size limits, store files outside the web root where possible, and never execute uploaded content. Give users generic errors; keep stack traces and SQL errors in server logs.
Payments and webhooks
- Use hosted checkout when practical so card numbers do not pass through the app. Never set prices from an amount posted by the browser; calculate the charge server-side.
- Verify webhook signatures against the raw request body and signing secret before running a handler. In Stripe integrations, the documented
constructEventpattern is the relevant verification step. - Make fulfilment idempotent using the event ID because providers retry webhooks. Check subscription status on the server whenever a gated feature is used.
LLM features
If the app calls an LLM or gives a model tools, treat retrieved documents and tool results as data, not instructions. Keep secrets and other users’ records out of model context, scope tools to the current user’s permissions, and require human confirmation before actions that send messages, spend money, or delete data. Add usage limits and provider spend caps; an exposed, unthrottled AI endpoint can become a denial-of-wallet attack. A system prompt is not a security boundary.
Also popular on Amazon
OWASP’s GenAI LLM Top 10 for 2026, published in August 2026, covers prompt injection, sensitive information disclosure, excessive agency, supply chain, unbounded consumption, and improper output handling among its ten risk areas. For chatbots serving people in the EU, the available data notes that Article 50 transparency obligations have applied since 2 August 2026. Consider applicable privacy and AI rules for your users’ locations and data; this is not legal advice.
Live deployment and operations
- Require HTTPS and avoid mixed content. Set security headers such as HSTS, Content-Security-Policy,
X-Content-Type-Options, frame protection throughframe-ancestorsorX-Frame-Options, andReferrer-Policy. - Replace
Access-Control-Allow-Origin: *on authenticated APIs with the origins the app actually needs. Test cross-origin requests rather than assuming the browser UI enforces CORS correctly. - Rate-limit anything that costs money or resources: LLM calls, email, SMS, uploads, and expensive queries. Set provider spend caps where available.
- Separate development and production data and credentials. Do not give the coding agent production secrets or unrestricted production access. Keep it on a branch, deny access to secret files, and require a human review before merging destructive changes.
- Back up the database and storage, and perform a restore test. Supabase Free does not include automatic backups, and database backups do not include Storage files.
- Set up alerts that reach a person for uptime, failed sign-ins, errors, and unusual spend. Ensure the organization—not a former contractor’s personal account—owns hosting, code, domain, payment, and backend accounts; enable MFA on each and keep a second owner.
How often should I repeat the checklist?
Run it before the first public launch and again after a large AI coding session or any change to authentication, payments, database policies, or dependencies. Review dependency alerts at least weekly because new CVEs can affect an unchanged lockfile.
Some checks are mechanical and quick: full-history secret scanning, lockfile audits, package registry lookups, and a TLS/header review of the live domain. Others need a person and a few hours: reviewing every route’s session and ownership logic, testing two accounts against RLS, calling APIs anonymously, checking webhook verification, and trying admin operations as an ordinary user. Keep a dated record of what was checked and against which standard; it can help answer buyer questionnaires, but it is not a certificate.
For repeatable coverage, add CI checks for secret scanning, static analysis, and dependency audits, then add tests proving user B cannot read user A’s records and anonymous requests are rejected on protected routes. OWASP ASVS 5.0, released in May 2025, offers a structured verification framework: Level 1 is a useful floor for a prototype, while Level 2 is a more appropriate target for apps handling personal data. OWASP Top 10:2025 puts Broken Access Control first. A green scanner is not proof that an access policy is correct.
Is a checklist enough, or should I hire a security reviewer?
A DIY checklist plus peer review can be a reasonable start for a simple app with no sensitive data. Get an independent review before real users sign up, before taking payments, or before storing personal information; for health, financial, children’s, or regulated data, involve a qualified human reviewer rather than relying on an AI-generated assurance.
Also popular on Amazon
A focused review can map the app to OWASP ASVS and examine authorization, secrets, and the most important business flows. A pentest is not required for every tiny prototype, but it becomes more valuable as the consequences of a flaw rise—especially with payments, sensitive personal information, or enterprise customers. Infrastructure frameworks such as Cyber Essentials Plus do not assess bespoke application code, so infrastructure controls do not replace application-level review.
Frequently Asked Questions
Can an AI coding agent fix the security issues it finds?
It can help propose patches, explain policies, and write repeatable tests, but its claim that a change is secure must be verified independently. Ask it to enumerate routes, tables, and policies and to show a concrete request that would attempt cross-user access; then run that request yourself or in an automated test.
Should I publish JavaScript source maps with my app?
Source maps are not credentials by themselves, but a public map can expose original source and implementation details that make weaknesses easier to find. Keep production maps private unless your error-monitoring workflow requires upload, and ensure they do not contain secrets or sensitive source.
What does fail-open authentication mean?
A fail-open check grants access when the authentication service, token validation, or authorization logic errors or returns an unexpected result. Protected actions should fail closed: if the app cannot establish a valid identity and permission, it should deny the request rather than continue.
Does using an app builder mean I have to export and self-host to be secure?
Not automatically. Secret storage, database policies, and environment separation can often be fixed while staying on a hosted builder; moving becomes relevant when you need more control over login, server code, data handling, or deployment than the platform provides.

