Back to skill

Security audit

Umami Stats

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent read-only Umami analytics helper, but it can send an API key to a user-configurable and potentially insecure API URL.

Review before installing. Use only a least-privileged read-only Umami key, keep cloud mode pointed at https://api.umami.is, use HTTPS for self-hosted deployments, and avoid passing the API key on the command line where it may appear in shell history or process listings.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/umami_query.py:173
Finding

API Credentials Can Be Sent to an Arbitrary or Insecure Destination

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
96% confidence
Finding

The skill requires access to environment variables, shell execution, and outbound network access but does not declare any explicit tool scope or permission boundaries. That omission weakens least-privilege controls and makes it easier for an agent runtime to grant broader capabilities than necessary, increasing the chance of secret exposure or unintended command/network use.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
## API path conventions (explicit)

- **Umami Cloud:** `https://api.umami.is/v1/...`
- **Self-hosted Umami:** `https://<your-host>/api/...`

The script supports both:

Static analysis

No suspicious patterns detected.