yichen-wecom-local-vault
Warn
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill utilizes
sudoto perform memory scanning on macOS via thescripts/scan_dbkey_manager_macos.pyscript. It also performs ad-hoc code signing of the target WeCom application using thecodesignutility inscripts/capture_key_macos.pyto bypass security constraints such astask_for_pidrestrictions and SIP-protected memory access. - [COMMAND_EXECUTION]: Multiple scripts use the
subprocessmodule to execute system-level commands includingpgrep,ps,codesign,vmmap,DevToolsSecurity, andcsrutilto inspect system security status and modify application signatures. - [DYNAMIC_EXECUTION]: The
scripts/capture_key_macos.pyscript uses the Frida framework to inject a custom JavaScript agent into the target application's memory to intercept cryptographic calls and capture database keys at runtime. Additionally,scripts/scan_dbkey_manager_macos.pyusesctypesto interact directly with Mach kernel APIs (mach_vm_region,mach_vm_read_overwrite) for raw memory scanning. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted chat messages and contact information from local SQLite databases, which could contain malicious instructions for the agent.
- Ingestion points:
scripts/vault_cli.pyextracts raw message content from WeCom's localmessage.db. - Boundary markers: Absent. The extracted chat data is not wrapped in protective delimiters or accompanied by instructions to ignore embedded commands.
- Capability inventory: The skill possesses powerful capabilities including arbitrary shell command execution, application re-signing, and memory injection across its script suite.
- Sanitization: The
_clean_textfunction inscripts/vault_cli.pyonly filters non-printable characters and does not protect against prompt injection patterns.
Audit Metadata