T09 · Insecure Skill Coding Practices
- Location
SKILL.md:10- Finding
Execution of an Unverified External PowerShell Script with Execution Policy Bypass
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This screenshot skill is disclosed, but it should be reviewed because it runs an unaudited PowerShell script with execution-policy bypass on a hard-coded Windows node.
Install only in an environment where you control and trust the named Windows node and the referenced `sshot.ps1` file. Expect `/sshot` to capture the entire screen, including private messages, documents, passwords, or dashboards if visible. Before use, verify or package the script, remove the execution-policy bypass where possible, restrict who can modify the script path, and add an explicit confirmation step for captures.
SKILL.md:10Execution of an Unverified External PowerShell Script with Execution Policy Bypass
This skill silently captures a full-screen screenshot of the user's environment, which may expose sensitive information such as passwords, private messages, internal documents, or security dashboards. Because the description and invocation flow do not clearly warn the user that a screenshot will be taken, the skill creates a meaningful privacy and data-exposure risk, especially on a remote Windows node.
This skill is explicitly designed to capture a full-screen screenshot on a Windows node, which can collect highly privacy-sensitive information such as passwords, private messages, documents, or other on-screen secrets. The skill text provides no explicit user warning, confirmation step, scope limitation, or guidance to ensure informed consent before collecting and returning the screenshot path, making accidental or unauthorized sensitive-data capture more likely.