env-doctor
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is a security-enhancing utility designed to audit and maintain the integrity of a macOS development environment. It provides visibility into potential 'environment drift' caused by third-party application updates or agent actions.
- [COMMAND_EXECUTION]: The skill executes standard system diagnostic commands (such as
ls,readlink,shasum,command -v) and audits package managers (npm,brew,uv,pipx,bun) to collect environment metadata. These operations are limited to auditing and do not perform destructive actions without explicit instructions. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external sources including package manager outputs, crontab entries, and the names of LaunchAgent files. While this creates a potential attack surface for indirect prompt injection (e.g., via a maliciously named package), the script uses structured headers and indentation to help the agent distinguish between diagnostic output and its own instructions. Severity for this surface is low and inherent to the tool's purpose.
- [EXTERNAL_DOWNLOADS]: The
fullaudit mode utilizes Homebrew to check for outdated packages, which involves connecting to official Homebrew registries. This is a reference to a well-known and trusted service for system maintenance. - [PERSISTENCE]: The skill actively monitors and audits persistence mechanisms such as
cronandLaunchAgents. It includes instructions that explicitly forbid an agent from creating new persistence entries without user authorization and mandatory logging, serving as a protective measure against unauthorized persistence.
Audit Metadata