ตรวจสอบโค้ดหาปัญหาด้านความปลอดภัย
A ready-to-use “การเขียนโปรแกรม” AI prompt template. Replace the (bracketed) parts below with your own needs.
Prompt template
ช่วยตรวจสอบโค้ดด้านล่าง ชี้ความเสี่ยงด้านความปลอดภัยที่อาจเกิดขึ้น (เช่น injection สิทธิ์การเข้าถึง การรั่วไหลของข้อมูลลับ) และให้ข้อเสนอแนะการแก้ไข: (วางโค้ดที่นี่)
How to use this prompt
- Copy the whole prompt above and paste it into ChatGPT / Claude / Gemini.
- Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
- If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.