Back to skill

Security audit

Himalaya

Security checks for vulnerabilities and agentic risk

Overview

This Himalaya email CLI skill is coherent, but it gives broad email-management guidance including send and destructive mailbox commands without clear safety gates.

Install only if you intend agents to help with Himalaya CLI email workflows. Before allowing generated commands to run, review account, folder, message IDs, recipients, and any delete/purge/expunge or send/reply/forward actions yourself.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill says to use it for "ANY task involving" listing, reading, writing, replying, forwarding, flags, folders, attachments, and query construction. That scope is so broad that it can overlap with many ordinary email requests that may not specifically require the Himalaya CLI, increasing the risk of unintended invocation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill provides operational guidance for sending messages and destructive mailbox actions such as delete, purge, and expunge without explicit safety gates, confirmation requirements, or warnings about irreversible effects. In an agent setting, this increases the chance that a model could translate a loosely phrased user request into real external or destructive actions affecting email state or sending outbound mail.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

bash
# Compose a new message interactively
himalaya message write

# Pre-fill headers via CLI arguments
himalaya message write --to "team@example.com" --subject "Sprint review"

Static analysis

No suspicious patterns detected.