Skip to main content

What is a threat?

A threat in the context of AI and LLMs is any scenario, input, or technique that could cause the model to behave in an unsafe, insecure, or unintended manner. Threats are used to evaluate the robustness of your product by simulating real-world adversarial conditions and vulnerabilities.
SDK Parameter Note: In the Galtea SDK, “Threats” are specified using the variants parameter in the galtea.tests.create() method when creating SECURITY tests. Only one threat can be specified per test. For example: galtea.tests.create(..., type="SECURITY", variants=["toxicity"]). To test multiple threats, create a separate test for each.

Threat Types

Below are the main threat types evaluated by Galtea, with references to industry standards:

Why Evaluate Against Threats?

Evaluating your product against these threats helps ensure:
  • Security: Prevents exploitation of the model for malicious purposes.
  • Privacy: Reduces the risk of leaking sensitive or private information.
  • Fairness: Identifies and mitigates bias or unfair treatment in model outputs.
  • Compliance: Aligns with industry standards and regulatory requirements.

References