krusch-stack@1.3.1
CAUTIONPublisher claims: "Local SQLite control plane for coding agents: persistent memory, Turn-0 grounding, and 2PC safety." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Server started and answered tools/list.- Tested
- MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
- Not tested
- what the tools do when called with real credentials
Before you give it your token
- It will ask for
DATABASE_URLEMBEDDING_API_KEYGITHUB_WEBHOOK_SECRETHYDRADB_TOKENKRUSCH_EMBED_API_KEYKRUSCH_STACK_API_TOKENOPENAI_API_KEYPRIVATE_NET_HOST_PATSLACK_SIGNING_SECRETConfiguration, not credentials: BEAM_DATASET_CACHE_PATH, BEAM_EMBED_CACHE_PATH, CLEAN_EMBED_CACHE_PATH, DATASET_CACHE_PATH, DB_PATH, EMBED_MODEL, EMBEDDING_MODEL, EMBEDDING_URL, GIT_DIR, HYDRADB_GRAPH_ID, HYDRADB_URL, KRUSCH_ALLOWED_HOSTS, KRUSCH_DISABLE_EMBEDDINGS, KRUSCH_EMBED_MODEL, KRUSCH_EMBED_URL, KRUSCH_ENABLE_TEST_HOOKS, KRUSCH_EPHEMERAL, KRUSCH_MAX_ACTIVE_SCAN, KRUSCH_MAX_BODY_BYTES, KRUSCH_STACK_DEFER_TOOLS, KRUSCH_STACK_HOST, KRUSCH_STACK_INCLUDE_EXTENDED, KRUSCH_STACK_PORT, KRUSCH_STACK_PROFILE, KRUSCH_TEST_HOOK_MARKER_FILE, KRUSCH_TEST_HOOK_PAUSE_AFTER_FIRST_RENAME, KRUSCH_TEST_HOOK_SELF_SIGKILL, KRUSCH_WORKSPACE_ROOT, MOCK_EMBEDDINGS, npm_lifecycle_event, OLLAMA_BURST_HOST- Where it talks to
- no vendor host named in the codeAlso huggingface.co, githubusercontent.com, vercel.sh — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- what the tools do when called with real credentials
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names huggingface.co, githubusercontent.com, vercel.sh as well as its own vendor. The guard injects DATABASE_URL, EMBEDDING_API_KEY, GITHUB_WEBHOOK_SECRET, HYDRADB_TOKEN, KRUSCH_EMBED_API_KEY, KRUSCH_STACK_API_TOKEN, OPENAI_API_KEY, PRIVATE_NET_HOST_PAT, SLACK_SIGNING_SECRET only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-21 and scored it 68/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 26 s · 2 scenarios · 0 deviationsStatic findings
path.join(groundedDir, '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Gate 5: Tier 3B Turn-0 Grounded Harness CSV `"NA"` Hazard, `.env` Exclusion, Memoized Hash & Defect Gate (`INV-STACK-11`).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…eader, footer-deadbolt, cyber-grid, deadbolt-svg, nav-back, lego-node-api, lego-mcp-server, lego-sse-route, lego-react-shell, lego-fastapi-app, lego-cloudflare-worker, lego-webhook-route, lego-vercel-nextjs-shell, lego-vercel-edge-sse, leg…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.* enforces .env KEYS_ONLY redaction & pre-write secret shielding (INV-STACK-08),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Skips `.env` and secret files automatically.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.!Object.prototype.hasOwnProperty.call(digests, '.env') &&Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const m of src.matchAll(/\bprocess\.env\.([A-Z][A-Z0-9_]{1,80})\b/g)) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Zero-cloud 3-act progressive onboarding walkthrough for KruschStack (`npx krusch-stack demo`).Fix: Pin versions and sources; vendor anything fetched at install time.* Format human-readable CLI output for `npx krusch-stack explain`.Fix: Pin versions and sources; vendor anything fetched at install time.title: 'Tier 3B Turn-0 CSV "NA" Hazard, .env Exclusion, Memoized Call Hashing & Output Defect Gate',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.(entry.name.startsWith('.env.') && entry.name !== '.env.example')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.".env.example",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.entry.name === '.env' ||Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./\b(?:dict\s*\(\s*os\.environ\s*\)|os\.environ\.copy\s*\(\s*\)|JSON\.stringify\s*\(\s*process\.env\b)/;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 2. Spawn Worker Process 1 running `applyDiff()` and kill it with `SIGKILL` immediately after file 1 is renamed + fsynced.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.> Tip: Upgrade anytime to AST symbol navigation and 2PC staged execution with \`npx krusch-stack init --profile coding-agent\`.Fix: Pin versions and sources; vendor anything fetched at install time.* Safely write/merge IDE MCP configurations and scaffold `.agent/AGENTS.md` if missing.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.* Execute a subprocess with hard timeout while preserving partial stdout emitted before kill (`INV-GH-10`).Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.base === '.netrc'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'rm -rf /',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* Unified CLI for KruschStack (`npx krusch-stack <command>`).Fix: Pin versions and sources; vendor anything fetched at install time.RUN mkdir -p /workspace /app/.krusch-stack && chown -R node:node /workspace /appFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.'cat .env'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return base === '.env' || base.startsWith('.env.');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Determine whether a file path targets a sensitive .env file whose values must be redacted.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const ENV_TEMPLATE_NAMES = new Set(['.env.example', '.env.sample', '.env.template']);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./(?:\brm\s+-[a-zA-Z]*r[a-zA-Z]*f\s+\/(?:\s|["';|&)]|$)|\bgit\s+reset\s+--hard\b|\bgit\s+clean\s+-[a-zA-Z]*f|\bgit\s+push\s+--force\b|\bDROP\s+DATABASE\b|\bcat\s+\.env\b)/i;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…of a project, then fail in three predictable ways: 1. **Silent Rule Rot**: You write *"Always validate Stripe webhooks in `src/api/stripe.ts`"* in `CLAUDE.md`. Two months later, someone refactors that handler or changes its signature. Th…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.// 10 languages / 16 source & config extensions + Markdown + .env templatesFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Format a concise (<25 lines) terminal report for `npx krusch-stack demo`.Fix: Pin versions and sources; vendor anything fetched at install time.npx krusch-stack <command> [options]Fix: Pin versions and sources; vendor anything fetched at install time.console.log(` Postgres : ${report.data.postgres_configured ? 'Companion URL set (runtime uses node:sqlite)' : 'Not set (using zero-setup SQLite)'}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.'rm -rf /',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (base === '.env' || base.startsWith('.env.')) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'.env',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for krusch-stack@1.3.1 as of 44 min ago. This is the package itself, not its dependencies.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Destructive command against a filesystem root or device≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Unclaimed publisher≈ +8 on the totalClaim krusch: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- MCP server using network transport (SSE/HTTP)≈ +2 on the totalNamespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.