CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

input-validation-sanitization-auditor

This content shows safer patterns for preventing XSS and SQL injection, validating input with schemas, and handling validation errors. It also provides a checklist covering command injection, output encoding, sanitization libraries, and security tests.

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

68%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers tight, executable patterns for XSS, SQL injection, and schema validation, and it wastes almost no tokens. Its weaknesses are the missing command injection example despite the description and checklist promising it, the absence of any ordered audit workflow with validation checkpoints, and a stray ENDFILE artifact line.

Suggestions

Add a command injection prevention section with a concrete example (e.g., avoiding shell string interpolation in favor of execFile with argument arrays), since it is claimed in both the description and the output checklist but never shown.

Replace the topic-siloed layout with a short ordered audit workflow (identify input sources, classify sink type, apply the matching pattern, verify with a security test) so validation checkpoints are explicit.

Remove the stray 'ENDFILE' line at the end of the body, and either cover the remaining checklist items (CSP, output encoding, security tests) in a references file or trim them from the checklist.

DimensionReasoningScore

Conciseness

The body is lean and code-first with no explanations of concepts Claude already knows, but a stray "ENDFILE" artifact line and an output checklist that partially re-states the section headings are tokens that could be trimmed. This sits between 'efficient; minor instances of over-explanation' (4) and 'every token earns its place' (5).

4 / 5

Actionability

The XSS escaping, parameterized-query, Prisma, and zod examples are executable and copy-paste ready, including a complete Express handler with error handling, matching 'mostly executable guidance; concrete code with minor gaps'. Not 5 because command injection prevention is promised in the description and checklist but has no code example; not 3 because nothing is pseudocode.

4 / 5

Workflow Clarity

There is no explicit sequence for conducting an audit; the zod try/catch and the end checklist are the only implicit checkpoints, matching 'sequence present but checkpoints missing or implicit'. Not 4 because steps are not ordered or signaled as a workflow; not 2 because the per-topic guidance is unambiguous.

3 / 5

Progressive Disclosure

Sections are well-organized with clear headers and no nested or buried references, and the body is compact with no bundle files. Not 5 because the body exceeds 50 lines and checklist topics (CSP, output encoding, security tests, command injection) lack content that could live in a one-level-deep reference file; not 3 because nothing that clearly belongs in a separate file is inlined.

4 / 5

Total

15

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, concrete about capabilities, and with an explicit 'Use for' trigger clause containing natural user phrases. The only weaknesses are a slightly generic tail phrase ('safe coding patterns') and a few missing natural trigger variations such as 'command injection'.

DimensionReasoningScore

Specificity

"Identifies and fixes XSS, SQL injection, and command injection vulnerabilities with validation schemas, sanitization libraries" lists several concrete actions and tools, matching the 'several specific actions; minor gaps' anchor. It falls short of 5 because "safe coding patterns" is generic, and exceeds 3 because coverage goes well beyond 1-2 actions.

4 / 5

Completeness

The description explicitly answers both: what ("Identifies and fixes XSS, SQL injection, and command injection vulnerabilities with validation schemas, sanitization libraries") and when ("Use for 'input validation', 'XSS prevention', 'SQL injection', or 'sanitization'") with concrete trigger phrases in third-person voice, matching the anchor 5 example structure. Not 4 because the when-clause is fully explicit rather than improvable.

5 / 5

Trigger Term Quality

"input validation", "XSS prevention", "SQL injection", "sanitization" are phrases users would naturally say, matching 'good keyword coverage; a few natural terms missing'. Not 5 because common variations like "command injection", "injection attacks", or "secure coding" are absent from the trigger clause.

4 / 5

Distinctiveness Conflict Risk

"XSS prevention", "SQL injection", "sanitization" are distinct triggers for a clear injection-auditing niche, matching 'mostly distinct; minor overlap risk'. Not 5 because the topic overlaps with general security-review and secure-coding skills; not 3 because the triggers are specific, not broad.

4 / 5

Total

17

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/input-validation-sanitization-auditor/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.