← Home

terser

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

51
Versions
BSD-2-Clause
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

fabiosantoscode

Keywords

uglifyterseruglify-esuglify-jsminifyminifierjavascriptecmascriptes5es6es7es8es2015es2016es2017asyncawait

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:new-function-constructor AI (semgrep): new Function() is used in terser's AST node constructor generation — a well-known, intentional pattern in this JavaScript parser/minifier. Not a security risk in this context. ai
semgrep semgrep:base64-decode AI (semgrep): terser decodes base64 source map data as a core feature; this is documented behavior in lib/minify.js, not a malicious payload. ai

Versions (showing 51 of 83)

View all versions
Version Deps Published
5.48.0 4 / 10
5.47.1 4 / 10
5.47.0 4 / 10
5.46.2 4 / 10
5.46.1 4 / 10
5.46.0 4 / 10
5.45.0 4 / 10
5.44.1 4 / 10
5.44.0 4 / 10
5.43.1 4 / 10
5.43.0 4 / 10
5.42.0 4 / 10
5.41.0 4 / 10
5.40.0 4 / 10
5.39.2 4 / 10
5.39.1 4 / 10
5.39.0 4 / 10
5.38.2 4 / 10
5.38.1 4 / 10
5.38.0 4 / 10
5.37.0 4 / 10
5.36.0 4 / 10
5.35.0 4 / 10
5.34.1 4 / 10
5.34.0 4 / 10
5.33.0 4 / 10
5.32.0 4 / 10
5.31.6 4 / 10
5.31.5 4 / 10
5.31.4 4 / 10
5.31.3 4 / 10
5.31.2 4 / 10
5.31.1 4 / 10
5.31.0 4 / 10
5.30.4 4 / 10
5.30.3 4 / 10
5.30.2 4 / 10
5.30.1 4 / 10
5.30.0 4 / 10
5.29.2 4 / 10
5.29.1 4 / 10
5.29.0 4 / 10
5.28.1 4 / 10
5.28.0 4 / 10
5.27.2 4 / 10
5.27.1 4 / 10
5.27.0 4 / 10
5.26.0 4 / 10
5.25.0 4 / 10
5.24.0 4 / 10
5.23.0 4 / 10

v5.48.0

1 finding
LOW No provenance attestation provenance

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

v5.47.1

1 finding
LOW No provenance attestation provenance

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

v5.47.0

1 finding
LOW No provenance attestation provenance

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

v5.46.2

1 finding
LOW No provenance attestation provenance

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