Gathering detailed insights and metrics for @sigstore/tuf
Gathering detailed insights and metrics for @sigstore/tuf
Gathering detailed insights and metrics for @sigstore/tuf
Gathering detailed insights and metrics for @sigstore/tuf
npm install @sigstore/tuf
Typescript
Module System
Min. Node Version
Node Version
NPM Version
76
Supply Chain
86.6
Quality
79.5
Maintenance
100
Vulnerability
98.6
License
@sigstore/tuf@3.1.1
Updated on Apr 25, 2025
@sigstore/cli@0.8.2
Updated on Apr 25, 2025
@sigstore/verify@2.1.1
Updated on Apr 25, 2025
@sigstore/oci@0.5.0
Updated on Apr 25, 2025
@sigstore/tuf@3.1.0
Updated on Feb 04, 2025
@sigstore/verify@2.1.0
Updated on Feb 04, 2025
TypeScript (98.04%)
JavaScript (1.2%)
Makefile (0.67%)
Shell (0.08%)
Batchfile (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
165 Stars
1,142 Commits
31 Forks
6 Watchers
32 Branches
44 Contributors
Updated on Jul 04, 2025
Latest Version
3.1.1
Package Id
@sigstore/tuf@3.1.1
Unpacked Size
44.40 kB
Size
16.00 kB
File Count
14
NPM Version
10.9.2
Node Version
18.17.0
Published on
Apr 25, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
3
A JavaScript library for securely retrieving targets from the Sigstore TUF repository.
npm install @sigstore/tuf
1const { initTUF } = require('@sigstore/tuf');
1import { initTUF } from '@sigstore/tuf';
Returns a TUF client which can be used to retrieve any target from the Sigstore TUF repository. The local TUF cache will be initialized and the TUF metadata files downloaded from the remote repository as part of the initialization process.
options
<Object>
mirrorURL
<string>
: Base URL for the Sigstore TUF repository. Defaults to 'https://tuf-repo-cdn.sigstore.dev'
cachePath
<string>
: Absolute path to the directory to be used for caching downloaded TUF metadata and targets. Defaults to a directory named "sigstore-js" within the platform-specific application data directory.rootPath
<string>
: Path to the initial trust root for the TUF repository. Defaults to the embedded root.forceInit
boolean
: Force re-initialization of the TUF cache even if it already exists. Defaults to false
.forceCache
boolean
: Prevents any downloads from the remote TUF repository as long as all cached metadata files are un-expired. Defaults to false
.force
boolean
: Same as forceInit
(deprecated).The TUF
client object returned from initTUF
has a single getTarget
function which takes the name of a target in the Sigstore TUF repository
and returns the content of that target.
Retrieves the most recent version of the "trusted_root.json" target from the Sigstore TUF repository. The format of "trusted_root.json" file is described by the TrustedRoot protobuf and contains the complete set of trusted verification materials for the Sigstore public-good instance.
options
<Object>
mirrorURL
<string>
: Base URL for the Sigstore TUF repository. Defaults to 'https://tuf-repo-cdn.sigstore.dev'
cachePath
<string>
: Absolute path to the directory to be used for caching downloaded TUF metadata and targets. Defaults to a directory named "sigstore-js" within the platform-specific application data directory.rootPath
<string>
: Path to the initial trust root for the TUF repository. Defaults to the embedded root.forceInit
boolean
: Force re-initialization of the TUF cache even if it already exists. Defaults to false
.forceCache
boolean
: Prevents any downloads from the remote TUF repository as long as all cached metadata files are un-expired. Defaults to false
.force
boolean
: Same as forceInit
(deprecated).No vulnerabilities found.
Reason
update tool detected
Details
Reason
all changesets reviewed
Reason
23 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
project has 2 contributing companies or organizations -- score normalized to 6
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-13T16:27:32Z
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More