← Home

@truffle/core

Core code for Truffle command line tool

1
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

rizedrjoshuafernandescliffookevinbluergnidanhaltmaneggplantzzzfainashaltscds-amal

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
typosquat typosquat.levenshtein:cors AI (typosquat): @truffle/core is the Truffle framework core package, not a typosquat of 'cors'; scoped name makes this a clear false positive. ai
semgrep semgrep:child-process-import AI (semgrep): CLI tool legitimately spawns child processes to run the Truffle CLI; stable pattern across versions. ai
semgrep semgrep:dynamic-require AI (semgrep): Dynamic require used to load command modules from a known local path; standard CLI plugin/command loader pattern. ai
semgrep semgrep:hex-decode AI (semgrep): Hex decoding of blockchain revert strings is core debugger functionality, not a malicious payload. ai
phantom-deps phantom-dep:chai AI (phantom-deps): chai is a test framework referenced in config files; stable false positive for this package. ai
phantom-deps phantom-dep:mocha AI (phantom-deps): mocha is a test framework referenced in config files; stable false positive for this package. ai
phantom-deps phantom-dep:get-port AI (phantom-deps): get-port referenced in config context; stable false positive for this package. ai
phantom-deps phantom-dep:@truffle/deployer AI (phantom-deps): Same-org scoped package; phantom-dep heuristic unreliable for monorepo packages. ai
phantom-deps phantom-dep:@truffle/compile-common AI (phantom-deps): Same-org scoped package; phantom-dep heuristic unreliable for monorepo packages. ai
phantom-deps phantom-dep:@truffle/source-fetcher AI (phantom-deps): Same-org scoped package; phantom-dep heuristic unreliable for monorepo packages. ai

Versions (showing 1 of 1)

Version Deps Published
5.11.5 65 / 5

v5.11.5

2 findings
HIGH typosquat.levenshtein: Possible typosquat of 'cors' typosquat

Package name '@truffle/core' is 1 edit(s) away from popular package 'cors'.

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.