Back to skill

Security audit

EspoCRM

Security checks for vulnerabilities and agentic risk

Overview

This EspoCRM skill fits its CRM purpose, but its first-time setup tells users or agents to run unverified remote installer scripts.

Review this before installing. The CRM actions are clearly disclosed, but do not run the provided remote installer commands blindly; prefer an official, version-pinned installation path with verification. Confirm exact payloads before create/update actions and give explicit approval before deletes.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:61
Finding

Unverified Remote Installation Scripts Are Executed Directly

Content
View full analysis
Remediation
View remediation
' echo ' install.sh' | sha256sum --check - less install.sh bash install.sh ``` 6. Provide an equivalent PowerShell process that downloads to a file, validates an Authenticode signature or pinned SHA-256 hash, and only then runs the verified artifact. 7. Run installation with ordinary user privileges unless a documented operation strictly requires elevation. Do not request broad or persistent permissions by default. 8. Document the expected files, executables, network destinations, and configuration changes made by the installer so users can assess its scope before running it. ]]>
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

The skill instructs the agent to install software by piping a remotely fetched script directly into a shell (curl ... | bash). This creates a supply-chain and remote code execution risk: if the remote server, transport, or script is compromised, arbitrary code will run immediately on the host with the user's privileges.

Content

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The description says to use this skill for "ANY EspoCRM request" and "Whenever a task involves EspoCRM, use this skill," which is a very broad activation condition. It lacks clear scope boundaries or exclusion examples, increasing the chance of unintended invocation for loosely related EspoCRM tasks.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.