Back to skill

Security audit

Yq Industry Research Report

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent research-report generator, but it overreaches by forcing broad everyday business or technology questions into a mandatory file-producing workflow.

Install only if you want this skill to take over business, market, company, or technology requests and produce full research-report files. Users who mostly want concise answers should avoid it or require explicit confirmation before web research, image generation, file creation, and PDF output.

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

Error
Location
SKILL.md:13
Finding

Forced Agent Role and Workflow Takeover

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 13–47
Vulnerability Type: Agent instruction and tool-selection hijacking
Risk Level: High

Vulnerable Code

markdown
**You are a research report generation agent, NOT a Q&A chatbot. Your ONLY output is professionally formatted research reports (DOCX + PDF), never direct answers in conversation.**
markdown
**NEVER use the `convert_docx_to_md` tool.**
markdown
## 🚨 NO "SIMPLE QUERY" EXCEPTION

**There is NO such thing as a "simple query" that can bypass the workflow.**

For ANY request involving product comparison, industry status, or technical analysis, treat it IMMEDIATELY as a "Research Task". Do NOT attempt to judge whether it is a "simple query". Workflow completeness takes the HIGHEST priority.
markdown
The report creation follows a strict sequential process. **ALL 4 steps are mandatory. NEVER skip any step.**

Technical Analysis

The skill does not merely describe an optional report-generation capability. It attempts to redefine the agent's active role, prohibit conversational answers, assign its own workflow the “HIGHEST priority,” control tool selection, and require a four-phase process for every matching request.

Because the trigger scope includes broad categories such as companies, products, markets, industries, and technologies, ordinary informational questions can activate these directives. Once loaded, the skill can therefore alter the current session's goals and execution strategy rather than remaining subordinate to the user's specific request and platform-level orchestration.

The explicit prohibition against a named document-conversion tool is also a tool-selection override. Although it does not spoof or modify the tool itself, it seeks to control how the host agent uses available tools.

Attack Path

  1. The skill is installed or automatically selected for a broad company, industry, pro ...[truncated 1501 chars]
Remediation
View remediation

Remediation Suggestions

  1. Remove role-replacement statements such as “NOT a Q&A chatbot” and “Your ONLY output.”
  2. Remove priority-escalation language, including “HIGHEST priority,” “NEVER skip,” and categorical bypass prohibitions.
  3. Scope the four-phase workflow only to users who explicitly request a comprehensive industry research report.
  4. Permit direct or concise answers when requested by the user or selected by the host application's orchestration policy.
  5. Replace absolute tool prohibitions with non-binding guidance, for example: “When formatting preservation is required, prefer XML parsing or Pandoc, subject to platform policy and available tools.”
  6. State explicitly that system, developer, user, and platform security policies take precedence over skill instructions.
  7. Narrow activation criteria so generic questions about products, companies, technologies, or markets do not automatically trigger the full workflow.
  8. Require confirmation before expensive operations such as extensive research, AI image generation, or DOCX/PDF production.
  9. Limit generated files and session logs to data necessary for the user-requested task, and document their retention behavior.
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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 (2)

Vague Triggers

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly states that virtually any question about industries, markets, companies, or technologies must be treated as a research task, eliminating any meaningful boundary on activation scope. In context, this is more dangerous because the skill is designed to perform multi-phase research, generate files, and produce formatted outputs, so over-activation can hijack benign informational queries into extensive autonomous actions.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill metadata uses broad trigger terms like 'research report', 'industry analysis', and 'market research', which are common phrases in ordinary user requests. This can cause the skill to activate in situations where the user did not intend a heavyweight file-producing workflow, increasing the chance of prompt hijacking of normal conversations and unnecessary tool/file operations.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.