form-remove
Fail
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The command template in
SKILL.mddirectly interpolates user-provided arguments into a shell command:powershell.exe ... -ObjectName "<ObjectName>" -FormName "<FormName>". This pattern is susceptible to command injection; an attacker could provide a value likeMyObject" & calc & "to execute arbitrary system commands. - [INDIRECT_PROMPT_INJECTION]: The skill processes external XML data which could serve as an attack vector for indirect prompt injection.
- Ingestion points: The skill reads
*.xmlmetadata and configuration files from the user-specifiedSrcDir(scripts/remove-form.ps1,scripts/remove-form.py). - Boundary markers: None identified in the prompt or data handling logic.
- Capability inventory: The skill has the capability to recursively delete directories (
shutil.rmtree,Remove-Item -Recurse) and overwrite files ([System.IO.File]::WriteAllText,open(path, "wb")). - Sanitization: There is no validation or sanitization of the content read from the XML files before it is used to determine which other files to modify or delete.
- [DATA_EXPOSURE]: The skill implements recursive deletion logic based on user-supplied paths. Without strict path validation, a malicious or erroneous
ObjectNameorSrcDircould lead to the unintended deletion of sensitive project or system files.
Recommendations
- AI detected serious security threats
Audit Metadata