npm package report

Is file-type safe?

file-type (npm) has 3 known vulnerabilities, the worst rated HIGH. Upgrade to 21.3.2 or later to clear all of them. No malicious-package signal is recorded.

// reach

18 direct dependencies

none carry a known advisory

    76 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


    cvss
    7.5
    high

    CVSS v3.1 base score out of 10

    epss
    0.41%
    medium

    chance of exploitation in 30 days, 35th percentile of all CVEs

    xyz score
    4.5
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-mhxj-85r3-2x55, the advisory selected below

    // 3 advisories

    An issue was discovered in the file-type package from 13.0.0 until 16.5.4 and 17.x before 17.1.3 for Node.js.

    Full advisory text at GitHub advisory or NVD.

    // cvss v3.1 vector

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    None
    Scope
    Unchanged
    Confidentiality
    None
    Integrity
    None
    Availability
    High
    // questions
    Is file-type safe to install?

    CyberXYZ does not call a package safe in absolute terms. It records 3 known vulnerabilities for file-type (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

    Does file-type have known vulnerabilities?

    Yes. CyberXYZ records 3 known vulnerabilities for file-type (npm), the worst rated HIGH. They are GHSA-mhxj-85r3-2x55, GHSA-j47w-4g3g-c36v, GHSA-5v7r-6r5c-r473.

    Which version of file-type should I use?

    21.3.2 or later clears every advisory recorded for file-type (npm). Check the release you pick before installing it.

    How do I check file-type before installing?

    Search file-type in CyberXYZ Check at https://cyberxyz.io/check?q=file-type. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


    Checked 2026-11-14 at 06:16 UTC. The most recent advisory here was published 2026-03-13. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.