docs / cli/dev-audit
Dev Audit
AI-backed security review of a file, directory, or staged diff.
Overview
Dev Audit submits your code to the ekmire LLM router for semantic security analysis. Useful for ad-hoc reviews — audit a new dependency, check a sensitive module, scan for OWASP LLM Top-10 patterns. Requires authentication.
Usage
$ ekmire dev-audit src/auth.py # single file
$ ekmire dev-audit src/ # directory (scans .py, .js, .ts, .go, .rb, .java)
$ ekmire dev-audit --diff # staged git diff (use in pre-commit hook with --ai)
Findings are printed to the terminal and posted to the dashboard under Events → Source: dev_audit.
Usage limits
ekmire Inference: limited calls/month on Free. BYOK: unlimited. Configure your provider in the dashboard under project Settings → LLM router.