Skip to content

Add model name format validation #68

@neuromechanist

Description

@neuromechanist

Type: Security
Priority: P2 (Low severity - defense in depth)
Effort: 15 minutes
Phase: 3

Description:
Model names should follow expected format to prevent injection or confusion.

Acceptance Criteria:

  • Validate model name format: ^[a-z0-9\-]+/[a-z0-9\-\.]+$
  • Max length 100 characters
  • Reject suspicious characters
  • Tests for valid model names (pass) and invalid model names (fail)

Implementation: Add validator to model name fields in config

Related Issues: Part of security hardening with #64, #65, #66, #67
Branch: feature/issue-64-68-security-hardening

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority 2: Important, fix when possiblesecuritySecurity vulnerability or hardening

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions