admin-documents
Pass
Audited by Gen Agent Trust Hub on May 12, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The
DocumentPipelineServiceinSKILL.mdis vulnerable to indirect prompt injection attacks. - Ingestion points: Raw document
contentis ingested via the/api/admin/documents/uploadroute and passed to the pipeline. - Boundary markers: Prompt templates in
_anonymize,_whitelabel,_normalize,_generate_summary, and_generate_qalack delimiters (e.g., XML tags or triple quotes) to separate instructions from untrusted content. - Capability inventory: The service uses the
openailibrary to call LLM models (gpt-4-turbo-preview) and interacts with a database viasqlalchemyand a vector store viaRAGService. - Sanitization: No escaping, validation, or filtering is performed on the
contentvariable before it is interpolated into prompts using f-strings or.format(), which could allow malicious instructions within a document to hijack the LLM's behavior. - [EXTERNAL_DOWNLOADS]: The
metadata.jsonfile contains a command to download external content during installation. - Evidence:
install_commandusescurlto fetchSKILL.mdfromhttps://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/admin-documents/SKILL.md. - Context: This is a common installation pattern for skill registries, though it involves fetching unverified content from a remote repository at runtime.
Audit Metadata