← Home

copy-file

Copy a file

3
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

sindresorhus

Keywords

copycopyingcpfileclonefsstreamfile-systemfilesystemncpfastquickdatacontentcontentsreadwriteio

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
maintainer-change maintainer-takeover AI (maintainer-change): Transfer from khoomeister to sindresorhus is a legitimate, documented handoff to one of npm's most trusted publishers. Repo URL confirms sindresorhus ownership. ai
provenance publisher-changed AI (provenance): Publisher change to sindresorhus is legitimate; package.json author, repo, and funding all confirm sindresorhus ownership. ai
maintainer-change maintainer-added AI (maintainer-change): sindresorhus is a highly trusted npm publisher; addition is part of a legitimate package transfer. ai
maintainer-change maintainer-removed AI (maintainer-change): Removal of khoomeister is consistent with a full, legitimate transfer to sindresorhus. ai
source-diff source-size-tripled AI (source-diff): Size increase reflects a full rewrite: ESM module, TypeScript types, custom error class, fs abstraction. No obfuscation or suspicious payloads flagged. ai
publish-pattern new-deps-added AI (publish-pattern): graceful-fs and p-event are well-known, trusted packages in the sindresorhus ecosystem; no malicious signal. ai

Versions (showing 3 of 3)

Version Deps Published
11.1.0 2 / 9
11.0.0 2 / 9
0.0.1 0 / 0

v11.1.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v11.0.0

3 findings
HIGH Complete maintainer takeover detected maintainer-change

All previous maintainers (khoomeister) were replaced by new maintainers (sindresorhus). This is a strong signal of a potential package hijack and requires careful review.

HIGH Publisher changed: khoomeister → sindresorhus (on 2023-11-05) provenance

This version was published by a different npm account than previous versions on 2023-11-05. This could indicate a legitimate maintainer transition or an account compromise.

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.