hindsight-memory

Pass

Audited by Gen Agent Trust Hub on Sep 9, 2026

Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill passes conversation transcripts and user queries to the hindsight CLI as command-line arguments. The references/memory-model.md file notes that transcripts are split into chunks to stay within shell argument limits. If these transcripts contain shell metacharacters and are not properly escaped or handled using safe execution methods (like avoiding shell=True in subprocess calls), it could lead to command injection.
  • [DATA_EXFILTRATION]: The skill is designed to send full conversation history and specific user queries to an external service via the HINDSIGHT_API_URL. While intended for memory persistence, this constitutes a systematic export of potentially sensitive project data and user intent to a third-party endpoint.
  • [INDIRECT_PROMPT_INJECTION]: The skill fetches content from the external memory bank and injects it directly into the agent's prompt. This creates a vulnerability where a malicious or manipulated memory could influence the agent's behavior in future turns.
  • Ingestion points: Data enters the prompt context via scripts/recall.py, which fetches memories from the external API.
  • Boundary markers: The skill uses <hindsight_memories> tags to separate memories from the main prompt.
  • Capability inventory: The skill has Bash access to run the hindsight CLI and Read access for files.
  • Sanitization: The skill documentation describes stripping specific tags to prevent feedback loops in scripts/lib/transcript.py, but it does not specify any sanitization or validation of the memory content to prevent prompt injection attacks.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 9, 2026, 11:33 PM