CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/sast-rules-mini

Scan Python code for ten AST security issues: eval/exec, shell=True, pickle, unsafe yaml, weak hashes, disabled TLS, hardcoded secrets, SQL built from strings, mktemp, debug=True. Use when the user asks for a security scan or SARIF.

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

Quality

Scored by GLM 5.3

Content

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

An exemplary skill body: executable commands, a clearly sequenced workflow with an explicit re-run verification loop, compact summary tables, and clean one-level pointers to real bundle files that deliver what they promise. No padding, no dead references, and scope limits are stated honestly ('does not follow data flow across functions or files').

DimensionReasoningScore

Conciseness

Every section is operational — runnable commands, a compact rules table, an exit-code table, reporting guidance — with zero explanation of concepts Claude already knows; the intro packs scope, method and limits into three lines ('Ten rules (PY001-PY010) plus PY000… Import aliases are resolved… Output is text or SARIF 2.1.0'). Not 4: there is nothing that could be trimmed without losing actionable information.

5 / 5

Actionability

Copy-paste ready commands cover the common cases ('python3 scripts/sast_scan.py src/ app.py', '--format sarif --output scan.sarif', '--min-severity high'), the finding format is concrete ('path:line:column: [SEVERITY] RULE: message'), and suppression is specified precisely ('# nosast: PY00X… name the rule id'). Not 4: no gaps — invocation, output, severity filtering, fixing and suppression are all executable guidance.

5 / 5

Workflow Clarity

Five clearly sequenced steps with explicit validation: step 4 is a feedback loop ('Re-run the same command and confirm the finding is gone and no new one appeared') and step 2 builds in triage ('Open the line and decide whether it is a real risk in context'). The operation is a read-only scan, so the destructive/batch cap does not apply; not 4: the verification checkpoint is explicit rather than a minor gap.

5 / 5

Progressive Disclosure

The body is a true overview: a rules-at-a-glance table inline, with details delegated through clearly signaled one-level pointers ('Details, vulnerable and safe examples: references/rules.md', 'Options, suppression syntax, SARIF notes and limits: references/usage.md'), and both referenced files exist and contain exactly the promised content. Not 4: navigation is unambiguous, references are one level deep, and nothing that belongs in a reference is inlined.

5 / 5

Total

20

/

20

Passed

Description

80%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 specific, well-scoped description that enumerates all ten checks, states the method (AST) and language, and includes an explicit 'Use when' clause. Its only weaknesses are a trigger list narrower than the skill's actual use cases (missing 'SAST', 'vulnerability scan', 'security review') and modest overlap risk with general security-review skills.

DimensionReasoningScore

Specificity

Enumerates every capability concretely: 'Scan Python code for ten AST security issues: eval/exec, shell=True, pickle, unsafe yaml, weak hashes, disabled TLS, hardcoded secrets, SQL built from strings, mktemp, debug=True' — the full rule set is named with no gaps in coverage. Not 4: there are no 'minor gaps'; all ten detections are listed explicitly.

5 / 5

Completeness

Explicitly answers both parts: what ('Scan Python code for ten AST security issues: …') and when ('Use when the user asks for a security scan or SARIF'). Not 5: the 'when' clause is narrower than it could be — only two trigger phrases, versus the body's richer set ('security review, a SAST pass or a "quick scan"', pre-merge checks); not 3: the 'Use when' clause is explicit, not weakly implied.

4 / 5

Trigger Term Quality

Contains natural phrases users would say ('security scan', 'SARIF', 'Python') plus object-level terms ('pickle', 'SQL', 'TLS') that match user mentions. Not 5: common synonyms the body itself uses — 'SAST', 'vulnerability', 'security review/audit', 'quick scan' — are absent from the description. Not 3: coverage goes beyond 'some relevant keywords' since both primary trigger phrases and per-rule terms are present.

4 / 5

Distinctiveness Conflict Risk

The Python-only, AST-based, SARIF-capable niche with ten named rules is recognizable and mostly distinct. Not 5: 'security scan' is broad enough to overlap with a generic security-review skill, giving minor conflict risk; not 3: the enumerated rule set and Python scoping make confusion with unrelated skills unlikely.

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.

Reviewed

On this page