kb-learn
Pass
Audited by Gen Agent Trust Hub on Jun 17, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because its primary function is to fetch and process arbitrary web content to extract claims and definitions.
- Ingestion points: External articles and documentation fetched via the
WebFetchtool or pasted text input. - Boundary markers: The skill documentation (in
reference/article-workflow.md,agents/searcher.md, andagents/challenger.md) explicitly defines an 'untrusted content boundary,' instructing agents to treat fetched data strictly as facts and to ignore any embedded directives or prompt-like patterns. - Capability inventory: The orchestrator and agents have the ability to write files to the knowledge base, execute bash commands (used for local maintenance), and perform network operations via
WebSearchandWebFetchtools. - Sanitization:
reference/fetch-content.mdimplements strict URL validation, restricting schemes tohttp/httpsand blocking access to private IP ranges and localhost. - [EXTERNAL_DOWNLOADS]: The skill downloads external data as part of its learning workflow.
- Evidence:
reference/fetch-content.mddetails procedures for usingreader,trafilatura, andWebFetchto download article content for analysis. - Evidence: The skill recommends the installation of
reader-cliandtrafilaturato improve content extraction quality. - [COMMAND_EXECUTION]: The skill uses local shell commands for repository management and integrity validation.
- Evidence:
scripts/validate_kb.pyusessubprocess.runto executegit diffandgit ls-filesto track changes in the knowledge base files. These commands are hardcoded and do not accept untrusted user input.
Audit Metadata