Back to skill

Security audit

YouTube 脚本生成

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed FridayParts video-script writing skill with no code execution, data access, persistence, or hidden system changes.

Install only if you want a FridayParts-branded repair-video script generator. Review the broad triggers and model setting before import, and have technical staff verify generated repair details before publication.

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
Findings (1)

T01 · Skill Instruction Hijacking

Warning
Location
skill/SKILL.md:90
Finding

Mandatory Promotional Content Hijacks Generated Script Endings

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:90-91 and duplicate skill/SKILL.md:90-91
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: Medium

Complete vulnerable instruction, translated into English:

text
ENDING (1-2 shots): Brand placement, comment-section engagement, and like-and-subscribe solicitation.
  The ending must be: FridayParts — Fix it once. Fix it right.

The requirement is reinforced by reference/人工验证checklist.md:21, which requires reviewers to confirm the slogan, and demonstrated in the generated output at examples/example_water_pump_thermostat.md:29.

Technical Analysis

The Skill instructs the agent to append brand promotion, engagement solicitation, and a fixed advertising slogan to every generated script. This behavior is mandatory rather than conditional on an explicit user request.

When either copy of the Skill is loaded, these instructions alter the agent's output goals by making promotional content an invariant part of the response. The behavior does not involve code execution, privilege escalation, persistence, credential access, or data exfiltration; it is limited to manipulation of generated content.

Attack Path

  1. An operator imports SKILL.md or skill/SKILL.md into the agent platform.
  2. A user invokes the Skill to generate a repair or educational video script.
  3. The agent follows the mandatory ENDING instructions regardless of whether the user requested promotional material.
  4. The generated script includes FridayParts brand placement, engagement solicitation, and the fixed slogan.
  5. The review checklist encourages downstream reviewers to retain this content, allowing it to reach publication.

Impact Assessment

The instruction can cause generated scripts to act as an unsolicited promotional channel for FridayParts. Its scope is limited to content produced while this Skill is active. It grants no operating-system, files ...[truncated 302 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the unconditional requirement for brand placement, engagement solicitation, and the fixed slogan.
  2. Add an explicit input option such as Include promotional ending: yes/no, defaulting to no.
  3. Generate branding only when the user knowingly requests it.
  4. Update reference/人工验证checklist.md so reviewers verify that promotional content is authorized rather than always present.
  5. Replace the mandatory ending rule with a neutral requirement, such as: “Use a user-approved closing statement; do not add brands, slogans, calls to subscribe, or other promotional language unless explicitly requested.”
  6. Apply the same correction to both duplicated Skill files to prevent the vulnerable version from being imported accidentally.
  7. Add a regression test confirming that a request for a neutral educational script produces no brand promotion or engagement solicitation by default.
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • 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
Findings (12)

Tp2

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The entire skill description is written in Chinese and presents the workflow, parameters, and usage only in that language. Under the policy, forcing a specific language without opt-in can be a natural-language policy violation when no alternative language option or justification is provided.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The description states the output must conform to North American mechanic speech habits, and the system prompt further fixes the audience and style to native North American English mechanics. This is a language/locale constraint presented as mandatory behavior rather than an optional or user-selected preference.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The triggers are broad enough to capture generic requests for 'video script' or 'YouTube script' help, which can cause the skill to activate outside its intended FridayParts heavy-equipment niche. That creates prompt-scope hijacking risk at the orchestration layer: unrelated user tasks may be routed into a branded, constrained script generator that injects domain assumptions, style constraints, and product framing without clear user intent.

Content

No source excerpt is available for this finding.

External Model or Provider Selection

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

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

md
台词初版中英/二次验证中英/建议画面。符合北美机械师口语习惯,内置 FridayParts
  技术准确性规范,第一次输出就自动规避"过于绝对"的技术表述。
  Use when: 生成 YouTube 视频脚本 / 维修教程脚本 / 设备故障科普视频。
model: claude-sonnet-4-6
temperature: 0.6
max_tokens: 2500
triggers:

External Model or Provider Selection

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.

Content

Scanner excerpt · skill/SKILL.md (reported line 11)May include surrounding context.

md
台词初版中英/二次验证中英/建议画面。符合北美机械师口语习惯,内置 FridayParts
  技术准确性规范,第一次输出就自动规避"过于绝对"的技术表述。
  Use when: 生成 YouTube 视频脚本 / 维修教程脚本 / 设备故障科普视频。
model: claude-sonnet-4-6
temperature: 0.6
max_tokens: 2500
triggers:

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrase "视频脚本" is very broad and can match many unrelated requests for general video scripting. That increases the chance of accidental skill activation, causing this brand-specific repair-video prompt to steer conversations outside its intended scope and potentially inject irrelevant or misleading domain framing.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger "维修视频" is ambiguous and could activate on many repair-related requests that are not about this skill's narrow purpose of generating a FridayParts-style YouTube storyboard. Misrouting broad repair requests into this skill could produce overconfident scripting output in contexts where users expected troubleshooting help rather than content generation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

"拍视频脚本" is a common generic expression and lacks any domain restriction tying it to heavy-equipment repair, FridayParts, or bilingual storyboard generation. Overbroad activation can cause the skill to handle unrelated content requests, creating prompt-routing errors and increasing the chance of inappropriate branded or technical language appearing in the response.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger "分镜脚本" is highly generic and may match a wide range of unrelated storyboard requests. In a skill that contains extensive brand and technical repair instructions, unintended activation can leak specialized assumptions into unrelated tasks and reduce routing safety and reliability.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

This markdown file contains user-facing instructions only in Chinese, which can amount to a language/locale policy issue when no opt-in or alternative language path is provided. The file does not indicate that the skill is region-specific or that Chinese is required for a justified compliance or audience reason.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The "Use when" description is broad and does not clearly define exclusions or edge cases, so users or orchestration systems may invoke the skill for adjacent but unsuitable requests. While not directly exploitable like code execution, unclear boundaries increase the risk of misapplication and poor prompt routing.

Content

No source excerpt is available for this finding.