Back to skill

Security audit

Java开发手册免费版

Security checks for vulnerabilities and agentic risk

Overview

This looks like a Java coding guide, but it asks for command and write authority and gives broad automation/deployment instructions that are not clearly scoped to a reference handbook.

Review before installing. Use this only as a Java standards/reference guide, and do not allow it to run commands, modify files, troubleshoot networks, or perform deployment actions unless the user explicitly requests that specific action. A safer version would remove write access, narrow or remove exec access, and limit triggers to Java coding standards, examples, and secure-coding guidance.

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
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (8)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The top-level trigger description is broad enough to match many ordinary development, debugging, testing, and deployment requests. In an agent environment, this increases the chance of over-invocation, where the skill may be selected in situations beyond its intended purpose and combined with privileged tools unnecessarily.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description states '支持中文交互', and the file consistently presents the skill as Chinese-interaction oriented without indicating that users may choose another language. This can violate language/locale policy expectations when no opt-in or justified locale restriction is provided.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill is presented as a Java development handbook, but these sections expand it into generic create/query/modify/delete, export, save, and runtime configuration operations. This capability inflation can mislead the agent into treating a passive reference skill as an operational tool, increasing the chance of unintended file or system actions when paired with write/exec permissions.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The activation condition lacks concrete boundaries and effectively says to use the skill for a wide range of development tasks. Ambiguous triggers are dangerous in autonomous or semi-autonomous systems because they let a high-permission skill activate in loosely related contexts, increasing misuse risk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The trigger/use-case wording extends the skill into deployment and broad automation/troubleshooting contexts, which is inconsistent with a Java standards reference manual. Overbroad operational framing can cause the agent to invoke the skill in contexts where command execution or environmental changes are riskier and not user-expected.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The file claims to be a pure Markdown instruction skill with no extra API key needs, yet also describes MD+EXEC, API-related behavior, and command execution. These inconsistencies obscure the real trust boundary and can cause users or orchestrators to underestimate the risk of local command execution or external interactions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill describes command execution capability but does not present a prominent warning about system-impacting behavior, despite also advertising applicability in broad development workflows. In context, this is more dangerous because the skill has exec/write exposure while presenting itself mainly as a harmless handbook, making users less likely to anticipate side effects.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The error-handling table instructs users to run network connectivity and firewall/proxy troubleshooting steps even though the skill is positioned as a Java standards handbook. This injects unrelated operational behavior that could prompt unnecessary command execution or environment probing outside the skill's legitimate scope.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.