跳到正文
DEV Community· ProofForge | AI app security·· 6 小時前AI 評分61

AI 建構應用程式的 5 分鐘未登入狀態上線檢查清單

A 5 minute signed-out launch checklist for your AI-built app (copy and paste)

AI 導讀

文章提供一份供 AI 建構應用程式上線前使用的 5 分鐘檢查清單,要求在私人瀏覽視窗中保持未登入,檢查頁面、檔案、金鑰、資料及安全設定。修正問題後須重新部署並由清單頂部重做;每次涉及路由、環境變數或套件的部署後亦要重查。

正文

ProofForge | AI app security

Copy this, paste it into your notes, and run it before you share your link. Open a private window, signed out, and work down the list.

The 5 minute signed-out launch checklist

Pages

  • [ ] Open your home page. Does it load without errors?
  • [ ] Open /dashboard, /admin and any account page. Do you get a login page, a 401 or a 403?
  • [ ] Open an API route you remember adding, such as /api/users. Is there no real data?

Files

  • [ ] Open /.env. Is it a 404?
  • [ ] Open /.git/config. Is it a 404?
  • [ ] Open your main JavaScript file with a .map added. Is it a 404?

Keys

  • [ ] View source or the Sources tab and search the bundle for "secret", "private", "sk_" and "service_role". Do you find nothing that should be server-only?
  • [ ] Is every key in the bundle one you are happy for strangers to read?

Data

  • [ ] If you use Supabase or Firebase: can a signed-out visitor read private tables or documents? They should get nothing.
  • [ ] Do the data rules match each user to their own rows?

Settings

  • [ ] Is HTTPS forced? Does http:// redirect to https://?
  • [ ] Do the response headers include a content security policy and basic protections? Check the network tab.

After you fix something

  • [ ] Redeploy, then run the list again from the top.
  • [ ] Re-run it after every deploy that touches routes, env vars or packages.

What this does not cover

Nothing behind a login, and nothing in your code. It is the outside view only.

Want it done for you?

I work on ProofForge. The free scan covers most of the signed-out items above: bundle keys, exposed files, source maps, headers and supported backend signals. It is passive and read-only and never signs in. A clean result means nothing was found in the public assets checked, not that the app is secure.


Run the free ProofForge scan. Check your live URL. No account needed. Only scan apps you own or have permission to test. More guides: the index.

來源:DEV Community · dev.to