← Home

win-trash

Move files to the trash

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

winwin32windowstrashrecyclebindeletedelremovermfilefiles

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
npm-metadata bundled-binaries AI (npm-metadata): Recycle.exe is the core functional component of win-trash — a Windows CLI utility for moving files to the Recycle Bin. Its presence is expected and documented in package.json bin field. ai
semgrep semgrep:child-process-import AI (semgrep): child_process.execFile is used to invoke the bundled Recycle.exe binary, which is the package's documented purpose. Not arbitrary command execution. ai

Versions (showing 3 of 3)

Version Deps Published
2.0.0 2 / 2
1.0.1 0 / 1
1.0.0 0 / 1

v2.0.0

2 findings
HIGH Bundled binary files (1) npm-metadata

Package contains compiled binaries that could be backdoors: • cmdutils/Recycle.exe

LOW No provenance attestation provenance

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

v1.0.1

1 finding
LOW No provenance attestation provenance

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

v1.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.