Stroq
Stroq is an agent app that finds leaked keys in AI coding sessions and blocks risky commands before they run, for people using Claude Code, Codex or Cursor.
What it is good for
- Checking whether an AI coding agent sent my API keys elsewhere
- Stopping an AI agent from running risky commands copied from web content
- Reviewing past coding agent sessions for secrets and prompt injection
- Seeing which skills and connectors my coding agents use
At a glance
- Who it is for
- Setup difficulty
- Technical ยท Guided command-line setup
Level 4 of 5. You copy and paste commands into a terminal by following the instructions. Comfortable territory for vibe coders.
- Cost
- Free and open source
- Type
- Agent app
- Tasks
- Works with
- Claude Code, Codex, Cursor, Copilot CLI, Windsurf, OpenClaw
How to get started with Stroq
- Install Node.js 22 or newer.
- Run
npx @stroq/cliin a terminal to get a card of your last 30 days of sessions. - Run
npx @stroq/cli show 1to see the evidence behind a finding. - Run
npx @stroq/cli initto add guard hooks for your agent. - Run
npx @stroq/cli consoleto open the private local console in your browser.
From the project's own documentation. If a step does not match what you see, the official pages have the latest instructions.
Before you try it
- Needs Node.js 22 or newer.
- Adding hooks from the console works only on macOS or Linux; on Windows use `stroq init`.
- Old, rotated or unknown key values may be missed in past session scans.
- Console changes agent settings or policy only after you confirm a preview.
Momentum
- Rank this week
- Not ranked yet
- Best rank
- None yet
- GitHub stars
- 251
GitHub numbers as of Nov 16, 2026. Updated weekly.
On Hacker News
- Show HN: Stroq, a local audit of what your coding agent did and why 96 points, 34 comments, Nov 5, 2026
Official links
Questions
- Is Stroq free?
- Yes. It is free and open source (Apache-2.0 license).
- Do I need to know how to code to use Stroq?
- You do not need to write code, but setup means copying and pasting commands into a terminal by following its instructions.
- What does Stroq work with?
- According to its own documentation, it works with Claude Code, Codex, Cursor, Copilot CLI, Windsurf, and OpenClaw.
- How do I get started with Stroq?
- 1. Install Node.js 22 or newer. 2. Run npx @stroq/cli in a terminal to get a card of your last 30 days of sessions. 3. Run npx @stroq/cli show 1 to see the evidence behind a finding. 4. Run npx @stroq/cli init to add guard hooks for your agent. 5. Run npx @stroq/cli console to open the private local console in your browser.
- What should I know before trying Stroq?
- Needs Node.js 22 or newer. Adding hooks from the console works only on macOS or Linux; on Windows use `stroq init`. Old, rotated or unknown key values may be missed in past session scans. Console changes agent settings or policy only after you confirm a preview.
- What is Stroq good for?
- Checking whether an AI coding agent sent my API keys elsewhere, stopping an AI agent from running risky commands copied from web content, reviewing past coding agent sessions for secrets and prompt injection, and seeing which skills and connectors my coding agents use.
Similar agents to Stroq
- destructive_command_guard
Focuses on blocking destructive shell, git and deletion commands, without tracing commands to content or scanning past sessions for secrets.
- agent-scan
Scans agents, MCP servers and skills for prompt injections and vulnerabilities, rather than guarding live commands and past session keys.
- coucou
Shows sessions in the Mac notch and lets you approve permission requests, without secret scanning or provenance tracing.
- clawd-on-desk
A desktop pet that displays agent activity and asks for approvals, with no secret detection or session replay.
- Claude Code
Claude Code is an agent app that writes, explains, and manages code in your terminal using plain-language commands for developers and vibe coders.
- Orca
Orca is a desktop app that runs several coding agents in parallel, each in its own workspace, for developers using their own subscriptions.