Back to skill

Security audit

TheHive 5

Security checks for vulnerabilities and agentic risk

Overview

The TheHive workflow has sensible controls, but its automatic setup executes unpinned remote code and may introduce broader changes to agent skills.

Review setup before installing. Use a separately verified, version-pinned CLI installation and explicitly approve software installation. Review or disable its automatic skill synchronization; current documentation provides OO_SKILLS_SYNC_DISABLED. Connect a least-privilege TheHive account and consider whether its incident data may pass through OOMOL. No malicious behavior was established, but the remote installer and hosted connector were not inspected. [CLI controls](https://github.com/oomol-lab/oo-cli/blob/main/docs/commands.md#environment-variables).

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk performs remote installer execution rather than any visible TheHive 5 operation. Nothing in the chunk establishes this installer as a supporting dependency for the declared purpose. The downloaded script's contents and downstream effects are not provided, so no further behavior or malicious intent can be established.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping a mutable HTTPS download directly into bash executes remotely supplied code without a pinned version or independent integrity verification; the PowerShell alternative has the same underlying issue. Compromise of the distribution endpoint could lead to execution with the agent process's privileges, including access to local files and credentials, although the declared tool restriction may block this command.

Content

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

The automatic setup fallback executes remotely downloaded installation scripts without a user warning.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The missing-CLI fallback instructs the agent to execute a remote installer without explicitly obtaining approval for installing software or running third-party code. This can expose the host to arbitrary code if the installer source is compromised; the conditional fallback and declared Bash(oo *) tool restriction reduce exposure but do not make the installation instructions safe if broader execution is available.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% 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 81)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources