CWE-1434

Insecure Setting of Generative AI/ML Model Inference Parameters

Medium

Description

The product has a component that relies on a generative AI/ML model configured with inference parameters that produce an unacceptably high rate of erroneous or unexpected outputs.

Potential Impact

How to Fix

Implementation

Develop and adhere to robust parameter tuning processes that include extensive testing and validation.

Implementation

Implement feedback mechanisms to continuously assess and adjust model performance.

Documentation

Provide comprehensive documentation and guidelines for parameter settings to ensure consistent and accurate model behavior.

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-1434 vulnerabilities in your codebase.

Get Security Assessment