Official skills for AI coding assistants (Claude Code, Cursor, Windsurf, Codex) to work with DryRunSecurity — covering both vulnerability remediation and the full PR/MR review workflow.
This repo provides two skills that together cover the complete DryRunSecurity workflow:
Vulnerability Remediation — When DryRunSecurity scans your pull request and leaves a finding, this skill guides your AI assistant to understand and fix it contextually.
PR Review Workflow — Automates the full PR/MR lifecycle: branch, commit, push, open a PR or MR, then poll for and present DryRunSecurity review comments for your decisions.
The Full Flow:
You write code → AI creates branch + commit + PR/MR →
DryRunSecurity scans and comments → AI presents findings →
You decide what to fix → AI remediates and re-submits →
DryRunSecurity approves
Context is King. DryRunSecurity spends significant effort understanding your codebase to identify real vulnerabilities. These skills do the same — they guide AI assistants to:
- Understand your codebase - Existing patterns, tech stack, conventions
- Research authoritative sources - Official docs, OWASP, CWE references
- Apply contextual fixes - Matches your code style, uses your existing utilities
- Explain and verify - Why it was vulnerable, why the fix works
No static cheat sheets. No generic examples. Fixes grounded in your code.
Download to your project (always latest):
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/main/standalone/.cursorrulesOr pin to a specific version:
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/v1.0.0/standalone/.cursorrulesDownload to your project (always latest):
curl -o .windsurfrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/main/standalone/.windsurfrulesOr pin to a specific version:
curl -o .windsurfrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/v1.0.0/standalone/.windsurfrules# Add the marketplace
/plugin marketplace add DryRunSecurity/external-plugin-marketplace
# Install the remediation plugin
/plugin install dryrun-remediation@dryrunsecurity
# Install the PR review workflow plugin
/plugin install dryrun-pr-review@dryrunsecurityRecommended: pre-approve the CLI tools to avoid repeated permission prompts during the PR workflow. Run this once after installing:
/permissions allow Bash(git:*)
/permissions allow Bash(gh:*)
/permissions allow Bash(glab:*)Or add them to your project's .claude/settings.json:
{
"permissions": {
"allow": ["Bash(git:*)", "Bash(gh:*)", "Bash(glab:*)"]
}
}Download or copy standalone/RULES.md into your AI assistant's system prompt or rules configuration.
All skill files include a version number in their header:
# Version: 1.0.0
mainbranch - Always contains the latest version- Git tags (
v1.0.0,v1.1.0, etc.) - Pinned releases
Option 1: Always latest (recommended for most users)
# Re-run the curl command to get the latest
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/main/standalone/.cursorrulesOption 2: Pin to a version
# Use a specific tag
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/v1.0.0/standalone/.cursorrulesLook at the top of your rules file:
# DryRunSecurity AI Assistant Instructions
# Version: 1.0.0
Compare with the latest release.
Share the finding with your AI assistant:
"DryRunSecurity found a SQL injection vulnerability in my PR.
Here's the comment: [paste comment]. Can you help me fix it?"
Or point directly to the file:
"Fix the SQL injection in src/handlers/user.go line 45"
The skill guides the assistant to:
- Read and understand your affected code
- Find how similar issues are handled elsewhere in your codebase
- Research the authoritative fix for your framework/version
- Apply a fix that matches your existing patterns
- Explain why it was vulnerable and why the fix works
"Create a PR for my changes"
"Submit this for review"
"Push and open a pull request"
The skill will detect whether you're on GitHub or GitLab, discover your repo's existing branch and commit conventions, open the PR/MR, then poll for DryRunSecurity comments and present them to you for decisions.
The skill works for any vulnerability DryRunSecurity identifies, including:
- SQL Injection, XSS, CSRF, SSRF
- IDOR, Mass Assignment, Auth Bypass
- Hardcoded Secrets, Path Traversal
- Command Injection, Prompt Injection
- Race Conditions, Deserialization issues
- Cryptographic weaknesses
- And any other security finding
Description: Fix security vulnerabilities identified by DryRunSecurity. Provides guided remediation for SQL injection, XSS, SSRF, IDOR, and other security findings.
Version: 1.0.1
Skills included:
| Skill | Description |
|---|---|
remediation |
Researches authoritative sources and applies contextual fixes for DryRunSecurity findings |
When to use:
- DryRunSecurity leaves a finding comment on your PR
- You want guided, codebase-aware remediation for a security vulnerability
Example usage:
DryRunSecurity found a SQL injection in my PR. Here's the comment: [paste]. Can you fix it?
Description: PR workflow automation — creates commits, branches, and PRs following conventions, then polls for and addresses DryRunSecurity review comments.
Version: 1.0.0
Skills included:
| Skill | Description |
|---|---|
dryrun-pr-review |
Full PR lifecycle: branch, commit, push, PR creation, DryRunSecurity review polling |
When to use:
- Creating a new pull request
- Pushing changes for DryRunSecurity review
- Waiting on and addressing DryRunSecurity PR feedback
Example usage:
Create a PR for my changes
Submit this for review
Features:
- Detects GitHub vs GitLab automatically from git remote
- Discovers and follows your repo's existing branch and commit conventions
- Saves discovered conventions to
.claude/pr-conventions.mdfor future runs - Polls for DryRunSecurity review comments (timestamp-based, reliable across edits)
- Presents findings to user for decisions — does not auto-fix
- Loops: apply fixes → push → re-poll until DryRunSecurity is satisfied
external-plugin-marketplace/
├── .claude-plugin/
│ └── marketplace.json # Claude Code marketplace config
├── plugins/
│ ├── dryrun-remediation/
│ │ ├── .claude-plugin/
│ │ │ └── plugin.json # Plugin manifest
│ │ └── skills/
│ │ └── remediation/
│ │ ├── SKILL.md
│ │ ├── DRYRUN_FILTERING.md
│ │ ├── FINDING_FORMAT.md
│ │ └── VULNERABILITY_TYPES.md
│ └── dryrun-pr-review/
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin manifest
│ └── skills/
│ └── dryrun-pr-review/
│ └── SKILL.md
├── standalone/
│ ├── .cursorrules # For Cursor IDE
│ ├── .windsurfrules # For Windsurf IDE
│ ├── RULES.md # Generic (VS Code, Codex, etc.)
│ └── copilot-instructions.md # For GitHub Copilot (.github/copilot-instructions.md)
├── CONTRIBUTING.md # Development workflow
├── CHANGELOG.md # Version history
└── README.md
- Documentation: https://docs.dryrunsecurity.com
- Issues: https://github.com/DryRunSecurity/external-plugin-marketplace/issues
- Contact: support@dryrunsecurity.com