knowledge-base
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/ingest.pyexecutes several system commands includingyt-dlp,pdftotext, andqmdviasubprocess.run. These calls use static or validated arguments (such as the URL) and do not useshell=True, minimizing the risk of shell injection. - [EXTERNAL_DOWNLOADS]: The skill downloads content from external URLs (YouTube transcripts, PDFs, and general web pages) using standard libraries like
urllib.requestand external tools liketrafilaturaoryt-dlp. These operations are central to the skill's purpose of archiving web content. - [INDIRECT_PROMPT_INJECTION]: The
generate_metadatafunction inscripts/ingest.pysends up to 3000 characters of extracted web content to an LLM (OpenAI or Anthropic) to generate titles and summaries. While this represents an ingestion point for untrusted data, the skill includes several mitigations: - Ingestion points:
fetch_contentretrieves data from any user-provided URL. - Boundary markers: The prompt uses a structured template asking for specific JSON keys.
- Capability inventory: The LLM output is parsed as JSON and used only for metadata (title, slug, summary, tags) which is then written to a local Markdown file.
- Sanitization: The script uses
json.loads()and regex to sanitize the LLM response before usage, reducing the risk of a successful injection influencing the host system.
Audit Metadata