Installations
npm install chownr
Developer Guide
Typescript
Yes
Module System
ESM
Min. Node Version
>=18
Node Version
20.11.0
NPM Version
10.5.0
Score
99.6
Supply Chain
64.4
Quality
76.6
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (81.9%)
TypeScript (18.1%)
Developer
isaacs
Download Statistics
Total Downloads
8,179,865,752
Last Day
7,569,328
Last Week
34,675,395
Last Month
154,380,932
Last Year
1,949,491,587
GitHub Statistics
31 Stars
54 Commits
17 Forks
3 Watching
13 Branches
3 Contributors
Bundle Size
1.45 kB
Minified
667.00 B
Minified + Gzipped
Package Meta Information
Latest Version
3.0.0
Package Id
chownr@3.0.0
Unpacked Size
21.53 kB
Size
4.30 kB
File Count
13
NPM Version
10.5.0
Node Version
20.11.0
Publised On
06 Apr 2024
Total Downloads
Cumulative downloads
Total Downloads
8,179,865,752
Last day
-3.6%
7,569,328
Compared to previous day
Last week
-14.8%
34,675,395
Compared to previous week
Last month
6.4%
154,380,932
Compared to previous month
Last year
4.7%
1,949,491,587
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Like chown -R
.
Takes the same arguments as fs.chown()
Stable Version
Stable Version
3.0.0
LOW
1
2.5/10
Summary
Time-of-check Time-of-use (TOCTOU) Race Condition in chownr
Affected Versions
< 1.1.0
Patched Versions
1.1.0
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
3 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Reason
Found 1/28 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/typedoc.yml:14
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/isaacs/chownr/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/isaacs/chownr/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/typedoc.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/isaacs/chownr/typedoc.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/typedoc.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/isaacs/chownr/typedoc.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/typedoc.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/isaacs/chownr/typedoc.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/typedoc.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/isaacs/chownr/typedoc.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/typedoc.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/isaacs/chownr/typedoc.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/typedoc.yml:39
- Info: 0 out of 7 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 4 are checked with a SAST tool
Score
3.1
/10
Last Scanned on 2025-01-27
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