Back to skill

Security audit

entr

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small usage guide for entr, with command-running behavior that is disclosed and aligned with its file-watching purpose.

Install only if you want Codex to use entr for local watch workflows. Treat watched directories and commands as trusted input, be cautious with shell-evaluated -s commands, and stop any background watch process after the task is complete.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Unrestricted Tool Access

Medium
Category
Excessive Agency
Content
---
name: entr
description: Run arbitrary commands when files change. Useful for watching files and triggering builds or tests.
---

# entr (Event Notify Test Runner)
Confidence
84% confidence
Finding
The skill advertises unrestricted execution of arbitrary commands, which is inherently risky in an agent environment because the command content may be influenced by untrusted input or combined with shell features. The danger is increased by the documented `-s` option, which evaluates via `SHELL`, creating a straightforward path to shell injection or unsafe command composition if not tightly controlled.

Missing User Warnings

Medium
Confidence
88% confidence
Finding
The skill explicitly instructs the agent to run arbitrary commands on file changes and to use a background process for persistent watch mode, but it provides no safety guidance around command trust, scope restriction, or process lifecycle control. In an agent context, this can enable repeated execution of unsafe commands, accidental persistence, or triggering on untrusted workspace changes.

Static analysis

No suspicious patterns detected.