@runhalo/cli
v1.3.1
Published
Halo CLI -- COPPA compliance scanner for children's apps. Scan any codebase for COPPA violations.
Downloads
202
Maintainers
Readme
@runhalo/cli
Halo CLI — scan your codebase for children's privacy compliance risks.
What It Does
One command scans your codebase for COPPA violations, dark patterns, unauthorized data collection, missing consent flows, and age verification gaps. It reads your code the way a regulator would.
COPPA 2.0 enforcement begins April 22, 2026. Penalties up to $53,088 per violation per day.
Quickstart
# Scan current directory
npx runhalo scan .
# JSON output for CI pipelines
npx runhalo scan . --format json
# SARIF output for GitHub Security tab
npx runhalo scan . --format sarif --output results.sarif
# Filter by severity
npx runhalo scan . --severity critical,highExample Output
Halo v1.2.2
Scanning... 142 files analyzed
src/auth/social-login.ts:24
coppa-auth-001 Unverified social login detected CRITICAL
src/services/analytics.ts:89
coppa-tracking-003 Third-party ad tracker found HIGH
src/components/Chat.tsx:15
coppa-ext-011 Unmoderated third-party chat HIGH
3 potential issues found | 142 files scanned | Score: 82/100 (B)What's Included
Free: 25 COPPA rules (US children's privacy law), AI false positive filtering, JSON output.
Pro ($29/mo): 180+ rules across 13 jurisdictions, PDF/SARIF/HTML reports, GitHub Action for CI/CD, priority support.
Business ($99/mo): Everything in Pro plus compliance attestation, recurring scans with drift alerts, and team collaboration.
Suppression
// halo-ignore coppa-auth-001
const auth = signInWithPopup(provider);Output Formats
| Format | Flag | Use Case |
|:-------|:-----|:---------|
| Text | --format text (default) | Terminal output |
| JSON | --format json | CI pipelines, tooling |
| SARIF | --format sarif | GitHub Security tab |
Supported Languages
JavaScript, TypeScript, Python, Swift, Java, Kotlin, HTML, Vue, Svelte, SQL, and more.
Links
License
Apache 2.0 — Mindful Media
Halo identifies potential compliance risks in your codebase. It is not legal advice. Consult qualified legal counsel for compliance determinations.
