Back to skill

Security audit

7shifts

Security checks for vulnerabilities and agentic risk

Overview

The 7shifts features fit their stated purpose, but setup can run unverified remote installers and introduce undisclosed changes to agent skills.

Review the CLI installation separately before allowing the setup fallback. Use a reviewed release, check which agent skills it installs or updates, and disable automatic skill synchronization if unwanted using the [documented controls](https://github.com/oomol-lab/oo-cli/blob/main/docs/commands.md). Connect only the necessary 7shifts permissions and account for OOMOL processing the requests. The remote installers and hosted connector were not audited; no malicious behavior was established in the supplied artifact.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • 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
Findings (6)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command performs remote code execution for an apparent CLI installation, not searching or reading 7shifts data. No connection between this installer and the declared 7shifts functionality is established in the supplied chunk. The downloaded script's further behavior is unknown.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
## Available actions

- `get_company` — Retrieve one 7shifts company by ID.
- `list_companies` — List 7shifts companies available to the access token.
- `list_departments` — List 7shifts departments for a company.
- `list_locations` — List 7shifts locations for a company.
- `list_roles` — List 7shifts roles for a company.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
- `list_locations` — List 7shifts locations for a company.
- `list_roles` — List 7shifts roles for a company.
- `list_users` — List 7shifts users for a company.
- `retrieve_identity` — Retrieve the 7shifts identity associated with the access token.

## Safety

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping a downloaded script directly into Bash executes mutable remote content without a pinned version or independent integrity verification; the PowerShell fallback has the same weakness. Compromise of the vendor's delivery infrastructure could execute attacker-controlled code with the agent process's local permissions, although HTTPS and the conditional setup path reduce some exposure.

Content

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

Fallback setup instructs the agent to execute remote installation scripts without warning the user about local system changes.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The fallback tells the agent to install software when the CLI is missing without first explaining local changes or obtaining installation approval. This crosses from a read-only service request into local code execution; the missing-command prerequisite limits exposure but does not authorize that change.

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