amazon-opensearch-memory
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions and templates for using the AWS CLI (
aws opensearchmemory) to manage memory spaces, events, and memories.\n - Evidence: Several bash snippets in
SKILL.mdand thereferences/directory describe usage ofaws opensearchmemoryoperations likecreate-space,create-event, andsearch-memories.\n - Context: This grants the agent the ability to modify cloud infrastructure and access stored conversation data within the user's AWS account. Using scoped IAM policies is recommended to minimize risk.\n- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of user-provided conversation turns to extract and store long-term memories, which are later retrieved and used in the agent's context.\n
- Ingestion points: User messages are captured in the
payloadofaws opensearchmemory create-eventinreferences/events-and-memories.md.\n - Boundary markers: Absent. While
jqis used for JSON formatting, there are no specific delimiters or instructions to ignore embedded commands in the extracted memories.\n - Capability inventory: The skill can read and write events and memories using AWS CLI commands as seen in
references/events-and-memories.md.\n - Sanitization: Absent. The skill suggests redacting PII for logs in
SKILL.md, but no automated sanitization is applied to ingested messages before processing.\n - Context: Malicious instructions embedded in user messages could be stored as memories and potentially influence or override the agent's behavior when retrieved in future sessions.
Audit Metadata