synapse
Audited by Socket on Oct 24, 2026
4 alerts found:
SecurityAnomalyx3The fragment documents and demonstrates an Ed25519-based agent ACL system, with no evident malware, data exfiltration, or suspicious network destinations. The implementations contain serious security defects: TypeScript canonicalization can omit nested payload fields from signatures, authorization uses the caller's inbound list instead of the receiver's policy, and TypeScript may skip verification when the envelope is absent; outbound ACL checks are also not implemented. The transitional example accepts unsigned messages, and the quick reference writes a private key without restrictive permissions. Overall severity is high for deployments relying on these examples for authentication, but malicious intent is not indicated.
This code implements an HTTP-to-Synapse bridge and contains no clear malware, credential theft, or obfuscated payload. Its webhook binds to all interfaces without visible authentication, allowing remote callers to discover agents and invoke mesh skills via /mesh/request; severity depends on network exposure and the capabilities of registered skills. Configured agent URLs also warrant validation if they can be influenced by untrusted parties. No domains, IP literals beyond the bind address, or credential targets are present.
This module signs and verifies envelopes using local Ed25519 key and trust-store files, with no evident network activity or malware behavior. It has a path traversal risk because agent_id is used without validation to select a key JSON file under ~/.synapse/keys, and verification reports unsigned envelopes as valid. These issues warrant review if agent_id or envelopes are untrusted or callers treat the boolean result as authenticated. Severity is moderate; no domains, URLs, or IP addresses are present.
This code implements an HTTP-to-mesh bridge and forwards mesh skill inputs to configured agent URLs. Its webhook routes lack authentication, so reachable callers may discover agents and invoke mesh requests; outbound destinations depend on supplied agent configuration. No evidence of credential theft, malicious exfiltration, or obfuscation appears in this fragment. Security risk is moderate and should be reduced by restricting network binding and enforcing authentication and authorization.