Is File Type Safe?

File Type — Nerq Trust Score 77.5/100 (B+ grade). Score based on 2 independent trust signals. Last analyzed: 2026-08-17

File Type is a npm package with a Nerq Trust Score of 77.5/100 (B+), based on 3 independent data dimensions. Last analyzed: 2026-08-17 Security: 90/100. Popularity: 100/100. Data sourced from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. Last updated: 2026-08-17. Machine-readable data (JSON).

Is File Type safe?

Trust Score Breakdown — File Type has a Nerq Trust Score of 77.5/100 (B+). Measured across 2 independent trust signals (as of 2026-08-17).

Security Analysis → File Type Privacy Report →

What is File Type's trust score?

File Type has a Nerq Trust Score of 77.5/100, earning a B+ grade. This score is based on 2 independently measured dimensions including security, maintenance, and community adoption.

Security
90
Popularity
100

What are the key security findings for File Type?

File Type's strongest signal is popularity at 100/100. No known vulnerabilities have been detected.

Security score: 90/100 (strong)
Popularity: 100/100 — community adoption

What is File Type and who maintains it?

Authorsindresorhus
Categorynpm Packages
SourceN/A

Similar Npm by Trust Score

@prisma/query-plan-executor (88)@peculiar/asn1-csr (88)react-native-screens (88)@prisma/client-runtime-utils (88)@react-three/drei (88)
See all safest Npm →

Compare

File Type vs @prisma/query-plan-executorFile Type vs @peculiar/asn1-csrFile Type vs react-native-screens

Safety Guide: File Type

What is File Type?

File Type is a Node.js package — Detect the file type of a file, stream, or data.

How to Verify Safety

Run npm audit to check for vulnerabilities. Review the package's GitHub repository for recent commits.

You can also check the trust score via API: GET /v1/preflight?target=file-type

Key Safety Concerns for Node.js package

When evaluating any Node.js package, watch for: dependency vulnerabilities, malicious packages, typosquatting.

Measured Signals

File Type has a Nerq Trust Score of 78/100 (B+). This score is a composite of automated measurements of security, maintenance, community, and quality signals.

Key Takeaways

Detailed Score Analysis

DimensionScore
Security90/100
Maintenance90/100
Popularity100/100
Quality65/100
Community30/100

Based on 5 dimensions. Data from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard.

What data does File Type collect?

File Type is a Node.js package maintained by sindresorhus. It receives approximately 51,550,739 weekly downloads. Licensed under MIT.

As a development package, File Type does not directly collect end-user personal data. However, applications built with it may collect data depending on implementation. Privacy score: 80/100.

Review the package's dependencies for potential supply chain risks. Run your package manager's audit command regularly.

Full analysis: File Type Privacy Report · Privacy review

Is File Type secure?

Security score: 90/100. File Type has 0 known vulnerabilities (CVEs) in the National Vulnerability Database. This is a clean record.

Licensed under MIT, allowing code inspection. Open-source packages allow independent security review of the source code.

Run your package manager's audit command (`npm audit`, `pip audit`, `cargo audit`) to check for known vulnerabilities in your dependency tree.

Full analysis: File Type Security Report

How we calculated this score

File Type's trust score of 77.5/100 (B+) is computed from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. The score reflects 5 independent dimensions: security (90/100), maintenance (90/100), popularity (100/100), quality (65/100), community (30/100). Each dimension is weighted equally to produce the composite trust score.

Nerq analyzes over 7.5 million entities across 26 registries using the same methodology, enabling direct cross-entity comparison. Scores are updated continuously as new data becomes available.

Signals last measured on August 17, 2026. Data version: 1.0.

Full methodology documentation · Machine-readable data (JSON API)

Frequently Asked Questions

Is File Type Safe?
file-type with a Nerq Trust Score of 77.5/100 (B+). Strongest signal: popularity (100/100). Score based on Security (90/100), Popularity (100/100).
What is File Type's trust score?
file-type: 77.5/100 (B+). Score based on Security (90/100), Popularity (100/100). Scores update as new data becomes available. API: GET nerq.ai/v1/preflight?target=file-type
What are safer alternatives to File Type?
In the npm Packages category, more Node.js packages are being analyzed — check back soon. file-type scores 77.5/100.
Does File Type have known vulnerabilities?
Nerq checks File Type against NVD, OSV.dev, and registry-specific vulnerability databases. Current security score: 90/100. Run your package manager's audit command for the latest findings.
Is File Type actively maintained?
File Type maintenance score: N/A. Check the repository for recent commit activity and issue responsiveness.
API: /v1/preflight Trust Badge API Docs

See Also

Disclaimer: Nerq trust scores are automated measurements based on publicly available signals. They are not endorsements, verdicts, or guarantees of suitability. Always evaluate the signals against your own requirements.

We use cookies for analytics and caching. Privacy