← Home

sudo-prompt

Run a command using sudo, prompting the user with an OS dialog if necessary

47
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

jorandirkgreef

Keywords

sudoosdialogpromptcommandexecuser access controlUACprivilegesadministrativeelevaterun as administrator

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
source-diff encoded-string-file:index.js AI (source-diff): Base64-encoded macOS applet.app zip is a documented, long-standing part of sudo-prompt to show the OS password dialog. Stable for this package. ai
semgrep semgrep:child-process-import AI (semgrep): sudo-prompt's entire purpose is to execute commands with elevated privileges; child_process usage is the core mechanism and expected for every version of this package. ai

Versions (showing 47 of 47)

Version Deps Published
9.2.1 0 / 0
9.1.1 0 / 0
9.1.0 0 / 0
9.0.0 0 / 0
8.2.5 0 / 0
8.2.3 0 / 0
8.2.2 0 / 0
8.2.1 0 / 0
8.2.0 0 / 0
8.1.0 0 / 0
8.0.0 0 / 0
7.1.1 0 / 0
7.1.0 0 / 0
7.0.0 0 / 0
6.2.1 0 / 0
6.2.0 0 / 0
6.1.0 0 / 0
6.0.2 0 / 0
6.0.1 0 / 0
6.0.0 0 / 0
5.1.0 0 / 0
5.0.3 0 / 0
5.0.2 0 / 0
5.0.1 0 / 0
5.0.0 0 / 0
4.0.1 0 / 0
4.0.0 0 / 0
3.1.0 0 / 0
3.0.1 0 / 0
3.0.0 0 / 0
2.3.0 0 / 0
2.2.0 0 / 0
2.1.1 0 / 0
2.1.0 0 / 0
2.0.2 0 / 0
2.0.1 0 / 0
2.0.0 0 / 0
1.1.8 0 / 0
1.1.7 0 / 0
1.1.6 0 / 0
1.1.5 0 / 0
1.1.4 0 / 0
1.1.2 0 / 0
1.1.1 0 / 0
1.1.0 0 / 0
1.0.1 0 / 0
1.0.0 0 / 0

v9.2.1

1 finding
LOW No provenance attestation provenance

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

v9.1.1

1 finding
LOW No provenance attestation provenance

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

v9.1.0

1 finding
LOW No provenance attestation provenance

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

v9.0.0

2 findings
HIGH Long encoded string in modified file: index.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

LOW No provenance attestation provenance

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

v8.2.5

1 finding
LOW No provenance attestation provenance

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

v8.2.3

1 finding
LOW No provenance attestation provenance

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

v8.2.2

1 finding
LOW No provenance attestation provenance

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

v8.2.1

1 finding
LOW No provenance attestation provenance

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

v8.2.0

1 finding
LOW No provenance attestation provenance

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

v8.1.0

1 finding
LOW No provenance attestation provenance

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

v8.0.0

1 finding
LOW No provenance attestation provenance

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