Back to skill

Security audit

synapse

Security checks for vulnerabilities and agentic risk

Overview

The skill has a coherent P2P sharing purpose, but it grants high-impact file sharing and memory-ingestion authority with weak local controls and under-disclosed network exposure.

Install only in a contained environment and avoid sharing sensitive files. Treat the tracker as public, prefer HTTPS/private trackers, do not use the safety-skip option, and do not run the background seeder on a multi-user system until the control socket permissions and handler templating are fixed.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
Findings (4)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:30
Finding

Remote Installer Is Downloaded and Executed Without Integrity Verification

Content
View full analysis
Remediation
View remediation
uv-installer.sh" | sha256sum -c - sh uv-installer.sh ``` ]]>

T09 · Insecure Skill Coding Practices

Error
Location
skill.json:25
Finding

Shell Command Injection Through Unescaped Skill Handler Parameters

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
src/seeder_daemon.py:292
Finding

World-Writable Seeder Control Socket Allows Unauthorized File Seeding and Daemon Control

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
src/logic.py:347
Finding

Semantic File Metadata Is Transmitted to a Remote Tracker Over Plaintext HTTP

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (82)

Known Vulnerable Dependency: cryptography==46.0.4 — 13 advisory(ies): GHSA-537c-gmf6-5ccf (Vulnerable OpenSSL included in cryptography wheels); CVE-2026-69247 (cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle th); CVE-2026-69249 (python-cryptography: Duplicate self-signed intermediates can cause exponential p) +10 more

Critical
Category
Supply Chain
Confidence
99% confidence
Finding

The dependency cryptography==46.0.4 is flagged with numerous advisories, including issues affecting bundled OpenSSL and PKCS#7 processing. Because this skill performs P2P file sharing and likely relies on secure transport, identity, or signature validation, weaknesses in cryptographic processing can undermine confidentiality, integrity, and trust decisions across the system.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: transformers==5.0.0 — 5 advisory(ies): CVE-2026-4372 (HuggingFace transformers vulnerable to remote code execution); CVE-2026-5241 (huggingface/transformers: Arbitrary Code Execution During Model Initialization i); CVE-2026-9856 (Transformers save_pretrained path traversal allows arbitrary file writes through) +2 more

Critical
Category
Supply Chain
Confidence
99% confidence
Finding

transformers==5.0.0 is associated with multiple severe advisories, including reported remote code execution and path traversal during model initialization and save/load operations. In this skill's context—semantic search with Hugging Face ecosystem components and likely remote model acquisition—this is especially dangerous because attacker-controlled model repositories or artifacts could trigger code execution or arbitrary file writes.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: cryptography==46.0.4 — 13 advisory(ies): GHSA-537c-gmf6-5ccf (Vulnerable OpenSSL included in cryptography wheels); CVE-2026-69247 (cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle th); CVE-2026-69249 (python-cryptography: Duplicate self-signed intermediates can cause exponential p) +10 more

Critical
Category
Supply Chain
Confidence
97% confidence
Finding

cryptography==46.0.4 is reported with multiple critical advisories, including issues in bundled OpenSSL and PKCS#7 processing, so keeping this version pinned creates a real cryptographic attack surface. For a P2P file-sharing skill that likely relies on secure transport, identity, signatures, or encrypted artifacts, weaknesses in cryptographic validation or decryption can directly undermine confidentiality, authenticity, and trust between agents.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: transformers==5.0.0 — 5 advisory(ies): CVE-2026-4372 (HuggingFace transformers vulnerable to remote code execution); CVE-2026-5241 (huggingface/transformers: Arbitrary Code Execution During Model Initialization i); CVE-2026-9856 (Transformers save_pretrained path traversal allows arbitrary file writes through) +2 more

Critical
Category
Supply Chain
Confidence
98% confidence
Finding

transformers==5.0.0 is flagged with multiple critical advisories including remote code execution and path traversal, which are especially severe in ML systems that fetch or initialize models dynamically. In this skill, semantic search likely depends on external models or tokenizers, so a malicious model repository, crafted artifact, or peer-influenced model path could lead to arbitrary code execution or unauthorized file writes.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The available commands include identity setup, and the static finding indicates key generation and persistence, but the top-level description does not mention identity management or OpenSSL-backed cryptographic operations. Undisclosed credential material generation and storage can expose users to accidental secret leakage, improper permissions, or misuse of trust identities.

Content

No source excerpt is available for this finding.

Chaining Abuse

High
Category
Tool Misuse
Confidence
99% confidence
Finding

Piping downloaded content directly into sh removes the opportunity to review or validate what will execute and is a classic command-chaining anti-pattern. In an agent or automation context, this makes silent remote code execution especially dangerous because the fetched script can perform arbitrary filesystem, network, or process actions immediately.

Content

Scanner excerpt · SKILL.md (reported line 30)May include surrounding context.

bash
# 1. Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# 2. Navigate to Synapse directory
cd /path/to/HiveBrain/Synapse

Known Vulnerable Dependency: click==8.3.1 — 1 advisory(ies): CVE-2026-7246 (Pallets Click, versions 8.3.2 and below, contain a command injection vulnerabili)

High
Category
Supply Chain
Confidence
96% confidence
Finding

The project pins click==8.3.1, and the supplied advisory indicates versions at or below 8.3.2 are affected by command injection. In an agent skill that may expose CLI-style inputs or automation hooks, a command injection flaw in a core command parsing library can materially increase the risk of arbitrary command execution if reachable.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: idna==3.11 — 2 advisory(ies): CVE-2026-45409 (Internationalized Domain Names in Applications (IDNA): Specially crafted inputs ); CVE-2026-45409 (Internationalized Domain Names in Applications (IDNA) for Python provides suppor)

High
Category
Supply Chain
Confidence
89% confidence
Finding

The pinned idna==3.11 version is reported vulnerable to specially crafted IDNA inputs. In a networked skill that may communicate with peers, trackers, model hubs, or remote search endpoints, incorrect handling of internationalized domain names can enable hostname confusion, validation bypass, or misrouting of connections.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: torch==2.10.0 — 2 advisory(ies): CVE-2025-3000 (PyTorch is vulnerable to memory corruption through its torch.jit.script function); CVE-2026-4538 (A vulnerability was identified in PyTorch 2.10.0. The affected element is an unk)

High
Category
Supply Chain
Confidence
90% confidence
Finding

torch==2.10.0 is reported vulnerable, including a memory-corruption issue in torch.jit.script. Since this skill uses ML embeddings and likely processes untrusted models, tensors, or serialized ML artifacts, a vulnerable PyTorch runtime raises the risk of crashes, denial of service, or potentially code execution in model-processing workflows.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: urllib3==2.6.3 — 4 advisory(ies): CVE-2026-44432 (urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API); CVE-2026-44431 (urllib3: Sensitive headers forwarded across origins in proxied low-level redirec); CVE-2026-44431 (urllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-o) +1 more

High
Category
Supply Chain
Confidence
94% confidence
Finding

urllib3==2.6.3 is flagged for multiple HTTP client issues, including decompression-bomb protection bypass and sensitive header forwarding across origins. Because this skill is network-heavy and likely performs outbound HTTP(S) requests to peers or model infrastructure, these flaws could enable denial of service or credential/header leakage during redirects or proxy interactions.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: click==8.3.1 — 1 advisory(ies): CVE-2026-7246 (Pallets Click, versions 8.3.2 and below, contain a command injection vulnerabili)

High
Category
Supply Chain
Confidence
92% confidence
Finding

The pinned dependency click==8.3.1 is flagged with a high-severity command injection advisory, which is a genuine supply-chain risk when an application exposes CLI-driven workflows or passes untrusted input into Click-based command handling. In this skill, the agent-to-agent and file-sharing context increases risk because external peers, filenames, metadata, or search parameters may eventually flow into command interfaces or wrappers, making exploitation paths more plausible.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: idna==3.11 — 2 advisory(ies): CVE-2026-45409 (Internationalized Domain Names in Applications (IDNA): Specially crafted inputs ); CVE-2026-45409 (Internationalized Domain Names in Applications (IDNA) for Python provides suppor)

High
Category
Supply Chain
Confidence
84% confidence
Finding

idna==3.11 is flagged for vulnerabilities involving specially crafted internationalized domain inputs, which can affect hostname parsing, validation, or canonicalization. In a distributed networking skill that may connect to trackers, peers, model registries, or remote APIs, incorrect IDNA handling can enable spoofing, misrouting, or security control bypass when attacker-controlled hostnames are processed.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: torch==2.10.0 — 2 advisory(ies): CVE-2025-3000 (PyTorch is vulnerable to memory corruption through its torch.jit.script function); CVE-2026-4538 (A vulnerability was identified in PyTorch 2.10.0. The affected element is an unk)

High
Category
Supply Chain
Confidence
88% confidence
Finding

torch==2.10.0 is flagged for memory corruption and other high-severity issues, and PyTorch has a history of dangerous behavior when handling untrusted models, JIT artifacts, or complex serialized inputs. Because this skill uses semantic search and embeddings, it likely loads models or model-related assets; if any of those can be influenced by remote peers or external registries, the vulnerability becomes significantly more dangerous.

Content

No source excerpt is available for this finding.

Known Vulnerable Dependency: urllib3==2.6.3 — 4 advisory(ies): CVE-2026-44432 (urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API); CVE-2026-44431 (urllib3: Sensitive headers forwarded across origins in proxied low-level redirec); CVE-2026-44431 (urllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-o) +1 more

High
Category
Supply Chain
Confidence
90% confidence
Finding

urllib3==2.6.3 is flagged for issues including decompression-bomb safeguard bypass and sensitive header forwarding across origins, both of which are real concerns in HTTP client code. This skill's network-heavy design increases exposure because it likely communicates with multiple remote services and peers, so redirect handling, proxy behavior, and streaming of attacker-controlled content can materially affect confidentiality and availability.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill can integrate a downloaded shard directly into the agent's active memory database and even exposes a 'skip_safety_check' option, yet the manifest lacks a prominent warning that this operation mutates the target database with untrusted external content. In a memory-sharing skill, this is especially dangerous because poisoned or adversarial embeddings/documents can contaminate retrieval behavior, persist malicious instructions, corrupt knowledge quality, or cause long-lived data integrity issues.

Content

No source excerpt is available for this finding.

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
95% confidence
Finding

The assimilate API exposes skip_safety_check, allowing untrusted memory shards to bypass the only content-based guardrail before being merged into active agent memory. In this skill's context—P2P file sharing plus semantic memory ingestion—that materially increases the chance of prompt injection, malicious instructions, poisoned knowledge, or hostile metadata reaching downstream agent behavior.

Content

Scanner excerpt · src/assimilation.py (reported line 366)May include surrounding context.

python
Args:
            shard: The MemoryShard to assimilate
            target_db_path: Path to the agent's vector database
            skip_safety_check: Skip safety scan (NOT RECOMMENDED)
            merge_strategy: How to merge ('append', 'replace', 'upsert')
            
        Returns:

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
94% confidence
Finding

The log message confirms the system will proceed 'without guardrails' when safety checks are skipped, reflecting a real unsafe execution path rather than harmless wording. Because this module is specifically responsible for transitioning downloaded external content into 'Active Memory', bypassing checks directly undermines the trust boundary and can enable ingestion of malicious or incompatible content.

Content

Scanner excerpt · src/assimilation.py (reported line 402)May include surrounding context.

python
f"Safety scan warnings: {', '.join(safety_report.warnings)}"
                )
        else:
            logger.warning("Safety check SKIPPED - proceeding without guardrails!")
            safety_report = None
        
        # Step 4: Merge to local database

Static analysis

No suspicious patterns detected.