wrdn-code-execution

wrdn-code-execution is a skill for Claude Code from getsentry/warden-skills. It costs 102 tokens per session (4,003 once invoked), scanned A, original, MIT.

A security review guide for finding cases where user-controlled data can reach code or command execution on a server. It covers risks such as shell injection, unsafe deserialization, server-side template injection, and dangerous uses of eval-like tools.

In plain words
What is it for?
Use it to review application code for vulnerabilities that could let an attacker run commands or code on the server.
Why use it?
It helps distinguish real server-side code-execution paths from code that only looks dangerous by tracing untrusted input to the final operation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review application code for vulnerabilities that could let an attacker run commands or code on the server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/getsentry/warden-skills/wrdn-code-execution
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add getsentry/warden-skills --skill wrdn-code-execution
Clone the repo
git clone --depth 1 https://github.com/getsentry/warden-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wrdn-code-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/getsentry/warden-skills/wrdn-code-execution/github.svg)](https://agentmods.dev/skills/getsentry/warden-skills/wrdn-code-execution)
Your own site
<a href="https://agentmods.dev/skills/getsentry/warden-skills/wrdn-code-execution"><img src="https://agentmods.dev/badge/skills/getsentry/warden-skills/wrdn-code-execution/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wrdn-code-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/getsentry/warden-skills/wrdn-code-execution"><img src="https://agentmods.dev/badge/skills/getsentry/warden-skills/wrdn-code-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 21
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 69
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 69
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 69
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 157
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high YARA Match · line 227
    YARA rule matched a known webshell pattern (PHP, Python, JSP, or ASPX webshell).
    Fix: Remove the webshell code immediately. Webshells provide unauthorized remote command execution. Audit the skill for additional backdoors or persistence mechanisms.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.04003
Opus 5.5 $0.00041 $0.01601
Sonnet 5.5 $0.00020 $0.00801
Haiku 4.5 $0.00010 $0.00400

Measured 3mo ago against content hash a775fa05db07, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wrdn-code-execution scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **Identify the sink.** Is it actually dangerous in the form used? `subprocess.run(["ls", user_arg])` is safe. `subprocess.run(f"ls {user_arg}", shell=True)` is not.
skills/wrdn-code-execution/SKILL.md · 320 lines

How it starts

The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior application security engineer. You hunt bugs where untrusted input reaches a sink that executes code on the server. These are high-impact bugs: they produce the attacker a shell, a new privilege, or the ability to pivot to credential theft.

The abstract shape is constant across languages:

untrusted source ──▶ (missing validation / unsafe API) ──▶ code-execution sink

This skill covers cases where the primary impact is arbitrary code or commands executing. Some sinks straddle multiple impact classes: XXE can read files or reach RCE gadgets, and command injection can exfiltrate files. Report here only when the code-execution path is concrete.

Trace. Do Not Skim.

The sink tells you what could happen. The source tells you whether it will. Trace before reporting.

  • Identify the sink. Is it actually dangerous in the form used? subprocess.run(["ls", user_arg]) is safe. subprocess.run(f"ls {user_arg}", shell=True) is not.
  • Identify the source. Values from request.body, request.query, request.headers, parsed webhook payloads, third-party API responses, file uploads, user-controlled config are untrusted. Hardcoded constants and server-side-derived values are not.
  • Trace the path. Read the function, the caller, and whatever validation sits between. A Pydantic schema with strict types may sanitize the sink argument; a Zod z.string() with no regex may not.
  • Check the library version. yaml.load without SafeLoader on PyYAML < 5.1 is unsafe by default. jsonwebtoken.verify before 9.0 allows algorithm confusion. vm2 in any version is abandoned and RCE-prone.
  • Use the shell. git log -p <file> shows whether a validation step was recently removed. rg -n '<sink>' enumerates siblings so you can compare the analysis.
  • Detect the framework. Load the matching reference for framework-specific idioms and defaults.

If the trace cannot be completed with the files at hand, drop the finding or report with lower confidence.

Read the full file on GitHub · 320 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 320 lines · 102 tokens per session scan A a775fa05db07

Subscribe to this mod's changes

wrdn-code-execution is a skill published in the GitHub repository getsentry/warden-skills (57 stars, last pushed 1mo ago), licensed MIT. It adds 102 tokens to every session and 4,003 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

wrdn-code-execution compared with skills from other repositories

wrdn-code-execution next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wrdn-code-executiongetsentry/warden-skillsSkill571mo agoMITA102Claude Code
security-modelgetsentry/skillsSkill1.2k18d agoApache-2.0A113Claude Code, Codex
django-perf-reviewgetsentry/skillsSkill1.2k18d agoApache-2.0A55Claude Code
gha-security-reviewgetsentry/skillsSkill1.2k18d agoApache-2.0A76Claude Code
presentation-creatorgetsentry/skillsSkill1.2k18d agoApache-2.0A73Claude Code
triage-frontend-issuesgetsentry/skillsSkill1.2k18d agoApache-2.0A93Claude Code
sred-project-organizergetsentry/skillsSkill1.2k18d agoApache-2.0A27Claude Code