Back to skill

Security audit

agentic-devops

Security checks for vulnerabilities and agentic risk

Overview

This DevOps skill is coherent and not malicious, but it should be reviewed because it can expose sensitive local operational details and make user-directed network checks without strong warnings or guardrails.

Install only if you are comfortable with a DevOps helper that can read local logs, show process command lines, inspect Docker state, probe localhost ports, and make HTTP requests to URLs you provide. Treat its output as sensitive and avoid running diagnostics in shared transcripts or support channels unless reviewed/redacted.

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
Findings (1)

other

Note
Location
devops.py:832
Finding

Automatic Broad Environment Reconnaissance and Sensitive Diagnostic Disclosure

Content
View full analysis
/dev/null | head -n 8" ) ``` ```python args = parser.parse_args() if args.command is None: # Default to diag ...[truncated 2449 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill advertises operational capabilities that inherently touch shell, files, environment data, and network resources, but the manifest declares no explicit tool scope or permission boundaries. In an agent setting, this can lead to over-broad execution authority, making it easier for the skill to read sensitive logs, inspect system state, probe services, or invoke shell-backed diagnostics beyond what a user may expect.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
94% confidence
Finding

The helper executes shell commands with shell=True by default, which is dangerous in a CLI that later interpolates user-controlled values into command strings. Although some inputs are shell-quoted, the overall pattern creates command-injection risk and makes future call sites easy to misuse, especially where values like counts or file paths are inserted into shell pipelines.

Content

Scanner excerpt · devops.py (reported line 146)May include surrounding context.

python
def run(cmd, timeout=15, shell=True):
    """Run a shell command and return (returncode, stdout, stderr)."""
    try:
        result = subprocess.run(
            cmd, shell=shell, capture_output=True, text=True, timeout=timeout
        )
        return result.returncode, result.stdout.strip(), result.stderr.strip()

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The tool defaults to running full diagnostics when invoked without a subcommand, and that diagnostics routine prints host details, process information, open localhost ports, Docker state, and excerpts from common system logs. In an agentic context, automatic collection and display of this information can expose sensitive operational data to logs, transcripts, or downstream systems without an explicit user confirmation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The health check performs arbitrary outbound HTTP requests to a user-supplied URL and reads part of the response body, which can be abused for SSRF-style access to internal services or metadata endpoints if an agent invokes it on untrusted input. Returning body content also increases the chance of leaking secrets or sensitive service responses into command output.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The markdown documents HTTP endpoint checks and port scanning commands, which can transmit requests to remote systems and probe local or remote services. There is no accompanying warning about ensuring authorization, possible logging on target systems, or the fact that these checks may affect privacy or system integrity expectations.

Content

No source excerpt is available for this finding.