digital-archive

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external sources through its ScrapingCascade and ArchiveWorkflow, creating an attack surface where malicious content could influence model behavior.
  • Ingestion points: ArchiveWorkflow.process_url fetches content from external URLs provided in an input CSV or batch process, storing it in the text field of an ArchiveRecord.
  • Boundary markers: The prompts for gemini-2.0-flash in ArchiveCategorizer.categorize and EntityExtractor.extract use simple text labels like CONTENT: and TEXT: but do not employ robust delimiters (like XML tags) or instructions to the model to ignore embedded instructions within the source text.
  • Capability inventory: The skill possesses significant capabilities including writing data to Google Sheets (SheetsService), generating and saving PDF files to the local file system (ArchivePDFGenerator), and updating progress files.
  • Sanitization: No explicit sanitization, filtering, or escaping is performed on the scraped content before it is interpolated into LLM prompts.
  • [INDIRECT_PROMPT_INJECTION]: The ArchivePDFGenerator class renders untrusted data into PDF documents using the reportlab library, which is vulnerable to data injection into the renderer.
  • Ingestion points: ArchivePDFGenerator.generate directly places content from record.text (sourced from external scrapes) into Paragraph objects.
  • Boundary markers: None. The text is treated as raw input for the PDF renderer.
  • Capability inventory: Creating and writing .pdf files to a configurable output directory.
  • Sanitization: The generator does not sanitize the input text for HTML-like tags (e.g., <a>, <link>, <font>) supported by the reportlab.platypus.Paragraph class. An attacker-controlled source could inject these tags to manipulate the archive's layout, hide text, or insert malicious links into the resulting PDF documents.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 11:07 AM