Security Test Scanner
Security vulnerability scanner covering OWASP Top 10, injection flaws, XSS, CSRF, and authentication issues.
When to Use
Use this skill when:
- Scanning applications for security vulnerabilities
- Conducting security audits and assessments
- Testing for OWASP Top 10 vulnerabilities
- Checking injection flaws (SQL, NoSQL, OS command)
- Verifying XSS and CSRF protections
- Testing authentication and authorization
- Security testing in CI/CD pipelines
- Penetration testing preparation
Key Concepts
OWASP Top 10
- Broken Access Control
- Cryptographic Failures
- Injection (SQL, NoSQL, OS, LDAP)
- Insecure Design
- Security Misconfiguration
- Vulnerable/Outdated Components
- Identification & Authentication Failures
- Software & Data Integrity Failures
- Security Logging & Monitoring Failures
- Server-Side Request Forgery (SSRF)
Common Vulnerabilities
- Injection: SQL, NoSQL, OS command, LDAP
- XSS: Reflected, stored, DOM-based
- CSRF: Cross-site request forgery
- SSRF: Server-side request forgery
- XXE: XML external entity injection
- IDOR: Insecure direct object references
- Path Traversal: Directory traversal
- Authentication Issues: Weak passwords, session fixation
Security Tools
- OWASP ZAP: Web application security scanner
- Burp Suite: Professional penetration testing
- SQLMap: SQL injection detection
- Nikto: Web server scanner
- Nuclei: Fast vulnerability scanner
- Semgrep: Static code analysis
- Snyk: Dependency vulnerability scanning
- Trivy: Container security scanner
Patterns and Practices
Security Testing Workflow
- Reconnaissance (information gathering)
- Vulnerability scanning (automated)
- Manual testing (manual exploits)
- Authentication/authorization testing
- Session management testing
- Input validation testing
- Error handling analysis
- Business logic testing
- Report generation and remediation
Static Analysis (SAST)
- Scan code before deployment
- Check for security anti-patterns
- Detect hardcoded secrets and credentials
- Validate secure coding practices
- Identify dependency vulnerabilities
Dynamic Analysis (DAST)
- Test running applications
- Simulate real attacks
- Test authentication flows
- Verify security headers
- Check input validation
Best Practices
- Security testing throughout SDLC (shift left)
- Combine automated and manual testing
- Regular dependency updates and scanning
- Implement security headers (CSP, X-Frame-Options)
- Use HTTPS everywhere
- Implement rate limiting
- Log security events
- Regular security training
Tools by Language
JavaScript/Node.js
npm audit
npx snyk test
npx semgrep --config auto
Python
pip install bandit
bandit -r src/
pip install safety
safety check
Dependency Scanning
npm audit
pip-audit
snyk test
trivy image myapp:latest
CI/CD Integration
GitHub Actions
- name: Run security scan
uses: snyk/actions/node@master
- name: Run SAST
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_JAVASCRIPT_ES: true
File Patterns
Look for:
**/security/**/*
**/*security*.{js,ts,py,java}
**/auth/**/*
**/tests/security/**/*
**/pentest/**/*
Keywords
Security scan, vulnerability scanner, OWASP Top 10, injection flaw, XSS, CSRF, SSRF, SQL injection, penetration testing, security audit, SAST, DAST, security testing, authentication, authorization