Expand description
MCP command validation — deny-list, permit-list, metacharacter scan.
Spec §6.4 step 2: reject executable content in .muragent packages.
Functions§
- check_
extension - Validate a file path inside the tarball for executable content.
- check_
mcp_ command - Validate an MCP server command string.
- check_
mode_ bits - Check tar entry mode bits: regular files with execute bit are rejected. Directories with execute bit are fine.