Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ContextHound — Static analysis CLI that scans codebases for LLM prompt-injection, data-exfiltration, jailbreak, and unsafe agent/tool vulnerabilities. Runs fully offline, integrates with CI/CD, and outputs console, JSON, and SARIF reports. | Kitploit
Tools/GitHubGitHub/iulianvostrut/contexthound
Static AnalysisVulnerability ScannersCode AnalysisData ExfiltrationDevSecOpsSecret DetectionSupply Chain SecurityLearning & EducationAI Security
GitHubiulianvostrut/contexthound

ContextHound

Static analysis CLI that scans codebases for LLM prompt-injection, data-exfiltration, jailbreak, and unsafe agent/tool vulnerabilities. Runs fully offline, integrates with CI/CD, and outputs console, JSON, and SARIF reports.

2304 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View RepositoryWebsite
Share

ContextHound

Static analysis tool that scans your codebase for LLM prompt-injection and multimodal security vulnerabilities. Runs offline, no API calls required.

CI npm Node.js TypeScript License: MIT


The ContextHound ecosystem

ContextHound is available across your entire development and browsing workflow:

ToolWhat it doesInstall
CLI / npm packageScans your codebase for prompt injection vulnerabilities. Integrates with GitHub Actions, outputs SARIF, JSON, HTML, and more.npm install -g context-hound
VS Code extensionInline findings as you code, code actions, output channel, status bar.VS Code Marketplace
Browser extensionReal-time scan pill on any AI chat interface, DevTools panel for LLM API traffic, popup scanner. Chrome and Firefox.Firefox: Install free · Chrome: awaiting review · source

☕ Support the project

ko-fi "Buy Me A Coffee"


Why ContextHound?

As LLM-powered applications become common in production codebases, prompt injection has emerged as one of the most exploitable attack surfaces; most security scanners have no awareness of it.

ContextHound brings static analysis to your prompt layer:

  • Catches injection paths before they reach a model
  • Flags leaked credentials and internal infrastructure embedded in prompts
  • Detects jailbreak-susceptible wording in your system prompts
  • Identifies unconstrained agentic tool use that could be weaponised
  • Detects RAG corpus poisoning and retrieved content injected as system instructions
  • Catches encoding-based smuggling (Base64 instructions that bypass string filters)
  • Flags unsafe LLM output consumption: JSON without schema validation and Markdown without sanitization
  • Detects multimodal attack surfaces: user-supplied image URLs to vision APIs, path traversal via vision message file reads, transcription output fed into prompts, and OCR text injected into system instructions
  • Flags agentic risks: unbounded agent loops, unvalidated memory writes, plan injection, and tool parameters receiving system-prompt content
  • Rewards good security practice: mitigations in your prompts reduce your score

It fits into your existing workflow as a CLI command, an npm script, a pre-commit hook or a GitHub Action. It makes no network calls and has four small runtime dependencies.


Features

122 security rulesAcross 15 families: injection, exfiltration, jailbreak, unsafe tool use, command injection, RAG poisoning, encoding and hidden content, output handling, multimodal, agent skills, agentic, MCP, supply chain, resource consumption, persistence
OWASP mappingEvery rule carries OWASP Top 10 for LLM Applications (2025) and Agentic Applications (2026) IDs, shown in hound explain, --verbose, SARIF tags and all reports
Numeric risk score (0-100)Normalized repo-level score with low, medium, high and critical thresholds
Mitigation detectionExplicit safety language in your prompts reduces your score
9 output formatsConsole, JSON, SARIF, GitHub Annotations, Markdown, JSONL streaming, interactive HTML, CSV and JUnit XML
GitHub Action includedFails CI on risky changes, uploads SARIF to Code Scanning and can keep a summary comment on the pull request
Autofixhound fix previews and removes hidden Unicode characters (ENC-002 to ENC-005)
Multi-language scanningDetects LLM API usage in Python, Go, Rust, Java, C#, PHP, Ruby, Swift, Kotlin, Vue and Bash, not just TypeScript and JavaScript
Rule filteringexcludeRules/includeRules with prefix-glob syntax (CMD-*); minConfidence filter
Incremental cache.hound-cache.json skips unchanged files on re-runs; --no-cache to disable
Respects .gitignoreFiles git ignores are skipped; .houndignore adds exclusions in the same syntax
Plugin systemLoad custom rules from local .js files via "plugins": ["./my-rule.js"] in config
Baseline / diff mode--baseline results.json reports and fails only on findings absent from a prior scan; --diff scans only changed files
Watch mode--watch re-scans on file changes and shows delta findings
Parallel scanningConcurrent file processing (--concurrency <n>, default 8)
Fully offlineNo API calls and no telemetry

Installation

Global install adds the hound command to your PATH:

npm install -g context-hound

Per-project install is scoped to one repo and runs via npx hound or an npm script:

npm install --save-dev context-hound

Without installing, npx fetches and runs the package:

npx context-hound scan --dir .

Quick Start

# Scaffold a config file
hound init

# Scan your project
hound scan --dir ./my-ai-project

# Or via npm script (scans current directory)
npm run hound

# Verbose output, shows remediations and confidence levels
hound scan --verbose

# Fail the build on any critical finding
hound scan --fail-on critical

# Export JSON and SARIF reports
hound scan --format console,json,sarif --out results

# GitHub Annotations (for CI step summaries)
hound scan --format github-annotations

# Markdown report with findings tables
hound scan --format markdown --out report

# Stream findings as JSONL (one JSON object per line)
hound scan --format jsonl | jq '.severity'

# List all rules
hound scan --list-rules

# Explain a rule (or a rule family by prefix)
hound explain INJ-001
hound explain PST --format json

# Fast PR gate: scan only files changed vs. origin/main
hound scan --diff

# Interactive HTML report (self-contained, open in browser)
hound scan --format html --out report

# Re-scan on file changes
hound scan --watch

# Parallel scanning (default is 8; tune for your machine)
hound scan --concurrency 16

# Disable incremental cache for a clean run
hound scan --no-cache

# Also scan files that git ignores (skipped by default)
hound scan --no-gitignore

# Preview, then remove, hidden Unicode characters flagged by ENC-002 to ENC-005
hound fix
hound fix --write

# Baseline mode: only report findings new since the last saved scan
hound scan --format json --out baseline          # save a baseline
hound scan --baseline baseline.json             # compare future scans against it

# Load a custom rule from a local plugin file
hound scan  # plugin declared in .contexthoundrc.json "plugins" field

# Only run high-confidence rules
hound scan --config .contexthoundrc.json  # set minConfidence: "high"

# Fail if any single file scores >= 40
hound scan --fail-file-threshold 40

# Scan files up to 5 MB (default limit is 1 MiB; 0 = no limit)
hound scan --max-file-size 5242880

Exit codes:

Download Tool