{ "name": "mcp-stdio-shellguard", "version": "0.1.3", "mcpName": "io.studiomeyer/stdio-shellguard", "description": "Defense-in-depth bundle for MCP stdio servers: drop-in guard for child_process.exec/spawn, AST audit CLI for unsanitized shell calls, and a reference MCP server that exposes both. Closes the Ox-Security 200k-server stdio-RCE class.", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./server": { "types": "./dist/server.d.ts", "import": "./dist/server.js" } }, "bin": { "mcp-shellguard-audit": "./dist/cli.js", "mcp-stdio-shellguard-demo": "./dist/server.js", "mcp-stdio-shellguard": "./dist/server.js" }, "files": [ "dist", "README.md", "CHANGELOG.md", "LICENSE", "HOOK_RECIPES.md" ], "scripts": { "build": "tsc -b", "prepack": "npm run build && node scripts/prepare-bundles.mjs", "test": "vitest run", "test:watch": "vitest", "lint:self": "node dist/cli.js scan src --severity-floor LOW", "inspect:smoke": "node scripts/inspect-smoke.mjs", "test:consumer": "node scripts/check-consumer.mjs" }, "keywords": [ "mcp", "model-context-protocol", "security", "shell-injection", "rce", "stdio", "audit", "sandbox", "allowlist", "child_process", "defensive-security" ], "author": "Matthias Meyer (StudioMeyer)", "license": "MIT", "homepage": "https://github.com/studiomeyer-io/mcp-stdio-shellguard", "repository": { "type": "git", "url": "https://github.com/studiomeyer-io/mcp-stdio-shellguard.git" }, "bugs": { "url": "https://github.com/studiomeyer-io/mcp-stdio-shellguard/issues" }, "engines": { "node": ">=20" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.32.0", "@typescript-eslint/types": "^8.59.2", "commander": "^12.1.0", "tinyglobby": "^0.2.17", "picomatch": "^4.0.4", "zod": "^4.6.7", "@typescript-eslint/typescript-estree": "^8.72.1", "typescript": "^5.6.3" }, "devDependencies": { "@types/node": "^22.10.0", "@types/picomatch": "^3.0.1", "tsx": "^4.21.0", "vitest": "^4.1.11" }, "overrides": { "@typescript-eslint/typescript-estree": { "minimatch": "^11.0.3" } }, "bundledDependencies": [ "@typescript-eslint/typescript-estree", "typescript" ] }