laya
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill downloads approximately 2.3 GB of model weights from the Hugging Face Hub (
convaiinnovations/laya) when the model is first loaded. Hugging Face is a well-known service for model distribution. - [COMMAND_EXECUTION]: The instructions require installing the
layalibrary and its dependencies (torch,transformers) viapip. It also includes alaya-serve.pyscript that runs a local HTTP server on127.0.0.1:8770usinguvicornto facilitate communication between the agent and the model. - [INDIRECT_PROMPT_INJECTION]: The model is designed to process external, untrusted text (such as emails or support tickets) to perform classification and routing tasks.
- Ingestion points: Untrusted text enters the system via the
stateparameter in the/predictAPI call or directly in theagent.predictmethod. - Boundary markers: No specific delimiters or boundary markers are documented for the input text, though the model's output is strictly constrained by a predefined JSON schema (choices, scores, or probabilities).
- Capability inventory: The skill's scripts are limited to model inference and local logging; they do not perform network requests or file system writes based on the content of the processed text.
- Sanitization: No explicit sanitization of the input text is performed, as the model is non-generative and primarily performs textual entailment, which limits the impact of potential injection attacks.
Audit Metadata