Back to skill

Security audit

NeuBird AI Production Ops Agent

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent NeuBird production-ops skill, but it needs review because it uses an authenticated production CLI with sensitive operational data and documents unsafe free-form shell command patterns.

Review before installing in production. Use it only where NeuBird is authorized to access the relevant environments, avoid including secrets or customer data in prompts, confirm sensitive investigations with the user, and ensure agents invoke the CLI with separate arguments rather than constructing shell command strings from user input.

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
SKILL.md:98
Finding

Shell Command Injection Through an Untrusted Investigation Prompt

Content
View full analysis
" --project --session /tmp/ ``` ### Technical Analysis The documented workflow places the user-supplied investigation prompt directly inside a shell command. Double quotes do not prevent shell evaluation of command substitutions such as `$(...)` or backticks. A prompt containing an unescaped double quote can also terminate the quoted argument and introduce shell operators or additional commands. If an agent implements this instruction by constructing a command string and passing it to a shell, attacker-controlled prompt content can become executable shell syntax. The instructions do not require an argument-array process API, shell escaping, validation, or rejection of control characters. ### Attack Path 1. An attacker submits a production investigation request containing shell syntax, such as a double quote followed by a command substitution or command separator. 2. The agent replaces the documented `` placeholder with the attacker-controlled text. 3. The resulting command string is executed through a shell. 4. The shell interprets the injected syntax rather than passing the entire prompt as one literal argument. 5. The injected command runs with the operating-system privileges and accessible environment of the agent process. Exploitation depends on the agent executing the example through a shell. A structured process API that passes each argument independently would prevent this attack path. ### Impact Assessment Successful exploitation could permit arbitrary command execution with the privileges of the process running the skill. An attacker could read or modify files accessible to that account, access environment variables or loc ...[truncated 456 chars]
Remediation
View remediation
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 (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill directs the agent to send production investigations, health data, cost analysis, and free-form prompts through the NeuBird CLI/service, but the description and usage guidance do not clearly warn users that sensitive operational telemetry and possibly user-provided incident details leave the local assistant context. In a production-ops skill, this omission is dangerous because users may unknowingly transmit confidential infrastructure state, incident data, and business-sensitive cost information to a third-party service.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- Dump raw neubird output without narration
- Fabricate findings if the command fails — report the error clearly
- Skip scope/blast radius — "unknown" is valid but must be stated
- Recommend rollback without checking if a recent deploy is in scope

Static analysis

No suspicious patterns detected.