Skip to content

[Misdetection] CSS file misdetected as C #239

@nfsec

Description

@nfsec

What should the file have been detected as? What has the file been misdetected as?

Python implementation:
(filedetect) agresor@darkstar:~$ magika -s /usr/share/doc/libexpat1-dev/expat.html/style.css
/usr/share/doc/libexpat1-dev/expat.html/style.css: C source (code) 90%

Web demo implementation:
Screenshot 2024-02-22 at 22 49 08

Please link or attach the misdetected file below (Do NOT upload PII!)
style.css.gz

Additional context
Seems like different implementation of the same model have different detections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    misdetectionThis issue is about a misdetection on a content type currently supportedneeds triageThis issue still needs triage by one of the maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions