Togoder security

npm package security report

fdir npm package: is it safe?

No malicious code found.

No issues Version 6.5.0 Files reviewed 2 Size 34.6 KB Scanned

Summary

Togoder Security scanned the npm package fdir@6.5.0 on Oct 6, 2026. An AI review of 2 source files produced 2 low severity findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

0
critical
0
high
0
medium
2
low

Findings 2

low

Dynamic module loading

NPS-160D5790A17A

The code attempts to require('picomatch') inside a try/catch block. This is a normal optional dependency loading pattern for the fdir package, not malicious dynamic loading. The resolved module name is a literal string and not user-controlled.

dist/index.cjs
low

dynamic-module-loading

NPS-A1F83205B871

The code attempts to resolve and load the 'picomatch' module at import time using createRequire. While this is a legitimate optional dependency pattern for glob matching, it constitutes dynamic module loading at import time based on available modules.

dist/index.mjs:372

Files reviewed

FileVerdictWhat the reviewer saw
dist/index.cjs safe This is a directory traversal/walking library (fdir) with standard filesystem operations; no malicious patterns such as exfiltration, credential harvesting, obfuscation, or process spawning were detected.
dist/index.mjs safe This is the fdir directory traversal library with no malicious patterns; only a benign optional picomatch dependency load at module initialization.

Scanned versions of fdir

VersionVerdictFilesScanned
6.5.0 No issues 2 Oct 6, 2026

Frequently asked questions

Is fdir safe to use?

Our AI source review of fdir@6.5.0 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.

Does fdir contain malware?

No malware was identified in fdir@6.5.0 when Togoder Security scanned it on Oct 6, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.

How was fdir checked?

Togoder Security downloaded the published npm package and had an AI model read its 2 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.

How do I scan fdir together with the rest of my dependencies?

Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in fdir@6.5.0, cost nothing.

Related security reports