IntermediateChatGPT / Claude
Review code for the vulnerability classes that apply
Review the code below. It handles [what it handles] and is reachable by [who can reach it].
Check only the classes that apply to this code, and say which you ruled out and why. For each finding, give the input that exploits it, what the attacker gains, and the fix.
Do not list generic advice. If the code is clean for a class, say so in one line.
<code>
[paste the code]
</code>
For: Engineer
IntermediateChatGPT / Claude
Audit permissions for what they actually allow
Here is a permission or policy configuration: [paste it].
Tell me what it permits that it probably was not meant to permit. Work from what the rules literally allow, not from their names.
For each over-permission, say what a holder could do with it and what the narrower version would look like.
For: Engineer
IntermediateChatGPT / Claude
Check dependency risk without panicking
Here is a vulnerability report for our dependencies: [paste it].
For each item, tell me whether the vulnerable code path is actually reachable given how we use the package — ask me what you need to know to decide.
Sort into: fix now, fix in the next cycle, and not applicable with a reason. Do not treat severity scores as the ranking.
For: Engineer
IntermediateChatGPT / Claude
Write a secure default for handling secrets
We handle these secrets: [list them]. They are currently stored in [where] and reach the application by [how].
Describe what goes wrong with the current arrangement, in order of likelihood. Then propose the target arrangement and the migration order.
Be explicit about what is still exposed after the change — no arrangement removes all of it.
For: Engineer
IntermediateChatGPT / Claude
Decide what to log without logging secrets
For [feature], tell me what to log so that an incident can be reconstructed afterwards.
For each log line: what event, what fields, and what must be excluded or redacted. Assume logs are readable by anyone on the engineering team.
Then say what question an investigator would be unable to answer from these logs.
For: Engineer
IntermediateChatGPT / Claude
Review infrastructure configuration against exposure
Here is a configuration file: [paste it].
Identify everything reachable from outside, everything that defaults to permissive, and every place where a missing value would fail open rather than closed.
For each, give the specific line and the corrected value. Say which single change reduces exposure most.
For: Engineer