The skill insecurely executes arbitrary user-provided scripts from the project directory, enabling remote code execution and unauthorized access to the agent's environment and sensitive credentials.
Findings (5)
Behavioural Control
Hightargets Action
The skill encourages users to create executable 'vars' files (e.g., vars.py, vars.sh) that the tool executes directly. This allows any arbitrary code to run with the permissions of the agent/user whenever 'shablon generate' is invoked.
It can be any executable file -- a shell script, a Python script, a Node script... Shablon does not parse it, does not import it, and does not care what language it is in. It just runs it.
The design pattern relies on executing user-provided scripts found in the project directory. If a user clones a repository containing a malicious '.shablon/vars.py', the agent will execute it automatically upon running 'shablon generate'.
The file lives directly in .shablon/ ... It has the executable bit set ... It just runs it and reads the JSON object on its stdout.
The 'vars' script is executed with the project root as the working directory and inherits the environment, potentially exposing sensitive local configuration or credentials to the script.
The subprocess sees: cwd set to the project root ... Inherited stderr ... An additional environment variable SHABLON_PROJECT_ROOT
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.