ag2-knowledge-and-memory

Pass

Audited by Gen Agent Trust Hub on Sep 23, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a persistent memory architecture where untrusted user input is processed, summarized by an LLM, and subsequently injected into future prompts through assembly policies like WorkingMemoryPolicy and EpisodicMemoryPolicy.
  • Ingestion points: User input delivered through agent.ask calls as shown in journal_companion.py and long_doc_chat.py.
  • Boundary markers: Not explicitly defined in the default aggregate prompt templates shown in SKILL.md; however, the WorkingMemoryAggregate allows for custom prompt overrides to structure the merge of existing and new context.
  • Capability inventory: Includes file system writes (DiskKnowledgeStore), network operations (via RedisKnowledgeStore), and optional tool execution (the knowledge action-group tool).
  • Sanitization: No explicit sanitization or filtering of user-provided content is demonstrated before aggregation or injection, relying on the underlying LLM's summarization behavior to extract relevant state.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 23, 2026, 08:04 AM