Back to skill

Security audit

maven-build-lifecycle

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward Maven lifecycle reference skill; its risky commands are disclosed build examples rather than hidden or automatic behavior.

Install is reasonable for Maven help. Before running examples, verify the current project, active Maven settings, repository targets, and credentials, especially for clean, deploy, and site-deploy commands.

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
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 207)May include surrounding context.

md
<profile>
    <id>jdk17</id>
    <activation>
        <!-- Activate by JDK version -->
        <jdk>17</jdk>
    </activation>
</profile>

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

For markdown files, this rule applies when the skill description omits warnings about behaviors that could affect user data or system integrity. Here, the document provides direct runnable examples for mvn clean, mvn deploy, and mvn site-deploy, but does not warn that clean deletes build output and deploy commands may publish artifacts or documentation to remote repositories.

Content

No source excerpt is available for this finding.