malware-detection-and-removal
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
VerifyCodeSignaturefunction inSKILL.mdusesexec.Commandwithfmt.Sprintfto insert thefilePathvariable directly into a PowerShell command string. If this skill is used to analyze a repository containing files with maliciously crafted names (e.g., using shell metacharacters like;or&), it could lead to arbitrary command execution on the host system. - Evidence:
cmd := exec.Command("powershell", "-Command", fmt.Sprintf("(Get-AuthenticodeSignature '%s').Status", filePath)) - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data from external repositories, which creates a vulnerability surface for indirect prompt injection attacks.
- Ingestion points: Repository names, descriptions, and topics are parsed into the
RepositoryAnalysisstruct. The file system is traversed usingfilepath.WalkinVerifyRepositoryContent. - Boundary markers: The instructions do not define delimiters or specific "ignore" instructions for the data being analyzed.
- Capability inventory: The skill possesses the ability to execute shell commands (
exec.Command) and perform network requests (net/http). - Sanitization: While the code uses
strings.ToLowerfor keyword matching, it lacks robust sanitization for file paths or metadata before they are used in command execution or reporting logic.
Audit Metadata