relay
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFEPERSISTENCECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_CONTEXT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill includes functionality in
scripts/_lib/doctor.mjsto install hooks into the Claude Code configuration file (.claude/settings.local.json). These hooks allow the skill's logic to execute automatically duringSessionStart,UserPromptSubmit, andStopevents, which is the intended mechanism for platform integration. - [COMMAND_EXECUTION]: Multiple scripts, including
scripts/relay.mjs,scripts/_lib/execute.mjs, andscripts/_lib/probe.mjs, utilizechild_process.spawnto interact with system tools such asgit,node, anduv. The skill implements safe quoting for shell arguments on Windows inscripts/_lib/doctor.mjsto mitigate command injection risks. - [DYNAMIC_EXECUTION]: In
scripts/memory.mjs, the skill dynamically generates and executes a Python script viapython -cto interface with themnemosyne-memorylibrary. This bridge is hardcoded and used for local data storage. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data from
handoff.jsonand the local workspace state. It mitigates injection risks through a mandatory evidence chain: it performs strict JSON schema validation, enforces character limits (240 chars) on strings, uses SHA256 digests for integrity verification, and provides clear boundaries via its structured checkpoint format. - [DYNAMIC_CONTEXT_INJECTION]: The
hook-adapter.mjsscript executesrelay.mjs injectduring theSessionStartevent to provide contextual information to the agent about pending handoffs. The output is bounded and sanitized before being injected into the agent's context.
Audit Metadata