Files
LocalAI/core/services
Ettore Di Giacinto 4398369864 fix(security): justify the last two gosec findings in new code
The frame length conversion is already bounded by the guard three lines
above it, which caps a payload at 1024 bytes and so cannot truncate a
uint16. The agent pick spreads work across workers that are equivalent by
construction, and predicting it buys an attacker nothing.

Both carry a #nosec naming the rule and the reason rather than a silent
suppression, matching the rest of the tree.

Assisted-by: Claude Opus 5 [claude-code]
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-09-20 03:05:35 +00:00
..
2026-03-30 00:47:27 +02:00