localizing-android
Pass
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The shell script provided in
audit-commands.mdfor identifying unused strings is vulnerable to command injection. It extracts string names from thestrings.xmlfile and uses them as unquoted variables within a subshell command. If a string name in the XML file contains shell metacharacters like$(...)or backticks, the shell will execute the embedded commands during the audit process. Evidence:audit-commands.md(Section 7):count=$(grep -r "R.string.$string\|string.$string" app/src/main/java | wc -l). - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by processing external project files without proper sanitization. A malicious actor could contribute a string resource file with a crafted name attribute that triggers arbitrary command execution when the developer or agent runs the provided audit scripts. 1. Ingestion points:
app/src/main/res/values/strings.xml. 2. Boundary markers: None. 3. Capability inventory: Shell command execution viagrep,sed, andwc. 4. Sanitization: None.
Audit Metadata