aiskillstore/marketplace / skills/0x8506/vibe-security
vibe-security
VerifiedSecurity intelligence for code analysis. Detects SQL injection, XSS, CSRF, authentication issues, crypto failures, and more. Actions: scan, analyze, fix, audit, check, review, secure, validate, sanitize, protect. Languages: JavaScript, TypeScript, Python, PHP, Java, Go, Ruby. Frameworks: Express, Django, Flask, Laravel, Spring, Rails. Vulnerabilities: SQL injection, XSS, CSRF, authentication bypass, authorization issues, command injection, path traversal, insecure deserialization, weak crypto, sensitive data exposure. Topics: input validation, output encoding, parameterized queries, password hashing, session management, CORS, CSP, security headers, rate limiting, dependency scanning.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 14.2 KB |
| data/advanced-patterns.csv | other | 3.0 KB |
| data/compliance-mapping.csv | other | 2.1 KB |
| data/fix-templates.csv | other | 2.4 KB |
| data/frameworks.csv | other | 1.1 KB |
| data/iac-security.csv | other | 2.2 KB |
| data/languages-extended.csv | other | 1.7 KB |
| data/patterns.csv | other | 1.5 KB |
| data/rules.csv | other | 1.5 KB |
| data/supply-chain.csv | other | 839 B |
| data/vulnerabilities.csv | other | 1.4 KB |
| scripts/ast_analyzer.pyexecutable | script | 9.2 KB |
| scripts/autofix_engine.pyexecutable | script | 11.7 KB |
| scripts/core.pyexecutable | script | 4.0 KB |
| scripts/cve_integration.pyexecutable | script | 9.9 KB |
| scripts/dataflow_analyzer.pyexecutable | script | 10.6 KB |
| scripts/fix_engine.pyexecutable | script | 13.8 KB |
| scripts/reporter.pyexecutable | script | 13.5 KB |
| scripts/search.pyexecutable | script | 3.0 KB |
| skill-report.json | config | 152.3 KB |
data/fix-templates.csv
View on GitHubvulnerability,language,unsafe_pattern,safe_fix,explanation,test_template
sql-injection,javascript,"db.query(`SELECT * FROM users WHERE id = ${id}`)","db.query('SELECT * FROM users WHERE id = $1', [id])","Use parameterized queries to prevent SQL injection","test('should prevent SQL injection', () => { expect(() => query(userId)).not.toThrow(); });"
xss,javascript,"element.innerHTML = userInput","element.textContent = userInput","Use textContent to prevent XSS attacks","test('should escape HTML', () => { expect(element.innerHTML).not.toContain('<script>'); });"
command-injection,python,"os.system(f'ls {user_dir}')","subprocess.run(['ls', user_dir], check=True)","Use subprocess with list arguments","def test_no_injection(): assert subprocess.run(['ls', 'test']) is not None"
weak-crypto,javascript,"crypto.createHash('md5')","crypto.createHash('sha256')","Use SHA-256 or stronger algorithms","test('should use strong hash', () => { expect(hash.algorithm).toBe('sha256'); });"
hardcoded-secret,javascript,"const API_KEY = 'sk-1234'","const API_KEY = process.env.API_KEY","Use environment variables for secrets","test('should load from env', () => { expect(process.env.API_KEY).toBeDefined(); });"
path-traversal,javascript,"fs.readFile(userPath)","const safe = path.resolve(baseDir, path.normalize(userPath).replace(/^(\\.\\.[/\\\\])+/, ''))","Validate and sanitize file paths","test('should prevent traversal', () => { expect(safePath).not.toContain('..'); });"
csrf,javascript,"app.post('/transfer', handler)","app.post('/transfer', csrf(), handler)","Add CSRF protection middleware","test('should require CSRF token', async () => { const res = await request(app).post('/transfer'); expect(res.status).toBe(403); });"
deserialization,python,"pickle.loads(user_data)","json.loads(user_data)","Use JSON instead of pickle for user data","def test_safe_deserialize(): assert json.loads(data) is not None"
jwt-confusion,javascript,"jwt.verify(token, secret)","jwt.verify(token, secret, { algorithms: ['HS256'] })","Explicitly specify allowed algorithms","test('should enforce algorithm', () => { expect(() => verify(token)).not.toThrow(); });"
ssrf,javascript,"fetch(`http://${userUrl}`)","fetch(userUrl).then(res => { if (!isAllowedDomain(res.url)) throw new Error(); })","Validate URLs and whitelist domains","test('should block SSRF', async () => { await expect(fetch('http://internal')).rejects.toThrow(); });"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |