{"name":"review-secure-by-design-questions-prompt","description":"A prompt that lists secure-by-design questions a design should answer, grouped by theme, as a checklist on auth and data. Use when the user wants secure by design questions, a security question checklist, or the questions to settle before coding.","category":"coding-prompts","tags":["security","planning"],"models":["any"],"proven":false,"passing_families":0,"model_testing":"Not yet model-tested; testing Jan 2027","url":"https://theskillvault.ai/skills/review-secure-by-design-questions-prompt","api_url":"https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt","raw_url":"https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt/raw","body":"# Secure-by-design questions (prompt)\n\nThis prompt asks the security questions a design should answer before anyone builds it. It does not write a threat model.\n\n## When to use\n- You have an idea or a sketch and want the security questions first.\n- You need a checklist on auth, data and who can reach the system.\n- A review asks what the design still has to settle.\n\n## When not to use\n- You already have a design doc and want a critique. Use review-system-design-prompt.\n- You want abuse paths tied to code. Use threat-model-your-app.\n\n## Steps\n1. Describe what you plan to build in a few sentences. Name who uses it.\n2. Add any hard limit, such as \"no accounts\" or \"data stays on device\".\n3. Paste it into the prompt below. Leave out secrets.\n4. Answer the questions yourself. Do not treat a question as a finding.\n\n## Prompt\n```text\nRead the design notes. Write questions only. Do not answer them and do not invent facts about the product.\n\nDESIGN NOTES:\n{{DESIGN NOTES}}\n\n# Overview\nTwo short sentences: what is being built, and why it needs security thought.\n\n# Secure by design questions\nGroup the questions under these headings. Add a heading only if it fits.\n- Who can reach it\n- Identity\n- Data\n- Failure\n- Change\n\nRules:\n- Write 12 to 20 questions.\n- Each question is one sentence and names a choice the builder must make.\n- Cover auth and data when the notes include them.\n- If the notes do not mention a theme, skip it. Do not assume a vendor, a cloud or a password store.\n- Do not give fixes. Questions only.\n```\n\n## How to adapt\n- A hardware or physical system? Keep the same groups. Swap \"Identity\" for \"Who is allowed on site\".\n- You already chose a stack? Paste that limit under DESIGN NOTES so the questions respect it.\n\n## Gotchas\n- Do not paste API keys, passwords, customer data or private URLs into a public AI.\n- A long question list is not a threat model. Rank the answers yourself before you build.\n\n## Portability\nWorks with any AI chat and any kind of system. No stack lock-in.\n\n## Done when\n- There are 12 to 20 questions under named groups.\n- Each item is a question, not a fix or an invented fact.\n\n## Example prompt\n\"List the secure by design questions this design should answer before we code.\"\n\n---\nConverted from the \"ask_secure_by_design_questions\" pattern in danielmiessler/Fabric (MIT, Copyright (c) 2012-2024 Scott Chacon and others). See LICENSE.txt.","files":["LICENSE.txt"],"license":"MIT","license_name":"MIT License","license_url":"https://opensource.org/license/mit","attribution":"Based on work by Daniel Miessler and Fabric contributors (ask_secure_by_design_questions pattern) (Copyright (c) 2012-2024 Scott Chacon and others, MIT License), https://github.com/danielmiessler/Fabric/blob/8ce0909d8622a61b6aaf539d467ba31bb7e0b6dd/data/patterns/ask_secure_by_design_questions/system.md; adapted by TheSkillVault, https://theskillvault.ai","install":{"claude_code":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt/raw' -o ~/'.claude/skills/review-secure-by-design-questions-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt/files/LICENSE.txt' -o ~/'.claude/skills/review-secure-by-design-questions-prompt/LICENSE.txt'","cursor":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt/raw' -o '.cursor/skills/review-secure-by-design-questions-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt/files/LICENSE.txt' -o '.cursor/skills/review-secure-by-design-questions-prompt/LICENSE.txt'","agents":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt/raw' -o '.agents/skills/review-secure-by-design-questions-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/review-secure-by-design-questions-prompt/files/LICENSE.txt' -o '.agents/skills/review-secure-by-design-questions-prompt/LICENSE.txt'","mcp_url":"https://theskillvault.ai/mcp","cursor_mcp_deeplink":"cursor://anysphere.cursor-deeplink/mcp/install?name=theskillvault&config=eyJ1cmwiOiJodHRwczovL3RoZXNraWxsdmF1bHQuYWkvbWNwIn0%3D","mcp_config":{"mcpServers":{"theskillvault":{"url":"https://theskillvault.ai/mcp"}}}},"bundles":[],"tested_on":[{"family":"chatgpt","name":"ChatGPT","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"claude","name":"Claude","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"gemini","name":"Gemini","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"grok","name":"Grok","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"llama","name":"Llama","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"deepseek","name":"DeepSeek","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"mistral","name":"Mistral","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"qwen","name":"Qwen","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"kimi","name":"Kimi K","outcome":null,"date":null,"source":null,"counts":false,"stale":false}],"proven_rule":{"threshold":5,"window_days":365,"computed_at":"2026-11-29T03:42:30.374Z"}}