{"id":"841f2458-aff3-4b0c-b614-b8f6cdce903e","slug":"script-kitty","kind":"mcp","name":"Script-kitty","summary":"Your Patch Cat","owner":"andrecodexvictor","repoUrl":"https://github.com/andrecodexvictor/Script-kitty","license":"MIT","licenseTier":"permissive","trust":"community","stars":4,"match":null,"fewStars":true,"format":"mcp","createdAt":"2026-07-25T16:56:08.000Z","addedAt":"2026-10-21T17:48:05.398Z","logoUrl":"https://avatars.githubusercontent.com/u/86633183?u=0231b84066ae1a06d7aecfab66a84fe414689366&v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["utilities"],"tags":[],"runtime":"binary","local":true,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-10-21T21:20:22.313Z","sample":false,"url":"https://conduits.dev/tools/script-kitty","language":"Python","transports":["stdio"],"install":{},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"<p align=\"center\">\n  <img src=\"assets/mascot.png\" alt=\"Script Kitty - Your Patch Cat\" width=\"650\" />\n</p>\n\n<h1 align=\"center\">Script Kitty 🐱🛡️</h1>\n\n<p align=\"center\">\n  <strong>Your Patch Cat — Self-Hosted Enterprise Security Validation & AI Remediation Platform</strong>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://github.com/andrecodexvictor/Script-kitty/blob/main/LICENSE\"><img src=\"https://img.shields.io/badge/License-MIT-green.svg\" alt=\"License MIT\"></a>\n  <a href=\"https://github.com/andrecodexvictor/Script-kitty\"><img src=\"https://img.shields.io/badge/PRs-Welcome-brightgreen.svg\" alt=\"PRs Welcome\"></a>\n  <a href=\"https://github.com/andrecodexvictor/dotstack\"><img src=\"https://img.shields.io/badge/Context-.dotstack-blue\" alt=\"dotstack\"></a>\n  <a href=\"https://github.com/andrecodexvictor/dotarchiteture\"><img src=\"https://img.shields.io/badge/Architecture-.dotarchitecture-purple\" alt=\"dotarchitecture\"></a>\n  <a href=\"https://github.com/vinilana/dotcontext\"><img src=\"https://img.shields.io/badge/Harness-.dotcontext-orange\" alt=\"dotcontext\"></a>\n  <a href=\"https://github.com/andrecodexvictor/ZenPR\"><img src=\"https://img.shields.io/badge/Integration-ZenPR-violet\" alt=\"ZenPR Integration\"></a>\n  <a href=\"https://modelcontextprotocol.io\"><img src=\"https://img.shields.io/badge/MCP-Supported-emerald\" alt=\"MCP Supported\"></a>\n</p>\n\n\n---\n\n## 💻 CLI Terminal Preview\n\n<p align=\"center\">\n  <img src=\"assets/cli_preview.jpg\" alt=\"Script Kitty Block Art Cyber Cat Terminal Preview\" width=\"800\" />\n</p>\n\n---\n\n## 📖 Overview\n\n**Script Kitty** is an open-source, self-hosted enterprise platform for authorized security validation, multi-language static application security testing (SAST), secret leak detection, HTTP security header evaluation, server log auditing, Web2/Web3 smart contract verification, and AI LLM guardrail testing.\n\nCombining a cyber detective cat identity (**Patch Cat**) with a rigorous operational governance model, Script Kitty provides automated vulnerability discovery, zero-trust policy enforcement, tamper-evident SHA-256 audit logging, and actionable remediation playbooks.\n\n---\n\n## ✨ Key Features & Capabilities\n\n- **🚀 One-Word Global CLI (`sk` / `script-kitty`)**: Run `sk` without subcommands to launch the interactive arrow-key TUI menu.\n- **⚡ Native ZenPR Integration Bridge**: Direct integration with [ZenPR](https://github.com/andrecodexvictor/ZenPR) to convert Script Kitty findings automatically into defensive Pull Requests.\n- **🕸️ Persistent Knowledge Graph & LangGraph Memory**: Automatically indexes codebase architecture, files, and relationships into persistent graph nodes (`.context/graph/knowledge_graph.json`) upon installation.\n- **🧠 Self-Learning Adaptive Memory**: Automatically records codebase architecture patterns and user preferences into `.context/runtime/memory.json` as the agent navigates codebases.\n- **🎮 Interactive Checkbox Suite Selector**: Use arrow keys (`⬆️/⬇️`) and Spacebar to select exactly which security modules to run.\n- **💬 Direct Agent Conversation (`sk chat`)**: Direct natural language chat with the Detective Patch Cat agent (requires authenticated AI key/login).\n- **🔑 Multi-Provider AI Key Manager & Codex Login**: Native support for OpenAI (GPT-4o), Google Gemini (2.5 Flash/Pro), NVIDIA NIM, OpenRouter, Anthropic Claude, xAI Grok, and ChatGPT Codex Subscription Tokens.\n- **🤖 AI LLM Guardrail & Anti-Hallucination Engine**: 5 defensive verification suites covering System Prompt Extraction, DAN Jailbreaks, Unsafe Tool Calls, Indirect RAG Poisoning, and Anti-Hallucination Grounding.\n- **⛓️ Web2 & Web3 Security Harnesses**:\n  - **Web2 Harness**: Polyglot SAST (PHP, Ruby, Python, JS/TS), secret leaks, HTTP headers, Nginx/Apache log audit.\n  - **Web3 Harness**: Solidity (`.sol`) smart contract auditing for reentrancy, `tx.origin` risks, unhandled calls, and weak randomness.\n- **🔑 Secret & Credential Leak Engine**: Detects exposed AWS Access Keys, GitHub PATs, Slack tokens, SSH private keys, and JWT secrets.\n- **🌐 HTTP Security Header Evaluator**: Checks HSTS (`Strict-Transport-Security`), CSP, X-Frame-Options, and CORS configuration.\n- **🐾 Patch Cat Remediation Playbooks**: Produces step-by-step fix guides, hardening configurations, and copy-pasteable GitHub/GitLab Issues and Pull Requests.\n- **⛓️ Tamper-Evident Hash-Chained Audit Engine**: SHA-256 cryptographic logging in Rust with Merkle Root export.\n- **🛡️ Zero-Trust Policy Core & Approval Gates**: Enforces target allowlists (`scope.md`) and requires human approval for state-changing actions.\n- **🌐 Internationalization (i18n)**: Native support for English (`en` default), Portuguese (`pt`), and Spanish (`es`).\n\n---\n\n## 🏗️ Multi-Language Hybrid Stack\n\nScript Kitty's architecture is declared and governed by `.dotstack`, `.dotarchitecture`, and `.dotcontext`:\n\n```text\n                               ┌──────────────────────────────────────────┐\n                               │           Script Kitty Dashboard         │\n                               │          TypeScript / Vite / CSS         │\n                               └────────────────────┬─────────────────────┘\n                                                    │\n                               ┌────────────────────▼─────────────────────┐\n                               │     Orchestrator, CLI & MCP Server       │\n                               │               TypeScript                 │\n                               └──────────┬────────────────────┬──────────┘\n                                          │                    │\n                ┌─────────────────────────▼──┐             ┌───▼──────────────────────────┐\n                │    Agent PREVC Runtime     │             │    Zero-Trust Policy Core    │\n                │ Python (Scanners/Validators)│             │     Rust (Hash Audit Log)    │\n                └────────────────────────────┘             └──────────────────────────────┘\n```\n\n| Component | Technology | Responsibilities |\n+|---|---|---|\n+| **Frontend & UI** | TypeScript, Vite, Vanilla CSS | Sleek cyberpunk defensive dashboard, 3D Motion Mascot, i18n selector |\n+| **CLI & MCP Server** | TypeScript, Commander, MCP SDK | Operator command shell (`sk`) and stdio MCP server |\n+| **Agent Runtime & Tools** | Python 3.11+, Pydantic | Web2/Web3 harnesses, polyglot SAST, log auditor, guardrail validator |\n+| **High-Trust Core** | Rust 2021 | Zero-Trust Policy Engine, cryptographic SHA-256 Merkle audit logger |\n\n---\n\n## 🐾 Operating Modes\n\n| Mode | Purpose | Risk Level | Approval Required |\n|---|---|---|---|\n| **Scout** | Passive exposure discovery, asset fingerprinting, header checks | Low Risk | No |\n| **Verify** | Controlled confirmation of likely findings | Medium Risk | **Yes (Human-in-the-Loop)** |\n| **Patch** | Produce actionable remediation playbooks & PR diffs | Low Risk | No |\n| **Recheck** | Run regression checks to confirm fix closure | Low Risk | No |\n| **Lab** | Aggressive educational testing inside isolated containers/VMs | High Risk | **Yes (Lab Mode Only)** |\n\n---\n\n## 🚀 Quick Start\n\n### Prerequisites\n- **Node.js** >= 18.0\n- **Python** >= 3.11\n- **Rust (Cargo)** >= 1.75 *(Optional for local Rust crate compilation)*\n\n### Installation & Global Link\n\n```bash\n# Clone the repository\ngit clone https://github.com/andrecodexvictor/Script-kitty.git\ncd Script-kitty\n\n# Install monorepo dependencies\nnpm install\n\n# Build all TypeScript applications\nnpm run build\n\n# Link Global CLI command (run once)\ncd apps/cli && npm link\n\n# Launch the interactive navigable CLI shell anywhere\nsk\n```\n\n---\n\n## 💻 CLI Commands\n\n```bash\n# 1. Open Interactive Navigable TUI Shell (Default)\nsk\n\n# 2. Run full enterprise security audit\nsk audit\n\n# 3. Direct Chat with Detective Agent\nsk chat\n\n# 4. Configure AI Key / ChatGPT Codex Subscription Token\nsk auth --set-openai sk-... --provider openai\nsk auth --set-codex-token your_token --provider codex\n\n# 5. Run passive discovery scan on authorized target\nsk scout http://localhost:3000\n\n# 6. Scan codebase for hardcoded credentials & secret leaks\nsk scan-secrets ./src\n\n# 7. Evaluate HTTP security headers\nsk scan-headers http://localhost:3000\n\n# 8. Test AI application guardrails against prompt injection\nsk verify-guardrails http://localhost:3000/api/llm\n\n# 9. Generate Patch Cat remediation playbook\nsk patch SK-2026-001\n\n# 10. Execute follow-up regression recheck\nsk recheck http://localhost:3000 SK-2026-001\n```\n\n---\n\n## 🔌 One-Command MCP Installations (AI Agent CLIs & IDEs)\n\nScript Kitty's stdio MCP server can be installed into all major AI coding agents with a single command:\n\n```bash\n# Register Script Kitty MCP Server in all detected agents on your system\nnpx -y script-kitty mcp install all\n```\n\n### Direct AI Agent CLI Setup\n\n#### 1. Claude Code CLI\n```bash\nnpx script-kitty mcp install claude\n```\n\n#### 2. Grok Build CLI\n```bash\nnpx script-kitty mcp install grok\n```\n\n#### 3. OpenCode CLI\n```bash\nnpx script-kitty mcp install opencode\n```\n\n#### 4. Google Antigravity Agent\n```bash\nnpx script-kitty mcp install antigravity\n```\n\n#### 5. Codex CLI\n```bash\nnpx script-kitty mcp install codex\n```\n\n#### 6. Cursor IDE & Windsurf Editor\n```bash\nnpx script-kitty mcp install cursor\nnpx script-kitty mcp install windsurf\n```\n\n---\n\n## 🤖 Automated Security Bot Deployment\n\nDeploy Script Kitty as a self-hosted background security monitoring bot in Docker:\n\n### Linux / macOS Deployment\n```bash\nchmod +x scripts/deploy-bot.sh\n./scripts/deploy-bot.sh\n```\n\n### Windows PowerShell Deployment\n```powershell\n.\\scripts\\deploy-bot.ps1\n```\n\n### Docker Compose\n```bash\ndocker-compose up -d\n```\n\n---\n\n## 📁 Repository Structure\n\n```text\nScript-kitty/\n├── .dotstack            # Technology stack specification & runtime bounds\n├── .dotarchitecture     # Trust boundaries, permissions matrix & data flows\n├── .dotcontext          # Defensive agent identity & PREVC workflow rules\n├── scope.md             # Target allowlist & forbidden environments\n├── agent-spec.md        # Master agent & subagent specification\n├── LICENSE              # MIT License\n├── README.md             # Project documentation & mascot artwork\n├── assets/              # Mascot banner & CLI terminal preview images\n├── scripts/             # Bot deployment scripts (deploy-bot.sh, deploy-bot.ps1)\n├── apps/\n│   ├── ui/              # Vite + Vanilla CSS modern defensive dashboard\n│   ├── cli/             # Commander CLI shell (script-kitty / sk)\n│   └── mcp-server/      # Model Context Protocol stdio server\n└── packages/\n    ├── agent_runtime/   # Python Web2/Web3 PREVC execution harnesses & Harness Engine\n    ├── scanners/        # Polyglot SAST (Solidity, PHP, Ruby, Python, JS/TS), Secret & Log scanners\n    ├── validators/      # AI Guardrail & anti-hallucination tester\n    ├── remediation/     # Patch Cat playbook & GitHub Issue/PR generator\n    ├── plugin_sdk/      # Community Plugin SDK loader\n    ├── policies/        # Rust Zero-Trust Policy Engine & Crypto Auditor\n    └── audit/           # Rust SHA-256 Hash-Chained Audit Logger\n```\n\n---\n\n## 🔒 Security & OWASP Compliance\n\nScript Kitty strictly adheres to OWASP guidelines for AI Agents and Model Context Protocol:\n- **Mandatory Scope Allowlist (`scope.md`)**: Actions stop immediately if a target IP/domain is not declared in scope.\n- **Input & Tool Distrust**: Tool outputs and external model completions are treated as untrusted data.\n- **Human-in-the-Loop Approval Gates**: State-changing operations pause for operator confirmation.\n- **Tamper-Evident Audit Logging**: Cryptographic SHA-256 hash chains guarantee auditable records.\n\n---\n\n## 🤝 Contributing & License\n\nContributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) and respect `scope.md` safety boundaries.\n\nDistributed under the **MIT License**. See [`LICENSE`](LICENSE) for details.\n\n---\n\n<p align=\"center\">\n  Crafted with ❤️ by <a href=\"https://github.com/andrecodexvictor\">André Victor A. O. Santos</a> & the Open Source Security Community.\n</p>\n"}