← Home

tinycolor2

Fast Color Parsing and Manipulation

13
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, so a manually published version cannot be tied back to a reviewed commit.

Maintainers

bgrins

Keywords

colorparsertinycolor

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:new-function-constructor AI (semgrep): Fires in vendored demo/jquery-1.9.1.js, not shipped library code; stable FP. ai

Versions (showing 13 of 13)

Version Deps Published
1.6.0 0 / 1
1.5.2 0 / 1
1.5.1 0 / 6
1.5.0 0 / 1
1.4.2 0 / 6
1.4.1 0 / 6
1.4.0 0 / 6
1.3.0 0 / 6
1.2.1 0 / 6
1.1.2 0 / 6
1.1.1 0 / 6
1.1.0 0 / 6
1.0.0 0 / 6

v1.5.2

1 finding
LOW No provenance attestation provenance

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

v1.5.1

1 finding
LOW No provenance attestation provenance

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

v1.5.0

1 finding
LOW No provenance attestation provenance

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

v1.4.1

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. Source: https://bgrins.github.com/TinyColor/blob/80f7225029c428c0de0757f7d98ac15f497bee57/demo/jquery-1.9.1.js#L560 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.

v1.4.0

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. Source: https://bgrins.github.com/TinyColor/blob/926c9fe7cabe009affcb761cfc44d146fc20e28d/demo/jquery-1.9.1.js#L560 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.

v1.3.0

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. Source: https://bgrins.github.com/TinyColor/blob/71379c1cb50cedab2386a3b40f07eb866697d679/demo/jquery-1.9.1.js#L560 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.

v1.2.1

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. Source: https://bgrins.github.com/TinyColor/blob/0c95881a00bf7b81803ad45b735df8efa24c7061/demo/jquery-1.9.1.js#L560 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.

v1.1.2

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. Source: https://bgrins.github.com/TinyColor/blob/8cc9ee6251a05752013af0958ece80e68c1d9c6e/demo/jquery-1.9.1.js#L560 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.

v1.1.1

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. Source: https://bgrins.github.com/TinyColor/blob/8048867985064975ad10f140dc270f2c836548b0/demo/jquery-1.9.1.js#L560 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.

v1.1.0

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. Source: https://bgrins.github.com/TinyColor/blob/44ac02cb4a2c94f80d07dbceb83ee1b5cebeabcb/demo/jquery-1.9.1.js#L560 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.

v1.0.0

2 findings
HIGH new-function-constructor: demo/jquery-1.9.1.js:560 semgrep

new Function() dynamically compiles and executes code, similar to eval(). Common in template engines and parsers — verify the input source. 558 | .replace( rvalidbraces, "")) ) { 559 | > 560 | return ( new Function( "return " + data ) )(); 561 | } 562 | }

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.