~ / rigs / yanivsp2909 / stinglabs

yanivsp2909/stinglabs

AI coding agent security: stops Claude Code, Cursor and Codex from leaking your secrets. Local, deterministic, no AI in the decision.

↗ GitHub ★ 0 Apache-2.0 updated 1mo ago project Claude Code
field: Security
stack: Python
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~2.5k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add --transport http github https://api.github.com/mcp
$ npx degit yanivsp2909/stinglabs/engine/scenarios/H01-edit-claude-settings/repo/.claude ./rig-stinglabs  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add --transport http github https://api.github.com/mcp

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 ~/.sting/guard.py"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
api.github.com · "github" remote · remote 2.5k

Hooks (1)

eventmatcherruns
PreToolUseBashpython3 ~/.sting/guard.py

Similar rigs

copied ✓