Show HN: Interlock, an open shell command safety classifier
Category: security
Tags: shell, security, ml-classifier, command-safety, ai-agents
Score: 8.0/10 (Innovation: 8, Technical: 9, Documentation: 8, Utility: 7)
Interlock is a Go CLI that classifies shell commands as safe or risky using a hybrid of shell parsing, obfuscation detection, and an embedded 16.9M-parameter INT8 ModernBERT model, then applies a deterministic policy engine for allow/deny decisions. It targets AI agent safety by gating command execution, with strong benchmarks and a well-designed audit/approval flow. The project is technically ambitious and fills a real gap for sandboxed agent tooling.
Target audience: AI agent developers, platform engineers, devops, security engineers
Repository: https://gauss.motor.dev/motor/interlock
View on Hacker News