APACHE-2.0 DEVELOPER SUITE
One shared Go core from terminal and AI coding agent to MDM fleet.
Instead of disjointed Docker scanners, Node wrappers, and telemetry-leaking CLIs, RookPhase compiles scanning, Safe-Install, LSP, and MCP into one standalone Apache-2.0 Go binary.
01 · CLI & CIApache-2.0
rookphase Single-Binary CLI (--no-code-upload / --offline)
1 Binaryshares pkg/scanner verbatim with cloud 1.1
Zero Python or Node prerequisite. Runs local SAST, SCA, Secrets, and IaC scans with Cosign-verified lazy engine caching, SARIF 2.1.0 / CycloneDX 1.6 emission, and deterministic CI exit codes.
- --no-code-upload strips source lines and optionally hashes file paths (--redact-paths)
- --offline blocks all outbound TCP/HTTP sockets via custom Go net.Dialer
- GitHub (5k SARIF chunking), GitLab, Bitbucket (1k batching), ADO & CircleCI adapters
Go pkg/scannergo-sarif/v3Cosign + SHA-256
02 · SAFE-INSTALL16 PMs · Tokenless
16-Package-Manager Slopsquatting & Worm Shield
48hrelease age cooldown + safe-version fallback
Combines PATH shims with an ephemeral localhost HTTP registry proxy so transitive dependencies cannot bypass verification—stopping poisoned wheels, tarballs, and AI hallucinations before disk write.
- Wraps npm, npx, yarn, pnpm, pnpx, bun, bunx, rush, rushx, pip, pip3, uv, uvx, poetry, pipx & pdm
- Streams .tgz and .whl headers in memory to block .pth hooks, postinstall & curl|sh scripts
- Skips false-positive cooldowns on frozen lockfiles while still blocking retroactive malware
Loopback HTTP ProxyTarball/Wheel AuditSafe-Version Fallback
03 · INTEL EDGE4-Byte SHA-256
RookPhase Intel Privacy-Preserving k-Anonymity Feed
< 1 msoffline Bloom filter (~99.99% zero-HTTP)
Protects proprietary internal package names while delivering real-time malware and slopsquat blocking from Cloudflare R2 edge caches.
- Local <=4 MB bloom.v1.zst rejects benign and private packages with zero network egress
- Cache misses send only 4 bytes (8 hex chars) via GET intel.rookphase.dev/v1/prefixes/{p4}
- Ed25519 signature verification and exact digest matching execute strictly client-side
bloom.v1.zstk-Anonymity p4 APIEd25519 Signed
04 · MCP 2025-11-25MCP 2025-11-25
rookphase mcp Server & Deterministic Agent Hooks
6 ToolsoutputSchema + structuredContent
Embeds stdio and localhost-jailed Streamable HTTP transports inside the Go binary, wiring PreToolUse and AfterFileEdit hooks so AI coding agents cannot bypass security checks.
- scan_snippet, check_package_reputation, scan_secrets, verify_iac, get_autofix & scan_paths
- Secret previews are redacted (ak_live_****9f2a) so raw credentials never enter LLM context
- rookphase mcp init configures Claude Code, Cursor, Copilot, Windsurf & Antigravity
stdio + Streamable HTTPMcp-Session-IdPreToolUse Hooks
05 · IDE LSP DAEMON
VS Code, Open VSX & JetBrains Extensions (rookphase lsp)
< 50 msTier-A pre-save dirty-buffer shield
Thin TypeScript and Kotlin plugins connect over LSP 3.17/3.18 to a shared workspace Go daemon—catching leaked secrets and hallucinated imports before files are ever saved.
- Published concurrently on VS Code Marketplace and Open VSX (Cursor, Windsurf, Antigravity)
- Native JetBrains 2026.2 com.intellij.platform.lsp + ExternalAnnotator fallback
- Rich exploit hovers (0–100 score, L1–L3 reachability, PoC context) + 1-click QuickFixes
LSP 3.17 / 3.18Open VSX + JBBetterleaks + Tree-sitter
06 · WORKSTATION ROOKDZero TLS MITM
rookd Shadow AI & MCP Workstation Governance
< 60 MBRSS / <0.5% CPU user-space Go daemon
Embeds pkg/safeinstall and pkg/intel on 127.0.0.1:49152 for MDM fleets, building a live Shadow AI, browser/IDE extension, and MCP inventory under a strict Workstation Privacy Pact.
- Zero keylogging, zero AI prompt capture, zero root MITM CA & zero Windows kernel drivers
- Inventories Claude/Cursor/Windsurf/Copilot MCP configs, loopback LLMs & DNS/SNI AI domains
- Optional macOS Santa FAA or Linux Tetragon eBPF; baseline in Scale or $8/device/mo MDM
pkg/safeinstallDNS/SNI MetadataOptional Santa / eBPF