IsaHat
Open Source AI Security Auditor for Vibe-Coded Applications
Discover, validate, contextualise, prioritise and explain security issues in modern web apps, APIs and systems — from your terminal or a graphical app, sharing one audit engine.
What is IsaHat?
Applications increasingly ship with AI assistance ("vibe-coded"). They ship fast — and often carry the same recurring weaknesses: incomplete authentication, broken authorization, exposed secrets, weak APIs, missing validation, insecure configuration and forgotten endpoints.
IsaHat is a professional, free and open-source auditor built to find those issues safely. It does not just list alerts. For every finding it answers: what it is, where it was found, the evidence, the confidence level, the likely impact, whether it was actually confirmed, how to fix it, and how to verify the fix.
Important
Authorised use only. IsaHat is a defensive tool. Use it exclusively on systems you own, development/staging environments, security labs, and targets you are formally authorised to test (including legitimate bug bounty scope). Read RESPONSIBLE-USE.md before your first scan.
Highlights
- One engine, many front-ends. The CLI, the desktop app (Tauri + React,
apps/desktop) and the local bridge API (isahat serve) are thin shells overisahat.core. No important capability lives in only one UI. - Safe by default.
safeprofile, per-host rate limiting, mandatory scope confirmation, non-destructive checks, and automatic secret masking in evidence. - Severity and confidence, kept separate. A
CRITICALfinding withPOSSIBLEconfidence is never reported as confirmed. - Explainable findings. CWE/OWASP mapping, impact, remediation example and references for each result.
- Offline-first. Local SQLite storage, no telemetry, works without internet once installed.
Install
Requires Python 3.11+.
# from source (recommended during alpha)
git clone https://github.com/aislamsilvalol-ctrl/isahat.git
cd isahat
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
See INSTALLATION.md for Docker, PyPI (planned) and CI usage.
Quick start
# Audit a target you are authorised to test
isahat scan https://example.com
# JSON output, fail CI on high+ findings. Only the safe/web scan exists.
isahat scan https://api.example.com --format json --fail-on high
# Use a config file and write an HTML-free Markdown + JSON report
isahat scan https://example.com --format both -o report
# Review history
isahat list
isahat report <scan-id>
isahat compare <old-scan-id> <new-scan-id>
# Environment & detector health
isahat doctor
isahat plugins list
# Local bridge for the desktop app / other front-ends
isahat serve
The full command reference lives in docs/CLI.md.
Desktop app (Phase 3)
A Tauri + React + TypeScript shell over the same engine lives in
apps/desktop — dashboard, live audit view with streaming
progress, sanitized evidence, severity filters, finding review
(fixed/false-positive/accepted-risk), report export and audit comparison. It
talks to isahat serve over loopback; see the
desktop README for development setup.
Configuration (isahat.yml)
project:
name: example-app
target:
url: https://example.com
allowed_hosts:
- example.com
- api.example.com
scan:
profile: safe
concurrency: 5
timeout: 10
follow_redirects: true
scope:
include:
- /api/*
- /dashboard/*
exclude:
- /logout
- /delete-account
- /payments/*
report:
formats:
- json
- markdown
safety:
destructive_tests: false
rate_limit: 3
require_scope_confirmation: true
A ready-to-copy file is in examples/isahat.yml.
What IsaHat checks today
| Area | Checks |
|---|---|
| Security headers | Missing CSP, HSTS, X-Content-Type-Options, X-Frame-Options, Referrer-Policy; version disclosure |
| Session / cookies | Missing Secure / HttpOnly / SameSite on cookies |
| Sensitive files | Non-destructive allowlist probe (.git/HEAD, .env, .DS_Store, SQL backups) with content validation |
| CORS | Insecure Access-Control-Allow-Origin (arbitrary-origin reflection, wildcard, credentials) via a controlled Origin probe |
| Open redirect | Redirect-parameter tampering with a non-following Location probe |
| Reflected XSS | Benign marker reflected unencoded into HTML |
| SQL injection | Error-based detection via a single-quote probe (confidence-capped) |
| Path traversal / LFI | Read-only traversal payloads matched against system-file signatures |
| API surface | OpenAPI/Swagger discovery with operation inventory; GraphQL introspection check; excessive-data-exposure in JSON responses |
| Authenticated scans | Attach headers/cookies via --auth auth.json (secrets never stored) |
| Rate limiting | Opt-in (--rate-limit-check): controlled, capped GET burst on auth endpoints; stops at first 429 |
| Scan resume | Interrupted scans resume from the last checkpoint via --resume <scan-id> |
| Surface discovery | Scope-bound crawler, endpoint + form/parameter inventory, technology fingerprinting |
Reports: JSON, Markdown, HTML (self-contained), SARIF (code scanning) and CSV.
The ROADMAP.md covers the web scanner (Phase 2), desktop app (Phase 3), AI assistance (Phase 4) and the plugin/integration ecosystem (Phase 5).
Architecture
isahat/
├── src/isahat/
│ ├── core/ # the shared audit engine (scope, http, crawler, detectors, risk)
│ ├── cli/ # Typer CLI — a thin shell over core
│ ├── reporting/ # JSON / Markdown / HTML / SARIF / CSV / comparison reporters
│ └── storage/ # local SQLite persistence
├── tests/ # offline unit tests
├── labs/ # intentionally vulnerable sample targets
├── docs/ # architecture, methodology, ADRs, guides
└── .github/ # CI, issue/PR templates
Design details and decisions are in ARCHITECTURE.md and
the Architecture Decision Records under docs/adr/.
Contributing
Contributions are welcome. Start with CONTRIBUTING.md and the CODE_OF_CONDUCT.md. Security issues have a dedicated process in SECURITY.md.
License
Licensed under the Apache License 2.0. Rationale in docs/adr/0002-license.md.