Skip to content

Comments

fix: add numeric input validation to docker_logs and system_logs tools#23

Open
KernelCode wants to merge 1 commit intomainfrom
auto-improve-1771619440
Open

fix: add numeric input validation to docker_logs and system_logs tools#23
KernelCode wants to merge 1 commit intomainfrom
auto-improve-1771619440

Conversation

@KernelCode
Copy link
Owner

Apply consistent input validation pattern (matching process.js and network.js) to the tail/lines parameters in docker.js and monitor.js. Rejects invalid, negative, and excessively large values (>10000) to prevent unexpected behavior and potential resource exhaustion.

Apply consistent input validation pattern (matching process.js and
network.js) to the tail/lines parameters in docker.js and monitor.js.
Rejects invalid, negative, and excessively large values (>10000) to
prevent unexpected behavior and potential resource exhaustion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant