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
ScrapingCascadeandArchiveWorkflow, creating an attack surface where malicious content could influence model behavior. - Ingestion points:
ArchiveWorkflow.process_urlfetches content from external URLs provided in an input CSV or batch process, storing it in thetextfield of anArchiveRecord. - Boundary markers: The prompts for
gemini-2.0-flashinArchiveCategorizer.categorizeandEntityExtractor.extractuse simple text labels likeCONTENT:andTEXT: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
ArchivePDFGeneratorclass renders untrusted data into PDF documents using thereportlablibrary, which is vulnerable to data injection into the renderer. - Ingestion points:
ArchivePDFGenerator.generatedirectly places content fromrecord.text(sourced from external scrapes) intoParagraphobjects. - Boundary markers: None. The text is treated as raw input for the PDF renderer.
- Capability inventory: Creating and writing
.pdffiles 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 thereportlab.platypus.Paragraphclass. 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