text-classifier
Pass
Audited by Gen Agent Trust Hub on Mar 5, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface (Category 8) because it ingests and processes content from external files provided via the --input argument.
- Ingestion points: The
argv.inputpath is used byclassifyTextinsrc/lib.tsto identify file content for classification. - Boundary markers: The skill does not implement explicit delimiters or safety warnings for the LLM regarding the content of the file being processed.
- Capability inventory: The skill uses
@agent/core'sclassifier.classifyFileto analyze the file andKnowledgeProvider.getJsonto load rule sets. - Sanitization: The
ruleSetparameter is strictly validated against a whitelist of 'doc-type', 'domain', and 'intent'. No content-level sanitization is performed on the input file itself before classification.
Audit Metadata