Back to skill

Security audit

分镜脚本生成 Storyboard Script

Security checks for vulnerabilities and agentic risk

Overview

Review is needed because this text-only storyboard skill also requires cloud image generation, contradicting its explicit scope.

For text-only storyboards, prefer a version that removes the mandatory rendering workflow. If you want image generation, explicitly approve that scope, review which prompts or files reach dLazy, check service costs, and consider the disclosed credential storage. The supplied static scan reported no findings, but the conflicting instructions remain a material concern.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code only performs authentication configuration and contains no storyboard-generation behavior. Nothing supplied establishes that dlazy authentication supports the declared task. The command uses a placeholder; it does not demonstrate access to or disclosure of an existing secret.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command configures CLI authentication rather than generating storyboard scripts. No connection between dlazy authentication and the declared storyboard workflow is established, so this is an undeclared capability rather than a demonstrated supporting implementation detail. The chunk does not show credential exfiltration or storyboard generation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code performs a login operation rather than generating or processing storyboard scripts. No connection to the declared purpose is evident. The command alone does not establish how authentication works or whether credentials are accessed.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied code invokes a login command rather than processing themes or generating storyboard scripts. No connection between this authentication step and the declared storyboard-generation purpose is established in the supplied content. The command alone does not establish what credentials or resources would be accessed.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
84% confidence
Finding

The supplied chunk contains no storyboard-generation logic or a storyboard-specific command; it only delegates to an external CLI using a placeholder. External tooling could support the declared purpose, but that relationship is not established here. The package's underlying behavior cannot be determined from this chunk, so no additional capabilities or malicious actions are inferred.

Content

No source excerpt is available for this finding.

The execution workflow requires image generation despite the skill's text-only storyboard purpose.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The mandatory workflow redirects an explicitly text-only storyboard task into terminal-based image generation using an external service. This expands the task's permissions and can transmit user-derived prompts or incur charges; the required user confirmation reduces the risk but does not resolve the contradictory scope or explicitly authorize those consequences.

Content

No source excerpt is available for this finding.

Execution instructions turn a text-only storyboard skill into a CLI-driven image generator.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The execution instructions require terminal-based image generation despite the explicit prohibition on generating media assets. This can steer a storyboard-only request into external prompt transmission and potentially billable operations; per-image confirmation mitigates the risk but does not clearly authorize the expanded permissions and data handling.

Content

No source excerpt is available for this finding.

The mandatory interaction workflow requires Chinese prompts and a literal Chinese confirmation without user opt-in.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

Step 2 instructs the agent to ask a prescribed Chinese question and requires the user to reply “确认” before proceeding. Step 4 likewise prescribes a Chinese follow-up, imposing a language requirement without allowing the interaction to follow the user's preferred language.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.