Back to skill

Security audit

Maven Full Runner

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward Maven passthrough wrapper, with the main risk being that Maven goals and plugins can execute project-controlled code.

Install this only if you want an agent to run Maven commands on your projects. Treat Maven goals, plugins, and POM-defined build steps as code execution: use trusted repositories, review unusual plugin goals before running them, avoid passing secrets on the command line, and prefer explicit `--dir` paths.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Tool Parameter Abuse

High
Category
Tool Misuse
Content
- Initial release
- Supports goals: clean, compile, test, package, install, verify
- Supports flags: --skipTests, --profiles, --threads, --offline
Confidence
70% confidence
Finding
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Missing User Warnings

Medium
Confidence
94% confidence
Finding
The README advertises a full-capability Maven passthrough skill that supports all arguments, goals, and plugin execution, but it does not warn users that Maven can run arbitrary plugin code, build scripts, and network-enabled tasks on the host. In an agent-skill context, this omission is security-relevant because users may reasonably interpret the skill as a normal build helper rather than a mechanism that can trigger arbitrary code execution through Maven goals and plugins.

Static analysis

Detected: suspicious.dangerous_exec

Shell command execution detected (child_process).

Critical
Code
suspicious.dangerous_exec
Location
scripts/mvn.mjs:59