Back to skill

Security audit

agent-knowledge

Security checks for vulnerabilities and agentic risk

Overview

This skill has no bundled executable payload, but it asks for broad write and command-execution powers without clear limits.

Install only if you can run it in a tightly sandboxed workspace and approve each file write, external API call, or command execution. Do not run it with administrator privileges or grant broad access to private files.

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

Excessive and Underspecified Command-Execution and File-Write Privileges

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (6)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The invocation guidance says to use the skill whenever the user needs anything 'agent-knowledge related,' which is overly broad and ambiguous. In agent routing systems, vague trigger criteria can cause over-invocation of a high-privilege skill, increasing the chance that read/write/exec capabilities are exposed in contexts where they are unnecessary or unsafe.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill is presented as a knowledge capture/retrieval tool, but its manifest also grants exec capability, which is unrelated to that core purpose and materially expands the attack surface. In an agent ecosystem, this can cause an otherwise low-risk retrieval skill to execute shell commands when invoked under broad matching conditions, enabling misuse or unexpected side effects.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The '专业版专属特性' table and FAQ assert capabilities such as custom model fine-tuning and commercial copyright authorization, but the rest of the skill documentation describes only generic knowledge capture/retrieval behavior and exposes no implementation details for those features. This is an intent-level contradiction because the documentation advertises product capabilities that are not reflected in the skill's described operations.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation broadens the skill's scope from knowledge handling into file manipulation, external API calls, and system command execution without a tightly justified need. Combined with the declared read/write/exec capabilities, this creates a powerful multi-purpose agent surface that could be steered to modify files, exfiltrate data to APIs, or run system commands under the guise of a knowledge skill.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill advertises data-affecting and externally interactive behaviors such as writing files, invoking APIs, and executing commands, yet does not provide clear user-facing warnings or consent boundaries. This makes accidental or socially engineered misuse more likely because users may invoke a seemingly harmless knowledge skill without understanding that it can alter local state or transmit data externally.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

The manifest describes a specialized knowledge capture and retrieval skill, but the usage section says the skill reads arbitrary input and performs generic 'processing or conversion'. That documentation blurs and contradicts the stated intent by describing a general-purpose transformer instead of a scoped knowledge-ingestion/retrieval workflow.

Content

No source excerpt is available for this finding.