File contents Security Audit
Perform comprehensive security assessment: $ARGUMENTS
Current Environment
Dependency scan: !npm audit --audit-level=moderate 2>/dev/null || pip check 2>/dev/null || echo "No package manager detected"
Environment files: @.env* (if exists)
Security config: @.github/workflows/security.yml or @security/ (if exists)
Recent commits: !git log --oneline --grep="security\|fix" -10
Task
Perform systematic security audit following these steps:
Environment Setup
Identify the technology stack and framework
Check for existing security tools and configurations
Review deployment and infrastructure setup
Dependency Security
Scan all dependencies for known vulnerabilities
Check for outdated packages with security issues
Review dependency sources and integrity
Use appropriate tools: npm audit, pip check, cargo audit, etc.
Authentication & Authorization
Review authentication mechanisms and implementation
Check for proper session management
Verify authorization controls and access restrictions
Examine password policies and storage
Input Validation & Sanitization
Check all user input validation and sanitization
Look for SQL injection vulnerabilities
Identify potential XSS (Cross-Site Scripting) issues
Review file upload security and validation
Data Protection
Identify sensitive data handling practices
Check encryption implementation for data at rest and in transit
Review data masking and anonymization practices
Verify secure communication protocols (HTTPS, TLS)
Secrets Management
Scan for hardcoded secrets, API keys, and passwords
Check for proper secrets management practices
Review environment variable security
Identify exposed configuration files
Error Handling & Logging
Review error messages for information disclosure
Check logging practices for security events
Verify sensitive data is not logged
Assess error handling robustness
Infrastructure Security
Review containerization security (Docker, etc.)
Check CI/CD pipeline security
Examine cloud configuration and permissions
Assess network security configurations
Security Headers & CORS
Check security headers implementation
Review CORS configuration
Verify CSP (Content Security Policy) settings
Examine cookie security attributes
Reporting
Document all findings with severity levels (Critical, High, Medium, Low)
Provide specific remediation steps for each issue
Include code examples and file references
Create an executive summary with key recommendations
Use automated security scanning tools when available and provide manual review for complex security patterns.
1 --- 2 name: 1795-security-audit-2aea97ad 3 description: Security Audit 4 --- 5 6 # Security Audit 7 8 Perform comprehensive security assessment: $ARGUMENTS 9 10 ## Current Environment 11 12 - Dependency scan: !`npm audit --audit-level=moderate 2>/dev/null || pip check 2>/dev/null || echo "No package manager detected"` 13 - Environment files: @.env* (if exists) 14 - Security config: @.github/workflows/security.yml or @security/ (if exists) 15 - Recent commits: !`git log --oneline --grep="security\|fix" -10` 16 17 ## Task 18 19 Perform systematic security audit following these steps: 20 21 1. **Environment Setup** 22 - Identify the technology stack and framework 23 - Check for existing security tools and configurations 24 - Review deployment and infrastructure setup 25 26 2. **Dependency Security** 27 - Scan all dependencies for known vulnerabilities 28 - Check for outdated packages with security issues 29 - Review dependency sources and integrity 30 - Use appropriate tools: `npm audit`, `pip check`, `cargo audit`, etc. 31 32 3. **Authentication & Authorization** 33 - Review authentication mechanisms and implementation 34 - Check for proper session management 35 - Verify authorization controls and access restrictions 36 - Examine password policies and storage 37 38 4. **Input Validation & Sanitization** 39 - Check all user input validation and sanitization 40 - Look for SQL injection vulnerabilities 41 - Identify potential XSS (Cross-Site Scripting) issues 42 - Review file upload security and validation 43 44 5. **Data Protection** 45 - Identify sensitive data handling practices 46 - Check encryption implementation for data at rest and in transit 47 - Review data masking and anonymization practices 48 - Verify secure communication protocols (HTTPS, TLS) 49 50 6. **Secrets Management** 51 - Scan for hardcoded secrets, API keys, and passwords 52 - Check for proper secrets management practices 53 - Review environment variable security 54 - Identify exposed configuration files 55 56 7. **Error Handling & Logging** 57 - Review error messages for information disclosure 58 - Check logging practices for security events 59 - Verify sensitive data is not logged 60 - Assess error handling robustness 61 62 8. **Infrastructure Security** 63 - Review containerization security (Docker, etc.) 64 - Check CI/CD pipeline security 65 - Examine cloud configuration and permissions 66 - Assess network security configurations 67 68 9. **Security Headers & CORS** 69 - Check security headers implementation 70 - Review CORS configuration 71 - Verify CSP (Content Security Policy) settings 72 - Examine cookie security attributes 73 74 10. **Reporting** 75 - Document all findings with severity levels (Critical, High, Medium, Low) 76 - Provide specific remediation steps for each issue 77 - Include code examples and file references 78 - Create an executive summary with key recommendations 79 80 Use automated security scanning tools when available and provide manual review for complex security patterns.
tools-only/X-Skills/tree/main/development/devops/1795-security-audit_2aea97ad commit 83f4d2092b
Frequently asked questions How do I install the 1795 Security Audit 2aea97ad skill? Run npx skillmds@latest add tools-only/1795-security-audit-2aea97ad in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the 1795 Security Audit 2aea97ad skill do? Security Audit It is listed under Security on SkillMD.
Is 1795 Security Audit 2aea97ad safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with 1795 Security Audit 2aea97ad? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is 1795 Security Audit 2aea97ad free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published 1795 Security Audit 2aea97ad? tools-only (@tools-only) published this skill. Their other Agent Skills are listed on their SkillMD profile.