Back to skill

Security audit

短视频口播文案 Spoken Script

Security checks for vulnerabilities and agentic risk

Overview

This script-writing skill requires an unrelated image-generation workflow that adds software execution, account credentials, and external data sharing.

For script writing alone, prefer a version that removes the mandatory image-generation workflow. If you also want dLazy images, explicitly approve that separate task and review software installation, prompt and media sharing, possible service charges, and local API-key storage. The concrete concern is the workflow mismatch; malicious behavior is not established.

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
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command performs authentication setup, with no demonstrated connection to the declared script-generation purpose. Nothing in the chunk establishes this as a supporting implementation detail of that workflow. The code does not show credential exfiltration or actual script 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 contains only a login command. Authentication to an external tool is not described in the declared purpose, and nothing in the supplied chunk connects it to script generation. The code does not establish whether login succeeds or what resources the tool accesses.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command performs authentication configuration rather than script generation or writing guidance. No connection between dlazy authentication and the declared purpose is established. The snippet does not show script generation, credential exfiltration, or other behavior beyond the authentication command.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied code contains only a login command, with no script-writing guidance or generation behavior. Authentication to dlazy is not described by the declared purpose or triggers, and no connection to the script-generation workflow is established. The snippet does not reveal the login mechanism or whether authentication succeeds.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The installation metadata introduces an external npm executable, while the final instructions mandate terminal-based image generation despite the skill being advertised as text-script guidance. This unnecessarily expands a text-only task into third-party code execution and network requests; a compromised package could act with the agent's operating-system permissions, although no malicious package behavior is demonstrated here.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

This duplicates the external-execution scope mismatch: a task that can be completed entirely as text is redirected toward an npm CLI and hosted image-generation service. Version pinning and source links improve auditability but do not establish package safety or justify executing it for the requested task.

Content

No source excerpt is available for this finding.

The mandatory execution workflow generates images through a CLI instead of producing spoken-script text.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The skill's mandatory execution instructions redirect a text-only script-writing task into image generation and require terminal execution of a third-party CLI. This unnecessarily expands the task's authority and data exposure, potentially transmitting prompts to an external service and consuming paid API resources without a need arising from the original request. The disclosed service endpoints and explicit confirmation steps reduce the risk of covert execution, but do not resolve the unrelated workflow or its conflict with the requirement to directly output script text.

Content

No source excerpt is available for this finding.

L136–L139 replace spoken-script generation with a mandatory image-generation workflow using a terminal CLI.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The final 'CRITICAL EXECUTION INSTRUCTIONS' contradict direct script output and require an unrelated image-generation workflow with terminal execution. Although image generation requires user confirmation, that confirmation does not necessarily authorize installing software or transmitting potentially sensitive prompt content to a third party.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.