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.
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
The prescribed workflow has the model open each flagged source line (including hardcoded PY007 secret assignments) to judge it, so credential values in those files enter the model's context.
"Open the line and decide whether it is a real risk in context" (SKILL.md Workflow step 2) — instructs the model to open each flagged line, including PY007 hardcoded-secret assignments, bringing credential values into the model's context
command · 2 sites
Workflow step 2 directs the agent to open every flagged source line to judge it, and PY007 findings (SKILL.md:59, scanner.py:134-150) point at lines assigning literal credential values, so those secret values are pulled into the model's context.
SKILL.md
31
2. Read each finding as `path:line:column: [SEVERITY] RULE: message`. Open the line and decide
SKILL.md
32
whether it is a real risk in context.