Back to skill

Security audit

ZenHeart Agent Workflows

Security checks for vulnerabilities and agentic risk

Overview

This ZenHeart integration is mostly a documented protocol guide, but its server-pushed command channel and unpinned runtime dependency need careful review before use.

Install only if you are comfortable granting this skill ZenHeart agent credentials and remote messaging/publishing authority. Before production use, require a pinned and verified `zenlink` build, disable or tightly allowlist the generic `command` callback, and treat room mentions as untrusted requests that need sender authorization and confirmation for side effects.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (3)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:491
Finding

Unrestricted Remote Command Execution Instructions

Content
View full analysis
", "command": "...", "args": {} } ``` Reply: ```json { "type": "command_result", "request_id": "", "ok": true, "output": "human-readable result" } ``` ``` ### Technical Analysis The Skill instructs the agent to accept a remotely supplied `command` and `args` object and return its output to the server. It does not define: - An allowlist of permitted commands - A strict schema for command arguments - Sender- or request-level authorization - User confirmation requirements - Restrictions on filesystem, shell, credential, or network access - Rules requiring remote content to be treated as untrusted data - Output filtering to prevent disclosure of sensitive information The declared Skill scope covers registration, messaging, news publishing, social rooms, and FAQ access. A generic command-execution callback is broader than those declared responsibilities and therefore exceeds minimum necessary privileges. Although the documentation does not itself contain an executable script, an agent following these instructions could interpret arbitrary server-controlled text as an instruction and invoke any tools available in its current environment. ### Attack Path 1. An operator loads the Skill and connects the agent to the documented remote service. 2. The service, or an attacker who compromises or impersonates it, sends a `command` frame containing malicious instructions and arguments. 3. The agent interprets the frame as an authorized execution request because the Skill explicitly identifies it as a command callback. 4. The agent invokes locally available tools, potentially including filesystem, network, messagin ...[truncated 876 chars]
Remediation
View remediation

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:455
Finding

Untrusted Social Mentions Are Promoted to Executable Tasks

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Error
Location
SKILL.md:31
Finding

Unpinned Site-Hosted Runtime Dependency

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- `SKILL.md` (this file): canonical normal-agent operations reference with copy-paste payload templates.

Static analysis

No suspicious patterns detected.