Back to skill

Security audit

科普智创审校助手

Security checks for vulnerabilities and agentic risk

Overview

The skill is a science-writing helper, but it can automatically publish generated content to a fixed Feishu location, change document access, and store links locally without clear user approval.

Review before installing. Use this only if you are comfortable with the agent creating Feishu documents in the specified workspace, granting edit access, and saving document links locally; a safer version should ask you to choose the destination and confirm permissions before any external write.

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:129
Finding

Generated content is published to a hard-coded external Feishu destination

Content
View full analysis
, doc_token=) ``` It also instructs the agent to grant access to the requester: ```text grant_to_requester=true ``` ### Technical Analysis The skill fixes the Feishu space and parent-node identifiers inside its instructions instead of obtaining them from the requester or the authenticated Feishu account configuration. Consequently, an agent following the workflow may use available Feishu credentials to create a document in a workspace destination that the requester did not select or approve. The identifiers are routing identifiers rather than demonstrated authentication secrets. Nevertheless, they establish an external data destination and cross an authorization boundary without explicit destination confirmation. Granting the requester document access after creation does not prove that the requester owns, administers, or approved the hard-coded parent workspace. Other members or administrators of that workspace may retain access according to its existing policy. The effective operation remains limited by the permissions of the credentials available to `lark-cli` and `feishu_doc`; the instructions do not independently bypass Feishu authentication. Exploitation therefore requires valid credentials that can write to the specified destination. ### Attack Path 1. A user invokes the skill and supplies a topic or content used to create a science article. 2. The agent generates the article, references, and review information. 3. The agent invokes ...[truncated 1197 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description says the skill activates when the user mentions the listed phrases "or similar intent" (或类似意图时激活), which makes the trigger boundary ambiguous. This broad natural-language condition could overlap with ordinary discussion of science communication work and cause unintended invocation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The documented workflow expands beyond the declared skill scope by creating Feishu wiki/docs, granting permissions, and persisting links to local memory. This creates additional data-handling and side-effect capabilities not clearly disclosed in the manifest, increasing the chance of unintended document creation, data leakage, or persistence of user-derived content without clear consent.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file gives mutually inconsistent instructions for the same Feishu write operation: most of the section requires XML content and forbids raw Markdown, while the final lines say content should be pure Markdown. Contradictory instructions around output encoding can cause malformed writes, accidental tool misuse, or bypass of expected content-safety transformations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill instructs recording document links into local memory files without a user-facing warning that information will be persisted. Silent persistence can retain sensitive topics, identifiers, or collaboration links beyond the immediate session, creating privacy and retention risks.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill directs granting edit permission to the requester before writing the Feishu document, but does not include an explicit consent or confirmation step about permission changes. Automatically broadening access can expose drafts or references to unintended editors and weakens access control around generated content.

Content

No source excerpt is available for this finding.