BaseIncomplete
CWE-1426Improper Validation of Generative AI Output
Category: other
Description
The product invokes a generative AI/ML
component whose behaviors and outputs cannot be directly
controlled, but the product does not validate or
insufficiently validates the outputs to ensure that they
align with the intended security, content, or privacy
policy.
Common consequences· 1
- Integrity — Execute Unauthorized Code or Commands, Varies by Context
Potential mitigations· 4
- [Architecture and Design]Since the output from a generative AI component (such as an LLM) cannot be trusted, ensure that it operates in an untrusted or non-privileged space.
- [Operation]Use "semantic comparators," which are mechanisms that provide semantic comparison to identify objects that might appear different but are semantically similar.
- [Operation]
- [Build and Compilation]
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.