Skip to content

Missing .aac/.wma magic byte validation in security.py #15

Description

@AshayK003

Problem

_FILE_SIGNATURES in security.py:148-155 doesn't include .aac or .wma, even though ALLOWED_AUDIO_EXTENSIONS lists them.

Solution

Add magic byte signatures or remove these extensions from ALLOWED_AUDIO_EXTENSIONS.

Acceptance Criteria

  • All allowed audio extensions have corresponding magic byte validation

Difficulty: Easy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions