The skill is insecure due to command injection vulnerabilities from unsanitized shell inputs, unsafe credential handling practices, and inconsistent enforcement of mandatory end-to-end encryption protocols.
Findings (4)
Semantic Manipulation
Lowtargets Reasoning
The skill documentation explicitly mandates using only '*-e2ee.py' scripts, but the provided script table and reference list include multiple non-E2EE scripts (e.g., matrix-send.py, matrix-read.py, matrix-edit.py) as fallbacks.
The 'Script Selection' table lists non-E2EE fallback scripts for Send, Read, and Edit operations, contradicting the 'Always use *-e2ee.py scripts' instruction.
Behavioural Control
Hightargets Action
The requirement to use `set +H` to handle `!` characters suggests that user-provided chat messages are passed directly to the shell, creating a high risk of command injection if the input is not properly sanitized by the scripts.
Prepend `set +H &&` when arguments contain `!`
The instructions mandate the use of specific `*-e2ee.py` scripts over others, effectively forcing the agent to bypass standard or alternative communication methods in favor of the skill's internal logic.
Always use `*-e2ee.py` scripts.
The skill instructs users to store credentials in `~/.config/matrix/config.json` and pass passwords via environment variables, creating a risk of credential exposure if the agent or environment is compromised.
MATRIX_PASSWORD="pass" uv run ...