sanako/input-validation
Trace untrusted input to where it's used and check the boundary that should have stopped it.
$
npx skills add qala-six.vercel.app/sanako -s input-validationinput-validation1 file
SKILL.md
Input Validation
Trace untrusted input to where it's used and check the boundary that should have stopped it.
When to use this
Reach for this when the situation above is the one you're actually in. It does one job; anything broader belongs to another skill.
Steps
- Read what you were given before changing anything — the code, the query, the document, whichever applies here.
- Work out what's actually wrong. State it in one sentence before proposing a fix, so the fix has something to answer to.
- Make the smallest change that answers it.
- Say what you changed and what you deliberately left alone.
Output
A short report: what you found, where (file and line where that applies), and the change you'd make. Rank by what breaking would cost, not by how easy each one is to fix.
Out of scope
Anything that isn't security. Say so and stop rather than wandering into a neighbouring problem.
Comments
0Sign in to join the conversation.
No comments yet.