🟡 [MEDIUM] CB-014: Unbounded Event Deduplication Set #23
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Security Finding from Audit
Severity
MEDIUM 🟡
CVSS Score
N/A
CWE
CWE-400 (Uncontrolled Resource Consumption)
Location
agent.py, handle_message(), lines 229–230Description
The
_processed_eventsset grows unbounded and is trimmed by discarding the first 500 entries when exceeding 1000.This creates a brief window where previously processed events could be re-processed (replay attack), and the trimming is non-deterministic since Python sets are unordered.
Recommendation
Use an LRU cache with TTL (e.g.,
cachetools.TTLCache) or a time-windowed deduplication approach.From: Cobot Whitebox Security Audit (February 14, 2026)
Finding ID: CB-014