LeakGuard is a CLI analyzer for resource lifecycle leaks on execution paths. It uses a hybrid approach:
- deterministic path checks for obvious leaks,
- optional LLM modeling for ambiguous functions,
- verification and reporting with stable finding identifiers.
npm install -g leakguardleakguard scan .
leakguard scan src --format json --output leakguard.json
leakguard demo --language gonpm install
npm run build
npm test