Story: Add tests for security plugin #105

Closed
opened 2026-02-26 14:48:56 +00:00 by doxios · 0 comments
Collaborator

Epic: #101

Description

The security plugin has ZERO tests despite being one of the most critical plugins (21 security findings in the audit — #1). This is the highest-risk coverage gap.

Acceptance Criteria

  • cobot/plugins/security/tests/test_plugin.py exists
  • Tests cover plugin initialization and configuration
  • Tests cover exec blocklist enforcement
  • Tests cover file path validation
  • Tests cover security policy checks
  • Tests cover edge cases (empty config, disabled state)
  • All tests pass
  • ruff check cobot/ passes
**Epic:** #101 ## Description The security plugin has ZERO tests despite being one of the most critical plugins (21 security findings in the audit — #1). This is the highest-risk coverage gap. ## Acceptance Criteria - [ ] `cobot/plugins/security/tests/test_plugin.py` exists - [ ] Tests cover plugin initialization and configuration - [ ] Tests cover exec blocklist enforcement - [ ] Tests cover file path validation - [ ] Tests cover security policy checks - [ ] Tests cover edge cases (empty config, disabled state) - [ ] All tests pass - [ ] `ruff check cobot/` passes
k9ert closed this issue 2026-02-26 15:58:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot#105
No description provided.