V1.16.2
Stata-MCP v1.16.2
Release Date: May 4, 2026
Type: Security Fix
What's New
Security hardening for dofile execution with directory boundary validation and guard blacklist bypass protection.
Changes
- Security: Add directory boundary validation to
stata_doso dofiles can only be executed fromSTATA_MCP_FOLDER.DOorWORKING_DIR(PR #70). - Security: Strengthen GuardValidator with three lightweight defenses: dangerous command abbreviations (
sh,xsh,winex,unixc,era,rmd), local macro expansion detection, and a startup warning when Guard is disabled (PR #72).