T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:76- Finding
Unsigned Remote Code Is Downloaded and Executed
- Content
View full analysis
"$SKILL_DIR/.vault" node "$SKILL_DIR/agentsmem_tool.js" --gen-key > "$SKILL_DIR/.vault" ``` ```bash python3 "$SKILL_DIR/agentsmem_tool.py" \ --encrypt --key "$VAULT_KEY" \ --in ./memory/example.md \ --out ./memory/example.md.enc node "$SKILL_DIR/agentsmem_tool.js" \ --encrypt --key "$VAULT_KEY" \ --in ./memory/example.md \ --out ./memory/example.md.enc ``` ### Technical Analysis The setup instructions retrieve mutable Python and JavaScript programs from a vendor-controlled URL and subsequently execute one of them locally. The process does not pin an immutable version, validate a SHA-256 digest, verify a cryptographic signature, or otherwise establish the provenance and integrity of the downloaded programs. Only `SKILL.md` is present in the audited project. The actual encryption programs are not included, so their cryptographic implementation and runtime behavior cannot be statically reviewed. TLS pr ...[truncated 1789 chars]- Remediation
View remediation
