synapse-client
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: An automated scan flagged a pattern in
cli.shwhere acurlresponse is piped topython3. Technical analysis confirms this is a false positive. The commandcurl -s "http://$host:$port/varz" | python3 -c "..."is used solely to parse JSON-formatted server statistics from a local NATS monitoring endpoint for health status reporting; it does not execute remote scripts or arbitrary code. - [INDIRECT_PROMPT_INJECTION]: As a communication bridge, the skill facilitates the ingestion of data from external sources (other agents on the mesh) into the agent's context, which is a standard surface for indirect prompt injection.
- Ingestion points: Untrusted data enters the agent via
SynapseClient.subscribe,SynapseClient.request, and theserveloop inclient.py, which listens on NATS subjects for incoming messages. - Boundary markers: The Synapse protocol uses structured JSON envelopes to separate protocol metadata from the message
payload, providing basic data/instruction separation. - Capability inventory: The skill enables network communication (NATS), file system access (for
send_fileoperations), and shell execution capabilities through thecli.shhelper. - Sanitization: While the client validates the JSON structure and envelope version, it does not sanitize the
payloadcontent for natural language instructions before delivery to the agent. - [DATA_EXPOSURE]: The skill is designed to manage sensitive NKey seeds and JWT credentials (typically located in
~/.synapse/nkeys/or~/.nats/) to authenticate with the mesh. It also includes file transfer primitives. These operations are conducted against a user-configured server and represent the intended utility of the mesh client.
Audit Metadata