multi-tenant-llm-hosting
Fail
Audited by Snyk on Nov 25, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.30). The skill is a legitimate multi-tenant LLM hosting guide with no malicious intent, but the sample gateway accepts an
x_api_keyheader and never validates it, so any caller who supplies a known tenant ID can use that tenant's quota and model access, which is a careless weakening of a protection around the user's resources.
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (medium risk: 0.30). Indirect financial operation, with no access-control test required. The skill's billing code creates tenant invoices:
generate_tenant_invoice(lines 458-496) builds a per-tenant monthly invoice with totals and per-model cost breakdowns, andrecord_usage(lines 322-346) prices each request and appends it to a billing ledger for export. Those are real bills for downstream handling, which the rubric treats as indirect. The skill does not transfer, charge, refund or settle money, so no direct operation is established. The "building usage metering" exclusion is a close call because the skill is partly design guidance. Under the recall-first override, I treat the invoice-generation code as operational rather than illustrative.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill supplies concrete Kubernetes manifests (Deployments, ConfigMaps, Namespaces, NetworkPolicies, ResourceQuotas, PriorityClasses) that change the supporting cluster, but no explicit irreversible operational loss is established, so it fails gate 2 and stays at low.
Issues (3)
E004
CRITICALPrompt injection detected in skill instructions.
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata