synapse
Fail
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: HIGHINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The document processing pipeline example in
examples/typescript/src/document-pipeline.tspresents an indirect prompt injection and path traversal surface. - Ingestion points: The script subscribes to
document.>NATS subjects, ingesting untrusted event data. - Boundary markers: No boundary markers or 'ignore embedded instructions' delimiters are used when processing the event payload.
- Capability inventory: The script performs file system operations using
fs.readFileon thepathprovided in the event data. - Sanitization: The script does not validate or sanitize the
pathfield, which could allow a malicious event to trigger unauthorized file reads or path traversal. - [REMOTE_CODE_EXECUTION]: The test script
examples/cross-org/test.shcontains a pattern wherecurloutput is piped topython3for JSON parsing. While flagged by automated scanners, this specifically targetslocalhost:8222(the local NATS monitoring port) to evaluate server state using inline Python code. This is a benign utility pattern in the context of local testing and does not involve downloading remote payloads. - [EXTERNAL_DOWNLOADS]: The
setup.mdguide provides instructions to download and install NATS binaries frombinaries.nats.dev. This is an official, well-known service required for the messaging infrastructure defined in the protocol. - [COMMAND_EXECUTION]: Various educational and test scripts (
complete-cli-mesh.sh,test.sh,setup.sh) execute shell commands and thenatsCLI to simulate agent behavior and infrastructure setup. These are intended for developer education and environment verification.
Recommendations
- HIGH: Downloads and executes remote code from: http://localhost:8222/leafz - DO NOT USE without thorough review
Audit Metadata