skills/pentest-whitebox-code-review/SKILL.md
Source code security audit using backward taint analysis, slot type classification, render context verification, and 3-phase parallel review producing an exploitation queue.
npx skillsauth add jd-opensource/joysafeter pentest-whitebox-code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Perform systematic white-box source code security audit using Shannon's backward taint analysis methodology. Traces from dangerous sinks back to user-controlled sources, classifies injection contexts by slot type, verifies XSS render contexts, and produces a prioritized exploitation queue for downstream proof-driven exploitation.
| Slot Type | Sink Pattern | Sanitization Required | |-----------|-------------|----------------------| | SQL-val | Query parameter value position | Parameterized query / prepared statement | | SQL-ident | Table name, column name, ORDER BY | Allowlist validation | | CMD-argument | Shell command argument | Argument escaping + allowlist | | FILE-path | File read/write path construction | Path canonicalization + allowlist | | TEMPLATE-expr | Template engine expression | Context-aware auto-escaping |
| Context | Output Location | Encoding Required | |---------|----------------|-------------------| | HTML_BODY | Between HTML tags | HTML entity encoding | | HTML_ATTRIBUTE | Inside attribute values | Attribute encoding + quoting | | JAVASCRIPT_STRING | Inside JS string literals | JavaScript Unicode escaping | | URL_PARAM | URL query parameter values | URL percent encoding | | CSS_VALUE | Inside CSS property values | CSS hex encoding |
| Category | Tools | Purpose | |----------|-------|---------| | Taint Analysis | semgrep, CodeQL | Automated sink-to-source taint tracing | | Pattern Search | ripgrep, ast-grep | Fast code pattern matching | | Decompilation | jadx, sourcemap-extract | Recover source from compiled artifacts | | AST Parsing | tree-sitter, babel | Language-aware code structure analysis | | Dependency Audit | npm audit, pip-audit, snyk | Known vulnerability detection |
references/tools.md - Tool function signatures and parametersreferences/workflows.md - Taint analysis workflows and vulnerability patternsdevelopment
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
development
Use when you have a spec or requirements for a multi-step task, before touching code
testing
OpenClaw Skills 全方位安全审计工具,检测供应链投毒、Prompt注入、恶意代码模式、权限越权和依赖风险
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends an agent's capabilities with specialized knowledge, workflows, or tool integrations.