← Home

json-fn

javascript plugin to stringify, parse and clone javascript objects with Functions, RegExp and Date.

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

vadim.kiryukhin

Keywords

stringify object with functionstringify object with regexpstringify with functionJSON with regexJSON stringify with functions

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
source-diff net-exec-file:jsonfn.min.js AI (source-diff): jsonfn.min.js is a minified build of the library's core. The eval() calls are the documented feature (deserializing functions/regexps). No actual network calls are present; the 'network' signal is a false positive on browser globals. ai
semgrep semgrep:eval-usage AI (semgrep): eval() is the core mechanism for deserializing function strings — intentional and documented behavior for a JSON-with-functions serializer. Stable false positive for this package. ai
bogus-package bogus-package AI (bogus-package): Small focused utility with no deps and minimal README; consistent with a legitimate single-purpose library, not spam. ai

Versions (showing 3 of 3)

Version Deps Published
1.1.1 0 / 0
1.1.0 0 / 0
0.60.0 0 / 0

v1.1.1

1 finding
LOW No provenance attestation provenance

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

v1.1.0

2 findings
HIGH New file with network + code execution: jsonfn.min.js source-diff

Newly added file contains both network calls and dynamic code execution. This is a hallmark of dropper/loader malware.

LOW No provenance attestation provenance

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

v0.60.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.