Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Detects remote code execution flaws in code: OS command injection, eval sinks, unsafe deserialization; writes sast/rce-results.md.
Use this skill ↓50% 50%0 ptsof checks passed
Scored 50% with the skill and 50% without it.
3 of 3 safety checks passed
Not used yet
You are performing a focused security assessment to find Remote Code Execution vulnerabilities in a codebase. This skill uses a three-phase approach with subagents: recon (find dangerous execution sinks), batched verify (trace whether user-supplied input reaches each sink in parallel batches of 3), and merge (consolidate batch results into the final report).
Prerequisites: sast/architecture.md must exist. Run the analysis skill first if it doesn't.
Remote Code Execution (RCE) occurs when an attacker can cause the application to execute arbitrary OS commands or application-level code that they control. This is typically the highest-severity vulnerability class, often resulting in complete server compromise.
RCE arises from three primary root causes:
eval, exec, Function(), etc.).eval(), exec(), Function(), or equivalent constructs with user-controlled stringsyaml.load() without a safe loader on user-supplied contentrequire()/import() with user-controlled module pathsinclude/require) with user-controlled pathsDo not flag these as RCE:
xp_cmdshell can lead to OS commands, flag it as SQLi)subprocess.run(["ls", user_arg]) with a list and no shell=True — arguments are passed directly to the OS without shell expansion; not vulnerable to command injectionjson.loads(), yaml.safe_load(), xml.etree.ElementTree.parse() — these formats have no code execution semanticsNext to this one in the catalogue, plus more from the same author.