Elevated AI Input Tokens

firetail:ai-input-tokens-elevated

Type:

Detection

Rule Severity:

Info

An increase in the number of input tokens being sent to the AI model has been observed.

Excessive input size may result in higher processing costs, slower response times, and API throttling.

Potential Causes:

  • Unoptimized or overly detailed user inputs.
  • Inefficient preprocessing or tokenization of data.
  • Abuse of AI services, such as automated bot-driven input.

Remediation

Limit input sizes where possible and filter unnecessary data.

Example Attack Scenario

How to Identify with Example Scenario

How to Resolve with Example Scenario

How to Identify with Example Scenario

Find the text in bold to identify issues such as these in API specifications

How to Resolve with Example Scenario

Modify the text in bold to resolve issues such as these in API specifications
References:

More findings

All Findings