skills/mukul975/anthropic-cybersecurity-skills/analyzing-prefetch-files-for-execution-history/Gen Agent Trust Hub
analyzing-prefetch-files-for-execution-history
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The Python script
scripts/agent.pydefines a functionrun_pecmdthat usessubprocess.runto call an external forensic binary,PECmd.exe. The command is constructed as a list, which mitigates shell injection risks, but the skill relies on the presence of this external tool in the environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes Windows Prefetch files, which are untrusted forensic artifacts. Maliciously crafted executable names or internal metadata within these files could potentially influence an agent's behavior if it interprets the extracted strings as instructions during the summarization or analysis phase.
- Ingestion points:
scripts/agent.pyreads filenames usingglob.globand binary content usingstruct.unpack;SKILL.mdprocesses files via shell commands likelsandgrep. - Boundary markers: None. There are no delimiters or instructions to ignore embedded content when parsing forensic strings.
- Capability inventory: The skill uses
subprocess.runinscripts/agent.pyand standard shell commands (mount,cp,sha256sum) in theSKILL.mdworkflows. - Sanitization: The script performs basic UTF-16 decoding (
decode('utf-16-le', errors='replace')) but lacks specific sanitization to prevent the interpretation of extracted strings as prompt instructions. - [EXTERNAL_DOWNLOADS]: The
SKILL.mdfile specifies the installation of theprefetchpackage viapipand references the official repository for Eric Zimmerman's forensic tools (https://ericzimmerman.github.io/) for downloadingPECmd. These are standard, well-known resources in the digital forensics community.
Audit Metadata