Back to skill

Security audit

AnyGen图表生成-免费版

Security checks for vulnerabilities and agentic risk

Overview

The skill is mainly a diagram generator, but it asks for broad agent tools and gives mismatched instructions that could steer agents into API, webhook, and extra skill-installation workflows beyond that purpose.

Install only if you are comfortable using AnyGen as an external rendering service, sharing diagram prompts with it, authenticating through browser or API key, and reviewing any additional skill installed by `anygen skill install`. Avoid submitting secrets or sensitive internal architecture, and prefer a pinned, reviewed dependency without unattended `-y` installation.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
  • 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 (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:130
Finding

Unpinned and Unattended Third-Party Skill Installation

Content
View full analysis
-y ``` ### Technical Analysis The documented installation command installs the `anygen-workflow-generate` third-party skill without specifying an immutable version, commit, digest, verified source, checksum, or cryptographic signature. The `-y` option also suppresses interactive confirmation. As a result, the installed dependency may differ from the version originally reviewed. If the package registry, publisher account, package distribution channel, or dependency itself is compromised, the command could install modified skill instructions or executable components without giving the user an opportunity to inspect the changes. This is a supply-chain weakness rather than evidence that the current dependency is malicious. The audited project contains only `SKILL.md`; no embedded malicious scripts or payloads were found in the project itself. ### Attack Path 1. An attacker compromises the publisher account, package registry, or distribution channel for `anygen-workflow-generate`. 2. The attacker publishes a modified release under the expected package name. 3. A user or Agent follows the documented installation command. 4. Because no immutable version or digest is specified, the installer retrieves the attacker-controlled release. 5. The `-y` option allows installation to proceed without an explicit review or confirmation step. 6. When the installed skill is loaded or invoked, its altered instructions or executable components run with the permissions available to the hosting Agent. ### Impact Assessment A compromised dependency could influence Agent behavior and access the tools granted to the installed skill. Depending on the hosting platform’s permissions, the impact could include un ...[truncated 477 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill states that rendering is server-side but does not clearly warn that prompts and diagram content are sent to an external service. This creates a real data-handling risk: users may include proprietary architecture, internal workflows, or sensitive business information in prompts without informed consent, leading to unintended third-party disclosure.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The core capability table marks '批量生成' as unsupported in the free version at L044. Later sections describe the skill as suitable for automation workflow scenarios (L003, L024) and quantify efficiency for '批量文件处理(100个)' and '重复任务批量执行' at L248 and L252, which contradict the earlier limitation and overstate free-edition functionality.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The capability matrix explicitly says 'API 集成' is not supported in the free version at L047. However, the document later states the skill should be used for 'API集成、接口对接、Webhook配置、系统连接' at L111 and provides API-key-based authentication at L121-L125, creating a direct contradiction in the skill's stated intent and supported scope.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill is presented as a diagram generator, but the body broadens it into generic create/query/modify/delete, import/reset, save/convert style operations. That scope expansion can cause an agent to over-trust the skill and invoke write/exec/browser capabilities for tasks outside the user's intent, increasing the risk of unintended file changes or unsafe command execution paths.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The activation criteria are overly broad and inconsistent with the stated purpose, making accidental or inappropriate invocation more likely. Because the skill declares powerful tools, ambiguous triggering increases the attack surface by allowing unrelated prompts to steer the agent into executing commands or opening browser-based auth flows unnecessarily.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger condition redirects activation from chart generation to API integration, webhook configuration, and system connection tasks, which are materially different and more sensitive. In an agent environment with exec/write/browser access, this can lead to inappropriate activation for infrastructure-facing tasks and increase the chance of credential handling, network actions, or other risky operations under a misleading skill identity.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.