💡 How to use these prompts:
Replace everything in [BRACKETS] with your specific details before sending.
Click Copy to copy any prompt to your clipboard instantly.
Review the workflow file below for these four issues specifically:
1. Untrusted input expanded directly into a run block. Issue titles, PR titles, branch names, comment bodies, fork metadata
2. Sanitisation applied after template expansion rather than before
3. Conditionals referencing one event context on a workflow triggered by a different one
4. Tokens with broader scope than this workflow needs
For each finding, show the safe rewrite. If you find nothing, say so in one line rather than inventing issues.
File:
[PASTE]
Trace every path in this code where data from outside the system reaches something that executes. Shell commands, eval, template rendering, SQL, deserialisation, file paths.
For each path, tell me:
- Where the data enters
- What transforms it along the way
- Whether any transform actually neutralises it, or just looks like it does
- What an attacker controls at each step
Do not list general best practices. Only trace what is here.
Code:
[PASTE]
For each endpoint in the code below, tell me:
1. What it verifies before acting
2. Whether that check can be forged by the caller
3. What it can do if the check passes
4. Whether the blast radius matches the strength of the check
Flag anything where a weak or spoofable check guards a strong capability.
Code:
[PASTE]
I want to check whether this summarisation flow can be manipulated by content the user cannot see.
Tell me:
- What the model receives versus what a person would see rendered
- Whether zero-size text, matching-colour text, hidden HTML or metadata reach the model
- Where I should strip content so only user-visible text is passed
- How I would detect that a summary had been manipulated after the fact
Flow description:
[PASTE]
List every external integration and credential this system holds.
For each: what it can read, what it can write, what would happen if an attacker controlled a prompt while it was connected, and whether the scope is wider than the feature requires.
Rank by blast radius, not by how likely you think compromise is.
System description:
[PASTE]
Here is a vulnerability that was found in my system: [DESCRIBE]
Write the test that would have caught it before it shipped. Then tell me:
- What class of bug this belongs to
- Where else in a typical codebase that class hides
- What check I should add to CI so this category cannot recur
I want a permanent gate, not a one-time fix.