Skip to content

aiskillstore/marketplace / skills/0x8506/vibe-security

vibe-security

Verified

Security 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.

FileKindSize
SKILL.mdskill md14.2 KB
data/advanced-patterns.csvother3.0 KB
data/compliance-mapping.csvother2.1 KB
data/fix-templates.csvother2.4 KB
data/frameworks.csvother1.1 KB
data/iac-security.csvother2.2 KB
data/languages-extended.csvother1.7 KB
data/patterns.csvother1.5 KB
data/rules.csvother1.5 KB
data/supply-chain.csvother839 B
data/vulnerabilities.csvother1.4 KB
scripts/ast_analyzer.pyexecutablescript9.2 KB
scripts/autofix_engine.pyexecutablescript11.7 KB
scripts/core.pyexecutablescript4.0 KB
scripts/cve_integration.pyexecutablescript9.9 KB
scripts/dataflow_analyzer.pyexecutablescript10.6 KB
scripts/fix_engine.pyexecutablescript13.8 KB
scripts/reporter.pyexecutablescript13.5 KB
scripts/search.pyexecutablescript3.0 KB
skill-report.jsonconfig152.3 KB

scripts/search.py

View on GitHub
#!/usr/bin/env python3
"""
Search utility for Vibe Security skill
Usage: python3 search.py "<keyword>" --domain <domain> [-n <max_results>]
"""
import argparse
import sys
from pathlib import Path

# Add parent directory to path to import core
sys.path.insert(0, str(Path(__file__).parent))
from core import (
    search_vulnerabilities,
    search_patterns,
    search_rules,
    search_frameworks,
    format_result
)


def main():
    parser = argparse.ArgumentParser(
        description="Search Vibe Security knowledge base",
        formatter_class=argparse.RawDescriptionHelpFormatter,
        epilog="""
Examples:
  # Search for SQL injection vulnerabilities
  python3 search.py "sql" --domain vulnerability
  
  # Search for JavaScript security patterns
  python3 search.py "javascript" --domain pattern
  
  # Search for authentication rules
  python3 search.py "auth" --domain rule
  
  # Get Express.js security best practices
  python3 search.py "express" --domain framework
  
  # Search JavaScript patterns with critical severity
  python3 search.py "javascript" --domain pattern --severity critical
        """
    )
    
    parser.add_argument(
        "keyword",
        help="Keyword to search for"
    )
    
    parser.add_argument(
        "--domain",
        choices=["vulnerability", "pattern", "rule", "framework"],
        default="vulnerability",
        help="Domain to search in (default: vulnerability)"
    )
    
    parser.add_argument(
        "--language",
        help="Filter patterns by language (javascript, python, php, etc.)"
    )
    
    parser.add_argument(
        "--severity",
        choices=["critical", "high", "medium", "low"],
        help="Filter by severity level"
    )
    
    parser.add_argument(
        "-n", "--max-results",
        type=int,
        default=5,
        help="Maximum number of results (default: 5)"
    )
    
    args = parser.parse_args()
    
    # Perform search based on domain
    results = []
    result_type = args.domain
    
    if args.domain == "vulnerability":
        results = search_vulnerabilities(args.keyword, args.max_results)
    elif args.domain == "pattern":
        results = search_patterns(
            language=args.language or args.keyword,
            severity=args.severity,
            max_results=args.max_results
        )
    elif args.domain == "rule":
        results = search_rules(args.keyword, args.max_results)
    elif args.domain == "framework":
        results = search_frameworks(args.keyword)
    
    # Display results
    if not results:
        print(f"No results found for '{args.keyword}' in {args.domain} domain.")
        return
    
    print(f"\n{'='*60}")
    print(f"Search Results: '{args.keyword}' in {args.domain.upper()}")
    print(f"{'='*60}")
    
    for i, result in enumerate(results, 1):
        print(f"\n--- Result {i} ---")
        print(format_result(result, result_type))
    
    print(f"\n{'='*60}")
    print(f"Found {len(results)} result(s)")
    print(f"{'='*60}\n")


if __name__ == "__main__":
    main()
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall