pwc-cron-health
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [Privilege Escalation]: The skill utilizes
sudocommands (e.g.,sudo pwc-cron status,sudo grep ...) to access system-level status information and configuration files. While these are intended for read-only auditing, the use of root-level privileges is a security consideration that warrants review in the context of the environment it is deployed in. - [Dynamic Code Execution]: The instructions include an inline Python script that is generated and executed at runtime. This script dynamically modifies the execution environment's
sys.pathand usesrunpyto trigger internal project CLI modules from the local repository, representing a pattern of local dynamic code execution. - [Command Execution]: The skill frequently executes shell commands and CLI tools, such as
systemctl,journalctl,gh(GitHub CLI), andrg(ripgrep), to gather diagnostic data from the production environment as part of the health audit process. - [Indirect Prompt Injection Surface]: The skill ingests data from various potentially untrusted sources, such as log files, process outputs, and external data provider records. This creates a surface for potential indirect prompt injection if those sources were manipulated to contain adversarial instructions, though the skill's structured audit rules and redaction requirements serve as significant mitigations.
- [Sensitive Data Access]: The skill is designed to interact with production environment files and database content that may contain sensitive configuration data. The instructions explicitly direct the agent to redact sensitive information like tokens and private data before reporting, which is a positive security measure, but the access itself remains a point for review.
Audit Metadata