
Stroq
Local security scanner and hook system for AI coding agents.
SecurityOpen sourceOpen source · verified#ai-security#secret-scanning#developer-tools
Listed by the ProductPerch team from Hacker News · not launched here yet
What is Stroq?
Stroq is a local security platform designed for AI coding agents such as Claude Code, Cursor, and Codex. It reads your recent development sessions to identify exposed secrets and traces which commands were influenced by the text the agent processed.
The tool operates entirely on your machine with no account required and no telemetry sent. It uses local hooks to evaluate every tool call before execution, blocking dangerous patterns like shell pipes or outbound requests containing known credentials. When a command repeats text the agent previously read, Stroq prompts you for confirmation.
Users can review past sessions through a private console interface or replay them against current policies without installing active hooks. The project is released under the Apache-2.0 license and requires Node.js version 22 or newer.
Stroq features
- Scans recent AI coding agent sessions for exposed secrets
- Blocks risky commands using local pre-execution hooks
- Traces commands back to the specific text that triggered them
- Provides a private local console for reviewing agent decisions
- Replays past sessions against current security policies
- Operates offline with zero telemetry and no account required
Who uses Stroq and for what
- Reviewing past Claude Code or Cursor sessions to check if API keys were accidentally passed to external services
- Blocking automated curl or wget commands that attempt to exfiltrate credentials during AI-assisted development
- Auditing AI-generated scripts before execution by tracing which agent-read files prompted the command
- Setting up local hooks to require manual approval whenever an agent repeats sensitive configuration text
- Running a sandboxed attack simulation to verify how the tool handles known prompt injection attempts
Stroq FAQ
Is Stroq free to use?
Yes, Stroq is available at no cost under the Apache-2.0 open source license. The website does not mention any paid plans or premium features.
Does Stroq collect my data or send telemetry?
No, Stroq runs entirely on your local machine. It reads session files and key directories locally, writes only a small cache to ~/.stroq, and sends no data anywhere.
What AI coding agents does Stroq support?
Stroq supports Claude Code, Codex CLI, Cursor, and other similar AI coding agents. The website does not specify compatibility with other tools or future roadmap additions.
How do I install and run Stroq?
You need Node.js version 22 or newer. You can run it directly using npx @stroq/cli, initialize hooks with init, view a local console at 127.0.0.1, or uninstall it with the uninstall command.
Is Stroq open source?
Yes, the source code is publicly available on GitHub under the Apache-2.0 license. Contributors can review the repository, submit issues, or fork the project.
Comments (0)
Comments and upvotes open when this product launches on ProductPerch.
More Security launches
Find out who's calling: worldwide spam call database
Antidetect browser for multi-account management

Manages visitor check-ins and security for workplaces
HOL GuardOpen source · verified
Approve or block AI coding agent actions on your machine
Share encrypted text and clean files before sending
Fraud, AML & cybersecurity compliance for Saudi Arabia