ersinkoc/security-check/sc-rce
Claude Code and agent skill by ersinkoc/security-check
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Remote Code Execution detection via eval, exec, dynamic code loading, and code injection vectors
Install
npx vskill@latest install ersinkoc/security-check/sc-rceSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ersinkoc/security-check/sc-rce.
SC: Remote Code Execution (RCE)
Purpose
Detects remote code execution vulnerabilities where user-controlled input reaches functions that evaluate or execute code dynamically. Covers eval-based injection, dynamic function construction, script engine execution, template code execution, and code loading from untrusted sources. This skill focuses on code evaluation mechanisms beyond command injection (covered by sc-cmdi) and deserialization (covered by sc-deserialization).
Activation
Called by sc-orchestrator during Phase 2. Runs against all detected languages.
Phase 1: Discovery
Keyword Patterns to Search
Data Flow Tracing
Trace user input to any dynamic code evaluation function. Key patterns:
- HTTP parameter → variable → eval()
- Database value (originally user input) → code execution function
- Configuration file (user-editable) → dynamic import/require
- WebSocket message → eval-like function
Phase 2: Verification
Python Examples
JavaScript Examples
PHP Examples
Severity Classification
- Critical: Direct eval/exec/Function with HTTP request input, no sandbox or restrictions
- High: Code execution through framework features (ScriptEngine, vm module) with user input
- Medium: Dynamic code execution with partial restrictions or requiring authenticated access
- Low: eval with constant expressions, or vm module with timeout but no network restriction
Output Format
Finding: RCE-{NNN}
- Title: Remote Code Execution via {eval|Function|exec|ScriptEngine} in {location}
- Severity: Critical | High | Medium | Low
- Confidence: 0-100
- File: file/path:line
- Vulnerability Type: CWE-94 (Code Injection) | CWE-95 (Eval Injection)
- Description: User input from {source} reaches {code execution function} allowing arbitrary code execution.
- Impact: Complete server compromise, data theft, lateral movement, persistent backdoor.
- Remediation: Remove eval/exec usage. Use safe parsing libraries. Implement strict allowlisting.
- References: https://cwe.mitre.org/data/definitions/94.html
Common False Positives
- eval with constants —
eval("1+2")with no user input is not exploitable - ast.literal_eval — Python's literal_eval only parses literal values (safe for simple data)
- Template engine rendering — template engines are covered by sc-ssti, not this skill
- Build/dev tooling — webpack, babel, jest using eval internally for build purposes
- REPL/debug tools — eval in development REPL tools not deployed to production
- Math expression parsers — libraries like mathjs safely evaluate mathematical expressions
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sc-rce/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 5
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ersinkoc/security-check/sc-rce)