← Home

osx-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

osxtrashrecyclebindeletedelremovermfilefiles

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
npm-metadata bundled-binaries AI (npm-metadata): The 'trash' binary is the core CLI deliverable of this macOS trash utility, explicitly listed in package.json bin and files fields. Not a backdoor. ai
semgrep semgrep:child-process-import AI (semgrep): child_process/execFile is used to invoke AppleScript for macOS Trash integration — the documented and expected mechanism for this package. ai

Versions (showing 3 of 3)

Version Deps Published
2.0.0 4 / 3
1.0.1 2 / 2
1.0.0 2 / 1

v2.0.0

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

Package contains compiled binaries that could be backdoors: • trash

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.