add-external-paper

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFEDYNAMIC_EXECUTION
Full Analysis
  • [Indirect Prompt Injection]: The skill ingests data from untrusted external sources, including arbitrary URLs, GitHub README files, and Hugging Face model cards. This data is then processed (using an automated metadata extractor and agent-driven summarization) to populate a production database. There is a potential risk that malicious instructions embedded in the external content could influence the agent's behavior during the metadata extraction or summarization phases.
  • Ingestion points: Web content from source_url, GitHub repository data via gh repo view, and Hugging Face model cards via hf models card.
  • Boundary markers: The instructions do not explicitly define delimiters or specific "ignore" instructions for the untrusted content during processing.
  • Capability inventory: The skill can perform shell commands (uv, gh, hf), write to the database via SQL, and call administrative APIs.
  • Sanitization: The skill relies on the agent's logic to extract and summarize content correctly before writing it to the database.
  • [Credential Handling Consideration]: The skill requires access to backend/keys.env to retrieve the PWC_ADMIN_API_TOKEN. While the instructions include a redaction step for logging, the agent is taught to extract and use this administrative secret in shell environments. This is a common pattern for administrative tools but highlights the importance of protecting the agent's execution environment.
  • [Dynamic Code and Command Execution]: The skill uses shell heredocs to dynamically assemble and execute Python scripts (`python
  • <<'PY'`). These scripts are populated with metadata extracted from external sources. If the extracted content contains characters that break out of Python string literals (e.g., through specially crafted titles or abstracts), it could potentially result in unintended code execution within the agent's runtime environment.
  • [Direct Database Interaction]: The skill uses direct SQL commands (via SQLAlchemy) for operations like migrating evaluations or checking existing tasks. Direct database manipulation by an agent carries inherent risks if the logic is not perfectly aligned with the application's data integrity constraints or if parameter interpolation is handled unsafely.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 05:24 PM