skills/mukul975/anthropic-cybersecurity-skills/detecting-mobile-malware-behavior/Gen Agent Trust Hub
detecting-mobile-malware-behavior
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
scripts/agent.pyandscripts/process.pyexecute the external command-line utilityaaptusingsubprocess.run()to inspect Android package permissions. The command is structured safely as a list of individual arguments without enabling the system shell, minimizing shell injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an inherent attack surface for indirect prompt injection due to processing external, untrusted application components and metadata.
- Ingestion points:
scripts/agent.pyandscripts/process.pyextract code patterns, raw permissions, string fields from uploaded mobile files, and receive analysis results from the external VirusTotal API. - Boundary markers: There are no structural boundary markers or instructions configured to insulate the agent prompt environment from untrusted text embedded within application contents or threat intelligence feeds.
- Capability inventory: The skill is equipped with shell command execution capabilities via
subprocess.runand network connectivity via therequestslibrary. - Sanitization: Extracted code strings, dex data samples, and external vendor report names are not sanitized or escaped before presentation to the agent context.
Audit Metadata