Back to skill

Security audit

Openapi Docs Generator

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-help skill for OpenAPI/Swagger work, with no executable code or persistence, though its trigger wording is broader than ideal.

Reasonable to install for OpenAPI or Swagger documentation help. Be aware that the activation phrases are broad, so users or maintainers should prefer explicit invocation for API documentation tasks and consider tightening triggers to avoid accidental use on unrelated backend work.

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
  • 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 (11)

Vague Triggers

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The trigger sentence is broad enough to match ordinary user phrasing about getting help, which can cause the skill to activate outside its intended scope. Over-broad activation can route unrelated prompts into this skill, creating prompt hijacking or misapplication risk and reducing the reliability of skill selection.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The trigger phrases are generic and mechanically templated, making accidental or overly broad invocation more likely when users discuss adjacent topics like APIs, Swagger, or documentation. In an agent system, unintended invocation can route user requests into the wrong skill, causing incorrect handling, context leakage across workflows, or reduced reliability of downstream actions.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The trigger phrases are extremely generic and are framed as common help requests, which increases the chance that the skill is invoked when a user did not explicitly intend to call it. In an agent system, unintended invocation can cause the wrong workflow or instructions to be applied, leading to confused execution, privacy over-collection, or unsafe task routing.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill description is scoped so broadly that it can be selected for many generic requests unrelated to OpenAPI, including any request for a workflow, checklist, analysis, or implementation support. Over-broad routing can cause the agent to invoke this skill in unintended contexts, leading to prompt/scope hijacking, irrelevant instructions being applied, or lower-quality/security-inappropriate outputs.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The example triggers use generic language such as 'Help me' and 'I need a practical workflow,' which are common across countless unrelated user requests. In skill-routing systems, such examples can overfit selection behavior and cause accidental invocation outside the intended domain, increasing the chance of misrouting and unsafe or misleading assistance.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

该文件为 SKILL.zh-CN.md,整体内容固定为简体中文,但文中未说明这是用户可选语言,或该技能仅面向特定中文区域/环境。按照语言与 locale 政策,若技能强制特定语言而不给用户选择或未说明合理限制,可能构成自然语言策略违规。

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger section includes broad terms such as openapi, swagger, rest api, and developer experience, which can match many unrelated requests and cause the skill to be invoked outside its intended scope. Over-broad activation can lead to incorrect routing, user confusion, or the model applying this workflow when a more appropriate skill should handle the request.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The default prompt invokes the skill for a very broad set of topics without clear boundaries or user-confirmed activation criteria. This can cause the skill to be triggered in unrelated contexts, increasing the chance of unintended prompt injection exposure, incorrect tool use, or over-collection of user context during routine conversations.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The invocation examples are ambiguous and do not clearly delimit the skill's activation boundary, so the orchestrator may select this skill for loosely related requests. In a multi-skill environment, ambiguous routing increases unintended tool use, context confusion, and the chance that a user receives the wrong workflow or analysis.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
72% confidence
Finding

The README states that the skill instructions and user-facing guides exist in English and Chinese, but it does not describe how the user's preferred language is selected or whether the user can choose. This can create a locale-policy concern if the skill defaults to a language without explicit user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
74% confidence
Finding

This is a Chinese-language README, but key instructional content and trigger phrases are written in English, with no indication that users can choose their preferred language. That can create a locale-policy issue because the skill appears to assume English for activation and usage despite the localized filename.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.