Skip to content

HikaruEgashira/parsentry

Repository files navigation

Parsentry Logo

AI-only scanners are slow and miss vulnerabilities.

Parsentry uses static analysis to enumerate patterns, then orchestrates AI agents for deep inspection. Scan large repositories 10x faster (or more) while catching what others miss.

Ask DeepWiki

How it works

  1. Pattern Enumeration — Tree-sitter finds security-relevant code paths with PAR framework
  2. AI Orchestration — Agents analyze each pattern in parallel
  3. Universal — Support C, C++, Go, Java, JavaScript, Python, Ruby, Rust, TypeScript, Terraform
Run 1 Run 2 Run 3

Installation

mise use -g github:HikaruEgashira/parsentry

Download the latest release for your platform from GitHub Releases:

Usage

# Analyze a GitHub repository
parsentry owner/repository

# Analyze with Claude Code CLI
parsentry owner/repository --agent claude-code

# Analyze a local directory
parsentry /path/to/code

# Generate security patterns
parsentry owner/repository --generate-patterns

Command Line Options

❯ parsentry --help

Usage: parsentry [OPTIONS] [TARGET]

Arguments:
  [TARGET]  Target to analyze: local path or GitHub repository (owner/repo)

Core Options:
  -a, --analyze <ANALYZE>                Analysis target
  -m, --model <MODEL>                    [default: gpt-5.1-codex]
      --output-dir <OUTPUT_DIR>          [default: ./reports]
      --generate-patterns                Generate security patterns
      --language <LANGUAGE>              [default: ja]

Agent Options:
      --agent <AGENT>                    [default: genai]
                                         Possible values: genai, claude-code
      --agent-poc                        Enable PoC execution

Multi-Repository Variant Analysis (MVRA):
      --mvra                             Enable multi-repository variant analysis
      --search-query <MVRA_SEARCH_QUERY> GitHub search query for MVRA
      --code-query <MVRA_CODE_QUERY>     Code search query for MVRA
      --max-repos <MVRA_MAX_REPOS>       Max repos to analyze [default: 10]

Example Reports

Security

This tool is intended for security research and educational purposes only. Do not use the example vulnerable applications in production environments.

License

AGPL 3.0

About

Code Scanner for AI (formaly vulnhuntrs) 🎯

Topics

Resources

License

Stars

Watchers

Forks

Contributors 7