pwc-social-health
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- System Command Execution: The skill executes shell commands to perform its auditing duties.
- Evidence: In
scripts/social_report.py, the skill usessubprocess.runto invoke local scripts (post_x.py,post_linkedin.py) and system utilities (systemctl). - Context: These calls are used to check the status of services and collect performance metrics from the social media automation system. They are limited to specific scripts and system commands necessary for the audit.
- High-Privilege Environment: The skill is designed to run in a high-privilege environment.
- Evidence: The
SKILL.mdfrontmatter specifies that the agent "Runs as root on the production host" and accesses files in/root/x-post-schedule. - Context: Operating as a root user is a security consideration, as it grants the agent broad access to the host system. This is intended to allow the agent to monitor and maintain system-level automation components.
- Data Access and Processing: The skill reads various log and configuration files to generate reports.
- Evidence: The script reads
linkedin-token.jsonto calculate token expiry and parsesledger.jsonlfiles containing post history. - Context: The data access is read-only for reporting purposes. When reading tokens, the script specifically extracts only timestamp metadata rather than sensitive credentials.
- Indirect Prompt Injection Surface: The skill processes external data which could potentially contain instructions for the agent.
- Evidence: The skill audits social media posts, replies, and performance metrics, then uses this data to "steer" or modify prompt files like
prompt.md. - Context: While social media data is untrusted, the skill's primary function is to summarize this data for audit purposes. The agent uses the findings to propose incremental changes to steering prompts. Standard AI guardrails and human review of the generated reports provide a layer of defense against accidental obedience to instructions embedded in social media content.
Audit Metadata