Repository navigation
guardrail-plugin 0.1.2
·
9 commits
to main
since this release
guardrail-plugin 0.1.2
Version 0.1.1 was not published; 0.1.2 contains its changes. Interfaces can change incompatibly before 1.0.
Security
- Bash write targets now respect the project boundary, like Write and Edit: redirections and recognized write commands
may only target the project,/tmp,/var/tmpor a permittedTMPDIR./dev/null,/dev/stdout,/dev/stderrand
/dev/ttystay allowed. sudo,sudoedit,doasandpkexecare blocked as commands, also behind common wrappers and insidebash -cor
su -c. Mentioning the names stays allowed. Known limits and false positives are listed in the README.- The dependency allowlist now also applies to package runners and further installers:
npx,npm exec,pnpm dlx,
yarn dlx,bunx,uvx,uv tool run,uv run --with,pipx run,poetry add,pipenv install. Unresolved
arguments and foreign sources are blocked (fail closed);conda,mambaandmicromambaare always blocked. cshandtcshare recognized as shells; their redirections>!,>>!,>&!and>>&are blocked (fail closed).
Supply chain
- The MCP server no longer depends on
@modelcontextprotocol/sdkat runtime. A small built-in stdio server (JSON-RPC 2.0,
same protocol versions, tool names, schemas and outputs as before, checked by a differential test) replaces it. The only runtime dependency is
zod4.6.7 (previously 4.6.6); the publishednpm-shrinkwrap.jsonlists no other runtime package. - Input limits of the stdio server: lines longer than 1 MiB and JSON nested deeper than 64 levels are rejected.
- The MCP server reports the package version.
The plugin is not a sandbox; running agents in a container or VM is still recommended.
Verify the downloaded files with sha256sum --check --strict SHA256SUMS. Please report vulnerabilities as described in
SECURITY.md, not as a public issue.