Back to skill

Security audit

maven-plugin-configuration

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only Maven configuration skill with a few copy-paste examples that need care, but no hidden execution, persistence, or data access was found.

Before copying examples from this skill, review any Maven configuration that runs external commands, changes release/version state, or embeds developer identity/build timestamps. Use the exec plugin only with trusted scripts in trusted repositories, and remove Built-By or Build-Time entries if privacy or reproducible builds matter.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill includes an exec-maven-plugin example that runs a shell script via bash during generate-sources. In a documentation skill intended for broad Maven plugin configuration guidance, this can normalize arbitrary command execution inside builds and may be copied into real projects without understanding that it grants code execution during CI or local builds.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The JAR manifest example embeds ${user.name} and build timestamp metadata without warning about privacy or reproducibility implications. This can leak developer identity or environment details in distributed artifacts and can also undermine reproducible builds.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The documentation shows shell execution through exec-maven-plugin without an explicit safety warning. Even as an example, this can encourage users to insert unchecked scripts into Maven lifecycles, increasing the risk of executing unsafe commands in developer workstations or CI pipelines.

Content

No source excerpt is available for this finding.