Back to skill

Security audit

Affinity

Security checks for vulnerabilities and agentic risk

Overview

The Affinity functions fit their purpose, but setup can execute unverified downloaded code and make broader agent changes without a clear approval step.

Review and approve a verified, version-pinned CLI installation separately, including any changes to other agents' installed skills. Understand that OOMOL brokers access to your connected Affinity account. The complete bundled artifact was inspected, but remote installer contents and live service behavior remain unverified; no malicious intent was established.

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
96% confidence
Finding

The supplied chunk performs remote script execution rather than searching or reading Affinity data. Dependency installation can be a supporting implementation detail, but nothing supplied establishes that this installer supports the declared Affinity functionality. The downloaded script's contents and further effects are not available for assessment.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The command streams a mutable remote script directly into bash without verifying a signature, checksum, or pinned version. HTTPS protects transport but does not prevent a compromised distribution endpoint from supplying code that can access local files and credentials with the executing user's permissions; conditional execution reduces exposure but does not remove this risk.

Content

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

The fallback setup instructs execution of remote installation scripts without warning about their system-level effects.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The fallback directs the agent to execute remote installation scripts without explaining local system changes or obtaining explicit installation approval. Although setup is relevant and conditional, a missing dependency can turn a read-only Affinity request into arbitrary code execution with the agent's local permissions; this overlaps with the SC2 finding.

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 95)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