Back to skill

Security audit

需求拆解

Security checks for vulnerabilities and agentic risk

Overview

The skill mainly performs requirements decomposition, but it may automatically create Jira/Linear issues or publish documents to Notion/Feishu when connectors are available.

Install only if you are comfortable with the skill using connected Jira, Linear, Notion, or Feishu accounts. Before invoking it on confidential requirements, tell the agent to produce a local draft only and require your explicit approval before any issue creation or document publication.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (1)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:104
Finding

External Connector Writes Without Explicit User Authorization

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 104–110
Vulnerability Type: Unauthorized external write operations
Risk Level: Medium

Vulnerable Code Snippet:

markdown
If **Project Tracking** is connected:
- Directly synchronize the decomposed user stories to Linear/Jira and create corresponding issues.

If **Document Collaboration** is connected:
- Publish the complete decomposition document to Notion/Feishu Docs for team sharing.

Technical Analysis

The skill directs the agent to create issues and publish complete documents whenever applicable connectors are available. Connector availability is treated as sufficient authorization, with no requirement to obtain explicit user confirmation before performing an external write.

This violates least-privilege and user-consent principles because the skill's primary purpose is requirement decomposition, which can be completed by generating a local Markdown document. Creating records in project-management systems or publishing content to collaboration platforms is a separate side effect that may expose user-supplied requirements, PRD content, business plans, or other confidential information.

The instructions do not require the agent to:

  • Ask for confirmation before an external write.
  • Identify the target workspace, project, or document location.
  • Display the exact content that will be transmitted.
  • Remove or redact sensitive information.
  • Validate that the connector's scope is appropriate.
  • Provide a dry-run or local-only option when a connector exists.

Attack Path

  1. A user supplies a business requirement, confidential scenario, or complete PRD to the skill.
  2. The skill extracts and restructures the supplied information.
  3. A project-tracking or document-collaboration connector is available in the agent environment.
  4. The skill follows its connector instructions and creates Linear/Jira issues or publishes the co ...[truncated 1095 chars]
Remediation
View remediation

Remediation Suggestions

  1. Make local Markdown generation the default behavior, regardless of connector availability.
  2. Require explicit user confirmation immediately before each external write operation.
  3. Present the connector, workspace, project, destination, and exact outbound payload before requesting approval.
  4. Allow the user to edit or redact the payload before transmission.
  5. Minimize transmitted data and exclude credentials, personal data, internal identifiers, and confidential PRD sections unless specifically approved.
  6. Validate connector scopes and reject destinations that cannot be confirmed.
  7. Separate content generation from publication so that publication is an optional, independently authorized action.
  8. Record the destination and operation result without storing sensitive document content unnecessarily.
  9. Replace the affected instructions with wording such as:
    markdown
    If a supported connector is available, generate a local preview first. Do not create issues or publish documents unless the user explicitly confirms the exact destination and payload.
    
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill’s declared purpose is analytical decomposition, but it additionally instructs the agent to create Jira/Linear issues and publish documents when connectors are available. That expands behavior from analysis into external side effects without an explicit confirmation gate, which can cause unintended data propagation and unauthorized modifications in integrated systems.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

Modifying project-tracking and documentation systems is not necessary to fulfill the core task of requirements decomposition, so these instructions introduce unnecessary write capabilities. In practice, this can lead to accidental ticket creation, document publication, or leakage of sensitive business requirements into third-party systems beyond the user’s intent.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The connector instructions can send requirement details to Jira, Linear, Notion, or Feishu without a clear user-facing warning about external data sharing. Because business requirements often contain sensitive operational or product information, silent publication to connected services materially increases confidentiality and governance risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file applies to SQP-2 because it is a .md file, and it outlines capabilities that can affect user data and privacy, including external API calls, database/file-system access, and scraping. The description presents these behaviors as standard modules but does not include warnings or cautions for users about data transmission, sensitive data handling, or system effects.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The instruction to save the full output as a local Markdown file introduces a side effect without telling the user or asking for consent. Even local writes can expose sensitive planning data, create unexpected persistence, or overwrite files depending on the runtime environment.

Content

No source excerpt is available for this finding.