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 laya library and its dependencies (torch, transformers) via pip. It also includes a laya-serve.py script that runs a local HTTP server on 127.0.0.1:8770 using uvicorn to 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 state parameter in the /predict API call or directly in the agent.predict method.
  • 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
Risk Level
SAFE
Analyzed
Oct 15, 2026, 01:17 PM