.rulesync/skills/security-scan-diff/SKILL.md
Scan for malicious code in git diff between a tag/commit and HEAD
npx skillsauth add dyoshikawa/rulesync security-scan-diffInstall 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.
target_ref = $ARGUMENTS
If target_ref is not provided, ask the user which tag or commit to compare against HEAD.
Thoroughly check for malicious code in the diff between ${target_ref} and the latest commit (HEAD).
Verify the target ref exists and get the diff scope.
git log ${target_ref}..HEAD --oneline to list commits.git diff ${target_ref}..HEAD --stat to get file change statistics.Execute the following security reviews in parallel using subagents:
Call security-reviewer subagent to review CI/CD and workflow files (.github/, scripts/) for:
${{ github.event.* }} direct expansion in run:)curl | bash, eval, base64 decode execution)pull_request_target usageCall security-reviewer subagent to review source code files (src/) for:
eval, Function constructor, suspicious child_process usage)../.. directory escape)fetch, http.request, axios to external URLs)package.json changes)Call security-reviewer subagent to review config and documentation files for:
package.jsonIntegrate the results from all subagents and produce a unified report in the following format:
## Security Review Report: ${target_ref} -> HEAD
### Conclusion
- Whether malicious code was detected or not
### Check Results Summary Table
| Check Item | Result |
|------------|--------|
| ... | ... |
### Findings (if any)
| Severity | Description | File | Risk |
|----------|-------------|------|------|
| ... | ... | ... | ... |
### Recommendations (if any)
- Actionable recommendations for each finding
### Positive Observations
- Good security practices found in the diff
tools
Generates and syncs AI rule configuration files (.cursorrules, CLAUDE.md, copilot-instructions.md) across 20+ coding tools from a single source. Use when syncing AI rules, running rulesync commands, importing or generating rule files, or managing shared AI coding configurations.
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 Claude's capabilities with specialized knowledge, workflows, or tool integrations.
tools
Dry run for release: summarize changes since last release and suggest version bump.
tools
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.