mem
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection as it processes untrusted local content from Markdown documents and user activity logs.
- Ingestion points: Untrusted data enters the agent context through
scripts/context.py(during file searches) andscripts/workspace_rollouts.py(during workspace discovery). - Boundary markers: Present. The system prompt in
scripts/workspace_llm.pyincludes explicit delimiters and instructions to the model to treat input as evidence only and to ignore any embedded commands. - Capability inventory: The skill can write files (
scripts/schema.py), execute local Python scripts (scripts/mem.py), and run git commands (scripts/workspace.py). - Sanitization: Present.
scripts/workspace_rollouts.pyimplements a_clean_textfunction that identifies and removes common injected metadata tags and agent-specific prefixes from activity logs. - [COMMAND_EXECUTION]: The skill performs local command execution for internal dispatching and system integration.
scripts/mem.pyusesos.execvpto replace the current process with the Python interpreter or theuvtool for task execution.scripts/workspace.pyandscripts/workspace_llm.pyuse thesubprocessmodule to executegitfor repository metadata and the platform'scodexCLI for workspace synthesis.- All executions are restricted to local paths and use platform-provided sandboxing features where available (e.g.,
--sandbox read-only). - [EXTERNAL_DOWNLOADS]:
scripts/schema.pyuses theuvmanager to ensure standard dependencies are present at runtime. All identified packages are well-known libraries sourced from official registries. - [DYNAMIC_EXECUTION]:
scripts/schema.pyutilizes the Jinja2 templating engine to generate documentation and project records. The engine is configured withStrictUndefinedto prevent silent errors and uses a fixed set of local template files.
Audit Metadata