@cyberhub/trust-faker 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +86 -22
  2. package/package.json +16 -4
package/README.md CHANGED
@@ -1,38 +1,102 @@
1
1
  # Security Trust Report: faker
2
2
 
3
- **Score: 56/100 | Grade: C+ | Tier: STANDARD**
3
+ **faker@6.6.6: 54/100 | Grade: C | Tier: STANDARD** (confidence: ±3)
4
4
 
5
- > This package has notable risk factors. Review flags below.
5
+ > Data verified on 2026-04-02 from 8 security databases.
6
+
7
+ ## TL;DR
8
+
9
+ - **1 vulnerability found** (0 critical, 1 high)
10
+ - Consider switching to **@faker-js/faker** (Community fork, actively maintained)
11
+ - Pin your version and monitor for changes
12
+
13
+ ## ⚠️ Security Incident Background
14
+
15
+ In January 2022, the same maintainer (marak) deleted all code from faker and replaced it with a protest message. The community fork @faker-js/faker was created to restore the functionality.
6
16
 
7
17
  ## Score Breakdown
8
18
 
9
- | Category | Score |
19
+ ```
20
+ Maintainer Trust: ████████░░░░░░░░░░░░ 38/100
21
+ Package Health: ██████████████████░░ 90/100
22
+ Supply Chain: █████████░░░░░░░░░░░ 47/100
23
+ Community: █████████░░░░░░░░░░░ 43/100
24
+ ```
25
+
26
+ ### Why this score?
27
+
28
+ - Maintainer Trust is 38 because: single maintainer (bus factor risk), maintainer changes detected
29
+ - Supply Chain is 47 because: 1 known CVEs, in breach database
30
+ - Community is 43 because: no GitHub repo found
31
+
32
+ ## Vulnerabilities (1 vulnerability)
33
+
34
+ | Severity | Count |
10
35
  |----------|-------|
11
- | Maintainer Trust | 38/100 |
12
- | Package Health | 99/100 |
13
- | Supply Chain | 47/100 |
14
- | Community | 43/100 |
36
+ | 🟠 High | 1 |
37
+
38
+ - [GHSA-5w9c-rv96-fr7g](https://github.com/advisories/GHSA-5w9c-rv96-fr7g)
39
+
40
+ ## Key Risk Flags
41
+
42
+ - 🔴 **CRITICAL**: HISTORICAL BREACH: Maintainer sabotaged — deleted all code (2022)
43
+ - 🔴 **CRITICAL**: Maintainer "marak" has history of package sabotage
44
+ - 🟠 **HIGH**: Maintainer(s) removed in v2.1.4: fotoverite
45
+ - 🟠 **HIGH**: 1 HIGH severity vulnerability(ies) detected
46
+
47
+ ## 🛠️ What Should You Do?
15
48
 
16
- ## Vulnerabilities
49
+ **Immediate:**
50
+ - Upgrade to the latest version (`npm update faker`)
51
+ - Review the security incident details above
52
+ - Consider replacing with [@faker-js/faker](https://nrupak.com/trust/%40faker-js%2Ffaker)
17
53
 
18
- **1 vulnerabilities** (Critical: 0, High: 1)
54
+ **Always:**
55
+ - Pin exact version: `"faker": "6.6.6"`
56
+ - Run `pkgtrust scan` in your CI pipeline
57
+ - Monitor: [nrupak.com/trust/faker](https://nrupak.com/trust/faker)
19
58
 
20
- ## Flags
59
+ ## 🔄 Safer Alternatives
21
60
 
22
- - **CRITICAL**: HISTORICAL BREACH: Maintainer sabotaged deleted all code (2022)
23
- - **CRITICAL**: Maintainer "marak" has history of package sabotage
24
- - **HIGH**: Maintainer(s) removed in v2.1.4: fotoverite
25
- - **HIGH**: 1 HIGH severity vulnerability(ies) detected
26
- - **MEDIUM**: New maintainer(s) added in v2.0.0: marak
27
- - **MEDIUM**: Single maintainer — bus factor risk
28
- - **MEDIUM**: Package dormant — last published 1548 days ago
29
- - **MEDIUM**: No GitHub repo found — community signals unavailable
30
- - **LOW**: Erratic publish cadence — highly irregular release intervals
31
- - **LOW**: Single maintainer using free email service
61
+ | Package | Why | Trust Report |
62
+ |---------|-----|-------------|
63
+ | **@faker-js/faker** | Community fork, actively maintained | [View score](https://nrupak.com/trust/%40faker-js%2Ffaker) |
64
+ | **chance** | Random data generator | [View score](https://nrupak.com/trust/chance) |
32
65
 
33
66
  ## Maintainers
34
67
 
35
- - marak (2FA)
68
+ - **marak** ✅ 2FA enabled (freemail)
69
+
70
+ ## Methodology
71
+
72
+ This score is computed from **18+ signals** across **4 categories**:
73
+ - **Maintainer Trust (35%)**: Account age, 2FA, publish cadence, maintainer changes, email domain
74
+ - **Package Health (25%)**: Install scripts, dependency count, license, provenance, size changes, code quality
75
+ - **Supply Chain (25%)**: Live CVEs from 8 databases, known breaches, typosquatting, transitive risk
76
+ - **Community (15%)**: GitHub stars, contributors, CI, OpenSSF Scorecard, npms.io quality
77
+
78
+ [Full scoring methodology →](https://nrupak.com/trust)
79
+
80
+ ## Check Your Project
81
+
82
+ ```bash
83
+ # Install pkgtrust
84
+ npm install -g @cyberhub/pkgtrust
85
+
86
+ # Scan a specific package
87
+ pkgtrust scan faker
88
+
89
+ # Scan all your dependencies
90
+ pkgtrust scan
91
+
92
+ # Compare alternatives
93
+ pkgtrust compare faker @faker-js/faker chance
94
+ ```
95
+
96
+ **Data Sources:** GitHub Advisories · OSV.dev · npm audit · Snyk · Socket.dev · npms.io · Bundlephobia · deps.dev
36
97
 
37
98
  ---
38
- *[pkgtrust](https://nrupak.com/trust/faker) | [Dashboard](https://nrupak.com/trust) | Updated 2026-04-02*
99
+
100
+ *Report by [pkgtrust](https://nrupak.com/trust/faker) · [Dashboard](https://nrupak.com/trust) · [Compare](https://nrupak.com/trust/compare) · [CLI](https://npmjs.com/package/@cyberhub/pkgtrust)*
101
+
102
+ *This is an automated security report. Not affiliated with the faker team. Updated 2026-04-02.*
package/package.json CHANGED
@@ -1,17 +1,29 @@
1
1
  {
2
2
  "name": "@cyberhub/trust-faker",
3
- "version": "1.0.0",
4
- "description": "Security Trust Report for faker — 56/100 (C+, standard). Maintainer risk and vulnerability analysis from 8 security databases.",
3
+ "version": "1.0.2",
4
+ "description": "Security Trust Report: faker@6.6.654/100 (C, standard). 1 vulnerability found. Maintainer risk, supply chain analysis from 8 security databases.",
5
5
  "keywords": [
6
+ "faker",
6
7
  "faker",
7
8
  "security",
9
+ "security-report",
8
10
  "trust-score",
9
11
  "vulnerability",
12
+ "npm-audit",
13
+ "npm-security",
14
+ "supply-chain",
10
15
  "pkgtrust",
11
- "CVE"
16
+ "audit",
17
+ "scan",
18
+ "risk",
19
+ "risk-assessment",
20
+ "GHSA-5w9c-rv96-fr7g",
21
+ "@faker-js/faker",
22
+ "chance",
23
+ "standard"
12
24
  ],
13
25
  "license": "MIT",
14
- "author": "Nrupak Shah",
26
+ "author": "Nrupak Shah <nrupaks@gmail.com>",
15
27
  "repository": {
16
28
  "type": "git",
17
29
  "url": "https://github.com/nrupaks/pkgtrust"