26. Security Prompting
Use AI to find risks without exposing secrets or creating unsafe instructions.
By Jacques Botte, founder of Toptronic®. Last updated 12 September 2026.
The lesson
Security prompts must avoid sharing passwords, API keys, private certificates, customer data, and undisclosed vulnerabilities with external tools.
Ask for threat models, attack surfaces, data-flow diagrams, input validation checks, dependency risks, and mitigation priorities.
AI security findings are suggestions. A human must verify exploitability and fixes.
Check yourself
Question 1: What must not be pasted into external AI tools?
- Passwords, API keys, private certificates, and customer data — correct
- Public documentation links
- General concepts
- Empty examples
Answer: Passwords, API keys, private certificates, and customer data
Secrets and sensitive data must be protected.
Question 2: What should a security prompt ask for?
- Only slogans
- No risks
- Only UI colors
- Threat model, attack surface, validation checks, dependency risks, mitigations — correct
Answer: Threat model, attack surface, validation checks, dependency risks, mitigations
Security review needs structured risk analysis.
Question 3: How should AI security findings be treated?
- As production fixes
- As legal sign-off
- As suggestions requiring human verification — correct
- As automatically proven exploits
Answer: As suggestions requiring human verification
Security findings must be validated.
← Previous lesson · All 83 lessons · Next lesson →
The full course — 83 lessons and 249 quiz questions — ships inside the app. Get TPEE to study it offline.