Back to skill

Security audit

Gainsight NXT

Security checks for vulnerabilities and agentic risk

Overview

This skill is mostly coherent for operating Gainsight NXT through OOMOL, but its setup instructions include unverified remote installer commands that execute downloaded code directly.

Review the setup path before installing. Prefer installing the oo CLI through a verified, version-pinned method, and only connect an OOMOL account and Gainsight NXT API key if you are comfortable allowing this skill to read, create, update, and delete Gainsight company records with explicit approval for writes and deletes.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • 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)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:55
Finding
Unverified Remote Installer Download and Immediate Execution## Vulnerability Details **File Location**: `SKILL.md`, lines 55-63 **Vulnerability Type**: Remote payload retrieval and execution through mutable installation scripts **Risk Level**: Critical ### Vulnerable Code ```markdown - **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>): ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ``` ### Technical Analysis The setup instructions retrieve mutable scripts from `cli.oomol.com` and pass their contents directly to Bash or PowerShell. Neither command pins an installer version, verifies a cryptographic signature or checksum, nor gives the user an opportunity to inspect the downloaded code before execution. HTTPS protects the connection in transit but does not establish the integrity of the script over time. If the hosting service, publishing account, DNS configuration, TLS trust chain, or delivery infrastructure is compromised, arbitrary replacement code could be returned and executed. The installer scripts are not included in the audited project, so their behavior cannot be verified from the reviewed artifact. Installing the `oo` CLI may be necessary for the declared Gainsight NXT integration, but piping a mutable network response directly into a command interpreter exceeds the minimum-risk mechanism required to install that dependency. The Windows `irm | iex` instruction has the same underlying weakness as the Unix `curl | bash` instruction. ### Attack Path 1. A user or agent attempts to use the Skill on a system where the `oo` CLI is unavailable. 2. The command fails with `oo: command not found`, activating the documented fallback setup procedure. 3. The user or agent runs the provided installation command. 4. The system downloads a mutable script from `cli.oomol.com` ...[truncated 1350 chars]
Remediation
## Remediation Suggestions 1. Remove both direct download-to-interpreter pipelines: - `curl ... | bash` - `irm ... | iex` 2. Pin installation instructions to a specific, immutable CLI release and artifact. 3. Publish SHA-256 or stronger checksums through a separately protected channel and require verification before execution. 4. Cryptographically sign release artifacts and verify the signature against a documented, pinned publisher key. 5. Download the installer to a local file first rather than executing the network response directly. 6. Display the artifact path and verification result, then require explicit user approval before execution. 7. Prefer a reputable platform package manager with explicit version pinning and package-signature validation. 8. Do not let the Skill automatically install software merely because an operational command failed. 9. Run installation with ordinary user privileges unless elevated privileges are demonstrably required, and document any requested permissions. 10. Document the domains contacted, data handled, expected installer behavior, and rollback procedure so users can make an informed trust decision.
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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)

External Script Fetching

High
Category
Supply Chain
Content
- **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>):

  ```bash
  curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
  ```

  ```powershell
Confidence
97% confidence
Finding
The skill instructs users to install software via a remote script piped directly into the shell, which executes untrusted network content without prior verification. If the install endpoint, transport, or upstream distribution is compromised, this can result in arbitrary code execution on the host running the skill.

Vague Triggers

Medium
Confidence
96% confidence
Finding
The manifest says to use this skill for "ANY Gainsight NXT request," including reading, creating, updating, and deleting data. This is a very broad activation condition without exclusions or narrower scope, which could cause unintended invocation for routine mentions of Gainsight NXT.

Static analysis

No suspicious patterns detected.