CtrlK
BlogDocsLog inGet started
Tessl Logo

csrf

Cross-Site Request Forgery — missing/invalid tokens, method override, JSON CSRF, SameSite gaps, double-submit flaws, login/logout CSRF, and CSRF-via-XSS chains to account takeover.

68

Quality

82%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

82%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.

A dense, highly actionable offensive-security playbook with executable curl/HTML/JS PoCs, a clear detection-to-exploitation workflow, and a validation decision gate. It is concise without re-teaching basics, and well-structured for a self-contained skill; minor gains would come from making the validate→retry loop explicit and optionally offloading the larger matrices to a reference file.

Suggestions

Make the error-recovery feedback loop explicit in the Decision Gate (e.g., 'If any gate check fails, revisit section 2 for a bypass class, re-run the relevant detection probe, and re-confirm before escalating or downgrading').

Consider moving the full bypass/misconfig matrix and detection/OPSEC tables into a references/ file (e.g., BYPASS-MATRIX.md) to keep SKILL.md as a lean overview, which would also lift progressive_disclosure toward 5.

DimensionReasoningScore

Conciseness

The body is largely lean — a one-paragraph principle, a compact detection curl block, and tight matrices — and assumes Claude already understands CSRF mechanics without re-explaining them. It earns 4 rather than 5 because the bypass/misconfig matrix and a few inline explanations carry some density that could be trimmed without losing clarity.

4 / 5

Actionability

Provides fully executable, copy-paste-ready curl detection commands (steps a–e) and concrete HTML/JS PoCs for classic form CSRF, JSON-via-text/plain, and CSRF-via-XSS, covering the common cases with specific commands and bodies, matching the score-5 anchor.

5 / 5

Workflow Clarity

There is a clear numbered sequence (Detect → Bypass matrix → Exploit PoC → Chains → Tools → Detection/OPSEC → Decision Gate) with an explicit validation checklist in the Decision Gate. It is not 5 because the recovery/feedback loop ('if a check fails, do X and re-test') is implicit rather than spelled out as a validate→fix→retry cycle, though the destructive-action validation cap is satisfied by the decision-gate checklist.

4 / 5

Progressive Disclosure

No bundle files exist (references/, scripts/, assets/ are absent), so the skill is intentionally self-contained with well-organized section headers and matrices — appropriate for a single-purpose playbook under the simple-skill guidance. It earns 4 rather than 5 because several dense matrices (bypass matrix, detection/OPSEC) could justify a separate reference file for deeper material, but the current one-level structure is clear and navigable.

4 / 5

Total

17

/

20

Passed

Description

82%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 highly specific, well-triggered, distinctive description that enumerates the full CSRF attack surface and the account-takeover outcome. Its only gap is the absence of an explicit 'Use when...' trigger clause, which caps the completeness dimension at 3.

Suggestions

Add an explicit 'Use when...' clause naming natural trigger contexts (e.g., 'Use when auditing web endpoints for cross-site request forgery, missing CSRF tokens, or SameSite cookie gaps.') to satisfy the completeness 'when' requirement.

Optionally surface the highest-value trigger phrases verbatim so the description doubles as a dispatch hint (e.g., 'Use when the user mentions CSRF, XSRF, anti-CSRF tokens, or SameSite cookie misconfiguration').

DimensionReasoningScore

Specificity

Lists multiple concrete, specific CSRF attack classes — 'missing/invalid tokens, method override, JSON CSRF, SameSite gaps, double-submit flaws, login/logout CSRF, and CSRF-via-XSS chains to account takeover' — comprehensive coverage of the domain, matching the score-5 anchor.

5 / 5

Completeness

The 'what' is explicit and thorough (enumerated CSRF variants and outcomes), but there is no 'Use when...' clause or equivalent explicit trigger guidance for when Claude should invoke it; per the judging guidelines a missing 'Use when...' clause caps completeness at 3. It is not a 4 because 'when' is entirely absent rather than merely weakly implied.

3 / 5

Trigger Term Quality

Includes comprehensive natural terms and synonyms a user would actually say — 'Cross-Site Request Forgery', 'CSRF', 'SameSite', 'tokens', 'double-submit', 'login/logout', 'XSS' — covering variations and the canonical acronym, matching the score-5 anchor.

5 / 5

Distinctiveness Conflict Risk

The description carves out a clear, narrow niche (CSRF attack patterns to account takeover) with distinct triggers unlikely to fire for unrelated skills, matching the score-5 'clear niche with distinct triggers; minimal conflict risk' anchor.

5 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
PurpleAILAB/Decepticon
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.