Back to skill

Security audit

nutanix-aiops

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because the scan reports a risk that documented workflows could allow destructive infrastructure changes without fresh operator approval; scanner coverage was partial.

Review the documented safeguards and ensure destructive actions require your explicit approval before using the skill with an account that can change infrastructure. The scan is incomplete: it reports 80% coverage, with obfuscated instruction text only partially evaluated and two local references unresolved. Treat the suspicious verdict as a reason to inspect carefully before installing.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Error
Location
references/agent-guardrails.md:23
Finding

Destructive MCP operations rely on prompt-only approval

Content
View full analysis

Impact

Following the documented diagnostic workflow with a write-capable account can delete recovery points without fresh operator authorization. Other affected operations can overwrite VM state, remove infrastructure resources, or initiate disruptive failover or upgrades.

Vulnerability Patterns
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • 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 (6)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% 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).

Content

Scanner excerpt · references/capabilities.md (reported line 57)May include surrounding context.

md
| Tool | Risk | API path | Returns / undo |
|------|------|----------|----------------|
| `image_list` | read | `GET /api/vmm/v4.0/content/images` | image extId, name, type, size |
| `image_delete` | write · **HIGH** | `DELETE /api/vmm/v4.0/content/images/{extId}` | **dry_run** |
| `category_list` | read | `GET /api/prism/v4.0/config/categories` | key, value, extId |
| `category_create` | write · low | `POST /api/prism/v4.0/config/categories` | new category extId |
| `category_assign` | write · med | `POST …/categories/{extId}/$actions/associate` | **bulk-assign** a category to many VMs |

Tool Parameter Abuse

High
Category
Tool Misuse
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).

Content

Scanner excerpt · references/cli-reference.md (reported line 11)May include surrounding context.

bash
nutanix-aiops init                      # interactive onboarding wizard
nutanix-aiops doctor [--skip-auth]      # config + secret store + connectivity + REST-RBAC preflight
nutanix-aiops mcp                       # start the MCP server (stdio transport)

Tool Parameter Abuse

High
Category
Tool Misuse
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).

Content

Scanner excerpt · references/cli-reference.md (reported line 16)May include surrounding context.

text

`doctor` checks the config file, the encrypted secret store and its permissions,
that a password is present per target, and (unless `--skip-auth`) connectivity
plus a **REST-RBAC preflight** against Prism Central — confirming the account can
actually call the v4 APIs, not just log in to the Web UI.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

md
>
  Standalone, self-governed Nutanix Prism Central operations. The governance harness (audit, token/runaway budget, undo, descriptive risk-tier labels) is bundled in the package — no external skill-family dependency.
  Connects to Prism Central on HTTPS :9440 with HTTP Basic auth (username + password). The v4 REST API requires an ETag/If-Match on every mutation; nutanix-aiops fetches and sends it automatically. All list tools paginate automatically; vm_list returns both AHV and ESXi VMs.
  All write operations are audited to a local SQLite DB under ~/.nutanix-aiops/ (relocatable via NUTANIX_AIOPS_HOME).
  Credentials: the Prism Central password is stored ENCRYPTED in ~/.nutanix-aiops/secrets.enc (Fernet/AES-128 + scrypt-derived key) — never plaintext on disk. Run 'nutanix-aiops init' to onboard, or 'nutanix-aiops secret set <target>' to add one. The store is unlocked by a master password from NUTANIX_AIOPS_MASTER_PASSWORD (non-interactive/MCP/CI) or an interactive prompt (CLI on a TTY

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/cli-reference.md (reported line 11)May include surrounding context.

bash
nutanix-aiops init                      # interactive onboarding wizard
nutanix-aiops doctor [--skip-auth]      # config + secret store + connectivity + REST-RBAC preflight
nutanix-aiops mcp                       # start the MCP server (stdio transport)

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/cli-reference.md (reported line 16)May include surrounding context.

text

`doctor` checks the config file, the encrypted secret store and its permissions,
that a password is present per target, and (unless `--skip-auth`) connectivity
plus a **REST-RBAC preflight** against Prism Central — confirming the account can
actually call the v4 APIs, not just log in to the Web UI.