AI-powered security code scanner for GitHub repositories. Combines secret detection, static analysis, dependency scanning, and LLM-based triage into a single pipeline.
GitHub API โ Repo Ingestion โ Pre-Processing โ โฌโ Secret Scanner (TruffleHog + regex)
โโ Static Analyzer (Semgrep + built-in rules)
โโ Dependency Scanner (OSV.dev + npm/pip audit)
โ
AI Agent Layer (triage, exploitability)
โ
Risk Engine (dedup, score, correlate)
โ
Reports (JSON + Markdown + DB)
# Install
pip install -e .
# Scan a GitHub repo
remote-vibe-execution scan https://github.com/owner/repo
# Scan a local directory
remote-vibe-execution scan ./my-project
# With AI triage (OpenAI)
export AI_API_KEY="sk-..."
remote-vibe-execution scan https://github.com/owner/repo --ai-provider openai
# With AI triage (Anthropic)
export AI_API_KEY="sk-ant-..."
remote-vibe-execution scan https://github.com/owner/repo --ai-provider anthropic --ai-model claude-sonnet-4-20250514
# Search GitHub repos
remote-vibe-execution search "django vulnerable app"- Python 3.10+
- Git
# TruffleHog - better secret detection
brew install trufflehog # or: pip install trufflehog
# Semgrep - advanced static analysis
pip install semgrep
# pip-audit - Python dependency auditing
pip install pip-auditgit clone <this-repo>
cd remote-vibe-execution
pip install -e .remote-vibe-execution scan TARGET [OPTIONS]
TARGET: GitHub URL or local path
Options:
--github-token TEXT GitHub token (or set GITHUB_TOKEN env var)
--ai-provider TEXT AI provider: openai, anthropic, none
--ai-key TEXT AI API key (or set AI_API_KEY env var)
--ai-model TEXT AI model name
-o, --output TEXT Output directory (default: ./output)
-f, --format TEXT Output format: json, markdown (repeatable)
--no-secrets Disable secret scanning
--no-static Disable static analysis
--no-deps Disable dependency scanning
--no-ai Disable AI triage
--min-severity TEXT Minimum severity: critical, high, medium, low, info
--config TEXT YAML config file
--semgrep-rules TEXT Additional Semgrep rule packs (repeatable)
Copy config.example.yaml to config.yaml and customize:
cp config.example.yaml config.yaml
remote-vibe-execution scan https://github.com/owner/repo --config config.yamlexport GITHUB_TOKEN="ghp_..." # GitHub API access
export AI_API_KEY="sk-..." # OpenAI or Anthropic key
export AI_PROVIDER="openai" # or "anthropic"
export AI_MODEL="gpt-4o" # Model name- TruffleHog integration (if installed) for high-fidelity secret detection
- Built-in regex patterns for 13+ secret types (AWS, GitHub, Stripe, JWT, etc.)
- False positive filtering for example/template files and placeholder values
- Automatic secret redaction in reports
- Semgrep integration with OWASP Top 10 and security audit rule packs
- Built-in rules for Python, JavaScript, Go, and generic patterns
- Detects: SQL injection, command injection, XSS, SSRF, deserialization, weak crypto, etc.
- Custom Semgrep rules support via
rules/directory
- OSV.dev API for cross-ecosystem vulnerability lookup
- npm audit for Node.js projects
- pip-audit for Python projects
- Supports: npm, PyPI, Go, RubyGems, Maven, crates.io
- Parses: package.json, requirements.txt, Pipfile, pyproject.toml, go.mod, Gemfile, pom.xml, Cargo.toml
- LLM-powered false positive detection
- Exploitability assessment with code context
- Severity adjustment based on data flow analysis
- Supports OpenAI (GPT-4o) and Anthropic (Claude)
Full structured data including all findings, metadata, and AI assessments.
Human-readable report with severity breakdown, code snippets, remediation advice, and false positive tracking.
TinyDB-based scan history for tracking findings over time.
remote-vibe-execution/
โโโ scanner/
โ โโโ __init__.py
โ โโโ cli.py # CLI entrypoint
โ โโโ config.py # Configuration models
โ โโโ models.py # Data models (Finding, Report, etc.)
โ โโโ github_client.py # GitHub API + repo cloning
โ โโโ preprocessor.py # File filtering, chunking, dep extraction
โ โโโ orchestrator.py # Main pipeline orchestrator
โ โโโ ai_agent.py # AI triage + data flow analysis
โ โโโ risk_engine.py # Dedup, correlation, scoring
โ โโโ reporters.py # JSON, Markdown, DB output
โโโ scanners/
โ โโโ __init__.py # Base scanner class
โ โโโ secret_scanner.py # TruffleHog + regex secrets
โ โโโ static_analyzer.py # Semgrep + built-in rules
โ โโโ dependency_scanner.py # OSV + npm/pip audit
โโโ rules/
โ โโโ custom_rules.yml # Custom Semgrep rules
โโโ config.example.yaml
โโโ pyproject.toml
โโโ README.md
Add .yml files to the rules/ directory following Semgrep rule syntax.
Add regex patterns to scanners/static_analyzer.py โ BUILTIN_RULES dict.
Add patterns to scanners/secret_scanner.py โ SECRET_PATTERNS dict.
MIT