Skip to content

CLAUDE TESTING: Missing input validation #304

@yijint

Description

@yijint

Backend accepts requests with invalid data that should be rejected with 400-level errors.

Examples:

  1. https://github.com/WildMeOrg/wildbook-ia/blob/api/api_docs/schemathesis/logs/api_claude.txt#L4799: PUT /api/annot/tags/json/ - Accepts request with x-schemathesis-unknown-property: 42 when additionalProperties: false. Returns 200 OK instead of 400.
  2. https://github.com/WildMeOrg/wildbook-ia/blob/api/api_docs/schemathesis/logs/api_claude.txt#L5062: GET /api/image/feature/json/{uuid}/ - Accepts path parameter uuid=0 which doesn't match UUID format. Returns 200 OK with nested error message instead of 400.

This issue was detected by running schemathesis on a Claude-generated API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions