pwc-chat-health

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFEPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • Command Execution with Elevated Privileges: The skill uses sudo awk to parse system logs located at /var/log/nginx/paperswithcode_access.log. This requires the agent to have administrative permissions, which is a high-privilege operation. Use of sudo increases the potential impact of command-line errors or unexpected logic behavior.
  • Access to Sensitive Production Data: The skill is configured to read database credentials from backend/keys.env and query the production database. It accesses user-generated content, including chat history and uploaded files. While the skill mandates read-only transactions and prohibits the quoting of PII (Personally Identifiable Information) in reports, the underlying access to production secrets and user data is a notable security finding.
  • Indirect Prompt Injection Surface: The skill processes untrusted data sourced from historical user turns and uploaded files.
  • Ingestion points: Data enters the agent's context from the chat_messages database table and external files retrieved via the fetch_chat_files script.
  • Boundary markers: The skill includes explicit instructions to treat content strictly as data and avoid quoting user prompts or answers.
  • Capability inventory: The agent has access to psql, python, sudo, and journalctl across its audit scripts.
  • Sanitization: The skill relies on instruction-based boundaries rather than programmatic sanitization to prevent the interpretation of instructions embedded within the audited content.
  • Log Analysis and Telemetry Access: The skill accesses systemd journals and Nginx logs for auditing health metrics. These logs can contain sensitive metadata, though the skill mitigates this by instructing the agent to report only aggregate data.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 05:24 PM