Top web vulnerabilities
Skill karim-bhalwani/agent-skills-collection/skills/top-web-vulnerabilities
Comprehensive reference for the OWASP Top 100 web vulnerabilities. Identifies vulnerable patterns, explains impacts, and provides remediation guidance across injection attacks, authentication flaws, data exposure, and advanced attack vectors.From its SKILL.md
npx -y skills add karim-bhalwani/agent-skills-collection --skill top-web-vulnerabilitiesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.7 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it
Top 100 Web Vulnerabilities
Comprehensive reference for the OWASP Top 100 most critical web application vulnerabilities.
When to Use This Skill
Use when:
- Identifying web application vulnerabilities during code review
- Explaining common security flaws to developers
- Understanding vulnerability categories and impacts
- Providing remediation guidance for security findings
- Testing for OWASP-listed vulnerabilities
- Building secure applications and avoiding known patterns
- Assessing application security posture
- Training on secure coding practices
Core Capabilities
- Injection & Input Validation - SQL, XSS, command, template injection attacks
- Authentication & Authorization - Session management, privilege escalation, IDOR
- Data Exposure & Configuration - Information disclosure, misconfiguration, missing headers
- Advanced Attacks - Deserialization, SSRF, DoS, race conditions
- API & Transport Security - Insecure APIs, MITM, TLS configuration
- Client-Side Security - DOM-based XSS, clickjacking, browser cache poisoning
- Business Logic Flaws - Workflow abuse, payment bypass, authorization logic
Vulnerability References
For detailed vulnerability guidance, see:
Injection & Input Validation Vulnerabilities
Use when: Identifying and fixing injection attacks
Covers:
- SQL Injection (OWASP #1)
- Cross-Site Scripting - XSS (OWASP #2)
- Command Injection (OWASP #5, #11)
- XML Injection variants (XXE, XPath, LDAP, SSTI)
- Server-Side Template Injection (OWASP #13)
Authentication & Authorization Flaws
Use when: Securing authentication and access control
Covers:
- Session Fixation (OWASP #14)
- Brute Force Attacks (OWASP #15)
- Session Hijacking (OWASP #16)
- Credential Stuffing (OWASP #22)
- IDOR - Insecure Direct Object References (OWASP #23, #42)
- Privilege Escalation (OWASP #41)
- Forceful Browsing (OWASP #43)
Data Exposure & Configuration Flaws
Use when: Protecting sensitive data and securing configuration
Covers:
- Data Leakage (OWASP #24)
- Unencrypted Data Storage (OWASP #25)
- Missing Security Headers (OWASP #26)
- Default Passwords (OWASP #28)
- Information Disclosure (OWASP #33)
- Unprotected APIs (OWASP #30)
- Misconfigured CORS (OWASP #35)
Advanced Attack Vectors
Use when: Addressing complex attack scenarios
Covers:
- Insecure Deserialization (OWASP #45-47)
- Server-Side Request Forgery - SSRF (OWASP #66)
- Distributed Denial of Service (OWASP #61, #62)
- Resource Exhaustion (OWASP #63)
- Request timeouts and rate limiting
Quick Vulnerability Lookup
| Category | OWASP # | Vulnerability | Reference |
|---|---|---|---|
| Injection | 1 | SQL Injection | Injection Vulnerabilities |
| Injection | 2 | Cross-Site Scripting (XSS) | Injection Vulnerabilities |
| Auth | 14 | Session Fixation | Auth & Authorization |
| Auth | 15 | Brute Force | Auth & Authorization |
| Auth | 16 | Session Hijacking | Auth & Authorization |
| Auth | 23 | IDOR | Auth & Authorization |
| Data | 24 | Data Leakage | Data Exposure |
| Data | 25 | Unencrypted Storage | Data Exposure |
| Data | 33 | Information Disclosure | Data Exposure |
| Advanced | 45 | Insecure Deserialization | Advanced Attacks |
| Advanced | 66 | SSRF | Advanced Attacks |
Assessment Workflow
Phase 1: Code Review
- Identify user input entry points (forms, APIs, cookies)
- Trace input through application (filters, validation, storage)
- Check for injection vulnerabilities (SQL, XSS, command)
- Verify authorization checks on sensitive operations
- Review encryption and data protection
Phase 2: Configuration Review
- Check security headers (CSP, HSTS, X-Frame-Options)
- Verify HTTPS/TLS configuration
- Review API authentication and rate limiting
- Audit access controls and IAM
- Check for default credentials and debug features
Phase 3: Testing
- Test authentication (brute force, session fixation)
- Test authorization (IDOR, privilege escalation)
- Test input validation (injection, XSS)
- Test rate limiting and DoS protections
- Test data encryption and HTTPS
Phase 4: Remediation
- Implement fixes with highest severity first
- Add unit/integration tests for vulnerabilities
- Perform regression testing
- Deploy with monitoring
- Document security improvements
Best Practices
Input & Output Handling
- ✅ Validate Input: Whitelist acceptable input patterns
- ✅ Encode Output: Escape data based on context (HTML, JavaScript, SQL)
- ✅ Parameterized Queries: Use prepared statements for databases
- ✅ Content Security Policy: Implement CSP headers
Authentication & Authorization
- ✅ Strong Passwords: Enforce complexity, minimum length
- ✅ MFA: Implement multi-factor authentication
- ✅ Rate Limiting: Limit failed login attempts
- ✅ Least Privilege: Grant minimum necessary permissions
- ✅ Session Security: HttpOnly, Secure, SameSite cookie flags
Data Protection
- ✅ Encryption in Transit: Use TLS 1.2+ with strong ciphers
- ✅ Encryption at Rest: Encrypt PII and sensitive data
- ✅ Secrets Management: Use vaults, never hardcode secrets
- ✅ Data Minimization: Only collect and store necessary data
- ✅ Access Logging: Audit and alert on sensitive data access
Security Configuration
- ✅ Security Headers: CSP, HSTS, X-Frame-Options, X-Content-Type-Options
- ✅ Disable Debug Mode: No stack traces or error details in production
- ✅ Change Defaults: Remove default credentials and configurations
- ✅ Patch Management: Keep frameworks, libraries, and OS updated
- ✅ Security Scanning: Regular SAST/DAST scans
Dependencies
- guardian - For security review and compliance verification
What ships with it: 5 files
23.2 KB alongside SKILL.md
references/
- advanced-attacks.md6.1 KB
- auth-authorization.md6.2 KB
- data-exposure-config.md6.2 KB
- injection-vulnerabilities.md4.5 KB
- sql_injection.md123 B