I build with AI every day. It is fast, and it is good at the part you can see: screens, forms, a database that saves things. What it skips is the part nobody sees until it goes wrong.
When someone sends me a project for a Launch-Ready audit, I look in the same five places first. You can check each one yourself in a few minutes.
1. Secrets in the code
API keys, database passwords and tokens written directly into source files, or a .env file committed to the repository. If the repo is public, bots find those keys quickly. If it is private, every person and tool with access has them.
Check: paste your config files into the secret scanner, and your .gitignore into the .gitignore check. If a key was ever committed, rotate it. Deleting the line does not remove it from history.
2. Pages that should need a login and don’t
The admin page hides its link from normal users, but the route itself answers anyone who types the address. The same goes for API endpoints that return another user’s data when you change an ID in the URL.
Check: log out, then open your admin and API addresses directly. Log in as one user and request another user’s record. The server must refuse both, not just the interface.
3. Queries built from user input
A query made by joining strings with whatever the user typed. I found exactly this in a real login screen: one quote mark was enough to get in.
Check: run your data-access code through the SQL injection spotter. Use parameters or your ORM’s query builder everywhere, with no exceptions for “internal” screens.
4. No tests on the flows that matter
The app works today because you clicked through it today. The next prompt changes three files, and nobody clicks through everything again. Without tests on sign-up, login, payment and the one thing your product is for, you find out from a user.
Check: can you run one command and know the core flows still work? If not, that is the first thing to add. It does not need to be many tests. It needs to be the right five.
5. Nothing set up for the day it goes live
No security headers, debug mode still on, no backups, no way to know the site is down except a message from a customer. None of this shows in a demo.
Check: point the website check at your live address and read the score. Then ask yourself: if the database vanished tonight, what would I restore from, and have I ever tried?
What the list has in common
None of these five is hard to fix. They are missed because the app runs fine without them, and a tool that is asked to make something work stops when it works.
Want a quick overall picture first? The launch-readiness self-check asks 13 questions and gives you a score and the three things to fix first.
If you would rather have someone look for you, send me the repo. I reply within 48 hours with the three biggest risks I see, free.
أبني بالذكاء الاصطناعي كل يوم. هو سريع، وممتاز في الجزء الذي تراه: الشاشات، والنماذج، وقاعدة بيانات تحفظ الأشياء. لكنه يتجاوز الجزء الذي لا يراه أحد حتى يقع الخطأ.
عندما يرسل لي أحد مشروعه لفحص الجاهزية، أنظر في نفس الأماكن الخمسة أولًا. وتستطيع أن تفحص كل واحد منها بنفسك في دقائق.
1. الأسرار داخل الكود
مفاتيح API وكلمات مرور قواعد البيانات والتوكنات المكتوبة مباشرة في ملفات المصدر، أو ملف .env مرفوع إلى المستودع. إذا كان المستودع عامًا، فالبوتات تجد هذه المفاتيح بسرعة. وإذا كان خاصًا، فكل شخص وكل أداة لها صلاحية وصول تملكها.
الفحص: الصق ملفات الإعدادات في كاشف الأسرار، وملف .gitignore في فاحص .gitignore. وإذا رُفع مفتاح في أي وقت، غيّره. حذف السطر لا يزيله من السجل.
2. صفحات يجب أن تطلب تسجيل دخول ولا تطلبه
صفحة الإدارة تخفي رابطها عن المستخدم العادي، لكن المسار نفسه يرد على أي أحد يكتب العنوان. ومثلها نقاط API التي ترجع بيانات مستخدم آخر عندما تغيّر رقمًا في الرابط.
الفحص: سجّل الخروج، ثم افتح عناوين الإدارة وAPI مباشرة. وسجّل الدخول كمستخدم واطلب سجل مستخدم آخر. يجب أن يرفض الخادم الحالتين، لا الواجهة فقط.
3. استعلامات مبنية مما يكتبه المستخدم
استعلام مصنوع بدمج النصوص مع ما كتبه المستخدم. وجدت هذا بالضبط في شاشة دخول حقيقية: علامة اقتباس واحدة كانت كافية للدخول.
الفحص: مرّر كود الوصول للبيانات على كاشف حقن SQL. واستخدم المعاملات أو منشئ الاستعلامات في ORM في كل مكان، بلا استثناء للشاشات «الداخلية».
4. لا اختبارات على المسارات المهمة
التطبيق يعمل اليوم لأنك جرّبته اليوم. والطلب التالي يغيّر ثلاثة ملفات، ولا أحد يجرّب كل شيء من جديد. بدون اختبارات على التسجيل والدخول والدفع والشيء الذي وُجد منتجك لأجله، ستعرف الخطأ من مستخدم.
الفحص: هل تستطيع تشغيل أمر واحد لتعرف أن المسارات الأساسية ما زالت تعمل؟ إذا لا، فهذا أول ما تضيفه. لا تحتاج اختبارات كثيرة، تحتاج الخمسة الصحيحة.
5. لا شيء جاهز ليوم الإطلاق
لا ترويسات أمان، ووضع التصحيح ما زال مفعّلًا، ولا نسخ احتياطي، ولا طريقة لتعرف أن الموقع متوقف إلا رسالة من عميل. ولا شيء من هذا يظهر في العرض التجريبي.
الفحص: وجّه فحص المواقع إلى عنوان موقعك واقرأ الدرجة. ثم اسأل نفسك: لو اختفت قاعدة البيانات الليلة، من أين سأسترجعها، وهل جرّبت ذلك ولو مرة؟
ما المشترك في القائمة
لا شيء من هذه الخمسة صعب الإصلاح. لكنها تُنسى لأن التطبيق يعمل بدونها، والأداة التي يُطلب منها أن تجعل شيئًا يعمل تتوقف عندما يعمل.
تريد صورة عامة سريعة أولًا؟ التقييم الذاتي للجاهزية يسألك 13 سؤالًا ويعطيك درجة وأول ثلاثة أشياء تصلحها.
وإذا كنت تفضّل أن ينظر أحد بدلًا منك، أرسل لي المستودع. أرد خلال 48 ساعة بأكبر ثلاث مخاطر أراها، مجانًا.