auldsyababua/instructor-workflow/security-validation
Claude Code and agent skill by auldsyababua/instructor-workflow
- community
Checking that the SKILL.md file is still in the repository.
Pre-merge security validation detecting secrets, user-specific paths, insecure SSH configurations, and security-weakening flags. Use before committing code/documentation, before creating PRs, or during QA validation. Supports automated scanning with severity-based enforcement (CRITICAL blocks merge, HIGH requires fixes).
Install
npx vskill@latest install auldsyababua/instructor-workflow/security-validationSKILL.md
Security Validation
Comprehensive security scanning for code and documentation changes before merge. Detects and enforces remediation of:
- Secret exposure (API keys, tokens, passwords, credentials)
- Path portability issues (user-specific absolute paths)
- Insecure SSH configurations (disabled host verification)
- Security-weakening flags (without proper warnings)
When to Use
Execute security-validation at these critical gates:
- Before committing - Action Agent, Frontend Developer (catch issues early)
- Before creating PR - All implementation agents (pre-merge gate)
- During QA validation - QA Agent Step 8 (Security & Quality Gates)
- After security fixes - Verify remediation applied correctly
- When modifying security-sensitive code - Authentication, secrets management, configs
Validation Workflow
1. Run Automated Security Scan
Execute the security scanner script on your changes:
Scan entire repository:
Scan specific directory:
JSON output (for programmatic parsing):
Continue on CRITICAL findings (for reporting):
2. Interpret Scan Results
Text Output Format
JSON Output Format
3. Take Action Based on Severity
CRITICAL Findings β BLOCK MERGE
Action: Stop immediately, do NOT proceed with commit/PR.
Common CRITICAL findings:
- Secrets in documentation (
.md,.txt,.rst) - AWS credentials:
AKIA...,aws_access_key_id - Stripe keys:
sk_live_... - GitHub tokens:
ghp_... - Google API keys:
AIza... - User-specific paths in documentation
Resolution:
- Report to Action Agent with specific file:line references
- Request immediate fixes
- Re-run security scan after fixes
- Proceed only when CRITICAL findings = 0
Example Report:
HIGH Findings β REQUIRE FIXES
Action: Report to Action Agent, request fixes before approval.
Common HIGH findings:
- Secrets in code files
- User-specific paths in code
- Insecure SSH configurations
- Security-weakening flags without warnings
Resolution:
- Document each finding with file:line reference
- Provide remediation guidance (see
references/security-standards.md) - Request Action Agent fixes
- Re-run scan after fixes
- Approve when HIGH findings resolved or justified
Example Report:
MEDIUM Findings β REVIEW & JUSTIFY
Action: Review findings, accept if appropriate (e.g., has warning), or request fixes.
Common MEDIUM findings:
- Security-weakening flags WITH security warning present
- Potentially false positives
Resolution:
- Review context of each finding
- If legitimate need (e.g., development-only command with warning) β Accept
- If no justification β Request fix
- Document acceptance rationale
4. Generate Security Validation Report
Combine scan results with LLM review for comprehensive report:
Finding Categories Reference
secret_exposure (CRITICAL in docs, HIGH in code)
Hardcoded credentials, API keys, tokens, passwords detected. Action: Replace with environment variables or placeholders.
path_portability (CRITICAL in docs, HIGH in code)
User-specific absolute paths that won't work for other developers. Action: Convert to repo-relative paths.
ssh_security (HIGH)
Insecure SSH configurations bypassing host verification. Action: Enable StrictHostKeyChecking or use accept-new.
security_flags (HIGH without warning, MEDIUM with warning)
Commands using security-weakening flags. Action: Remove flag, add security warning, or justify usage.
Integration with Agent Workflows
QA Agent Integration
At Step 8: Security & Quality Gates:
- Run security-validation scan on changed files
- Interpret findings by severity
- BLOCK if CRITICAL findings present
- Request fixes for HIGH findings
- Review MEDIUM findings
- Include security report in final QA summary
Action Agent / Frontend Developer Integration
Before committing:
- Run security-validation scan locally
- Fix any CRITICAL or HIGH findings
- Commit only when scan is clean
- Include scan results in handoff to QA
After QA feedback:
- Re-run security scan after fixes
- Verify findings resolved
- Report clean scan to QA
Tracking Agent Integration
Before creating PR:
- Verify security scan has been run
- Confirm no CRITICAL findings
- Document scan results in PR description
Common Remediation Patterns
Secret Exposure
Wrong:
Right:
Documentation:
Path Portability
Wrong:
Right:
SSH Security
Wrong:
Right:
Security Flags
Wrong (no warning):
Right (with warning):
Resources
- Scripts:
scripts/security_scanner.sh- Automated security scanning with severity-based findings
- References:
references/security-standards.md- Detailed patterns, examples, remediation guidance, enforcement rules
Notes
- Run scanner BEFORE committing (catch issues early)
- CRITICAL findings MUST block merge (non-negotiable)
- HIGH findings should be fixed unless explicitly justified
- MEDIUM findings require review and documentation
- False positives: Verify manually, document rationale, consider refactoring to be more obvious
- Re-run scan after fixes to verify remediation
- Include scan results in QA reports and PR descriptions
Security
- Security scanPassed, 92 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/security-validation/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 8 May 2026, 6 months ago.
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/auldsyababua/instructor-workflow/security-validation)