whatsapp-common-groups-hardened
Fail
Audited by Gen Agent Trust Hub on Apr 21, 2026
Risk Level: HIGHDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The Node.js script
scripts/common.jsreads sensitive WhatsApp credentials and session identifiers (sender-key-*) from the~/.openclawdirectory. Accessing these files allows for the extraction of private communication metadata, group identities, and potentially cryptographic keys without explicit authorization beyond the skill's execution. - [COMMAND_EXECUTION]: The skill uses the
exectool to run local scripts with parameters derived from user input. While phone numbers are cleaned of non-digits, other arguments like group IDs are passed to file system search operations without robust sanitization, posing a risk of path traversal or unintended file access within the credential directory. - [PROMPT_INJECTION]: The
SKILL.mdandSAFETY.mdfiles include prescriptive instructions ("guardrails") designed to override agent behavior. These instructions use imperative language to enforce specific operational boundaries regarding privacy and urgency, which serves as a method of behavior-shaping through injected metadata. - [DATA_EXFILTRATION]: The
all-memberscommand in the provided script enables the aggregation of all contacts and their connectivity patterns across all accessible groups. This capability facilitates the construction of a comprehensive social graph from private session data, which can then be displayed or exfiltrated by the agent. - [PROMPT_INJECTION]: The skill presents an Indirect Prompt Injection surface.
- Ingestion points:
scripts/common.jsreads filenames and JSON content from the sensitive~/.openclaw/credentialspath. - Boundary markers: No delimiters or sanitization are applied to the data read from the filesystem before it is returned to the agent context.
- Capability inventory: The skill possesses filesystem read capabilities via
fs.readdirSyncandfs.readFileSync, and CLI execution via theexectool. - Sanitization: Input sanitization is limited to phone numbers, leaving other inputs and all ingested file data unvalidated.
Recommendations
- AI detected serious security threats
Audit Metadata