@cyberhub/trust-axios 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 +87 -22
  2. package/package.json +18 -4
package/README.md CHANGED
@@ -1,38 +1,103 @@
1
1
  # Security Trust Report: axios
2
2
 
3
- **Score: 70/100 | Grade: B | Tier: STANDARD**
3
+ **axios@1.14.0: 62/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** (1 critical, 0 high)
10
+ - Consider switching to **got** (No known breaches, better error handling)
11
+ - Pin your version and monitor for changes
12
+
13
+ ## ⚠️ Security Incident Background
14
+
15
+ CVE-2023-45857: CSRF token theft via cookie exposure. CVE-2024-28849: SSRF vulnerability via follow-redirects dependency allowing proxy-authorization header leak. The North Korea-linked Lazarus Group targeted axios in typosquatting campaigns.
6
16
 
7
17
  ## Score Breakdown
8
18
 
9
- | Category | Score |
19
+ ```
20
+ Maintainer Trust: ████████████████░░░░ 80/100
21
+ Package Health: ██████████████████░░ 89/100
22
+ Supply Chain: ████░░░░░░░░░░░░░░░░ 19/100
23
+ Community: ██████████░░░░░░░░░░ 48/100
24
+ ```
25
+
26
+ ### Why this score?
27
+
28
+ - Supply Chain is 19 because: 1 known CVEs, in breach database, risky dependencies
29
+ - Community is 48 because: no GitHub repo found
30
+
31
+ ## Vulnerabilities (1 vulnerability)
32
+
33
+ | Severity | Count |
10
34
  |----------|-------|
11
- | Maintainer Trust | 80/100 |
12
- | Package Health | 97/100 |
13
- | Supply Chain | 44/100 |
14
- | Community | 48/100 |
35
+ | 🔴 Critical | 1 |
36
+
37
+ - [CVE-2023-45857](https://nvd.nist.gov/vuln/detail/CVE-2023-45857)
38
+ - [CVE-2024-28849](https://nvd.nist.gov/vuln/detail/CVE-2024-28849)
39
+
40
+ ## Key Risk Flags
41
+
42
+ - 🔴 **CRITICAL**: RECENT-ISH BREACH: CSRF token theft CVE-2023-45857, SSRF via follow-redirects dependency CVE-2024-28849 (2023-2024)
43
+ - 🔴 **CRITICAL**: 1 CRITICAL vulnerability(ies) from live CVE databases
44
+ - 🟠 **HIGH**: 1 direct dependencies have known security issues
45
+ - 🟠 **HIGH**: Depends on "follow-redirects" which has SSRF CVE-2024-28849
46
+
47
+ ## 🛠️ What Should You Do?
15
48
 
16
- ## Vulnerabilities
49
+ **Immediate:**
50
+ - Upgrade to the latest version (`npm update axios`)
51
+ - Review the security incident details above
52
+ - Consider replacing with [got](https://nrupak.com/trust/got)
17
53
 
18
- No known vulnerabilities.
54
+ **Always:**
55
+ - Pin exact version: `"axios": "1.14.0"`
56
+ - Run `pkgtrust scan` in your CI pipeline
57
+ - Monitor: [nrupak.com/trust/axios](https://nrupak.com/trust/axios)
19
58
 
20
- ## Flags
59
+ ## 🔄 Safer Alternatives
21
60
 
22
- - **CRITICAL**: RECENT-ISH BREACH: CSRF token theft CVE-2023-45857, SSRF via follow-redirects dependency CVE-2024-28849 (2023-2024)
23
- - **HIGH**: 1 direct dependencies have known security issues
24
- - **HIGH**: Depends on "follow-redirects" which has SSRF CVE-2024-28849
25
- - **MEDIUM**: New maintainer(s) added in v0.11.0: nickuraltsev
26
- - **MEDIUM**: New maintainer(s) added in v0.20.0: emilyemorehouse
27
- - **MEDIUM**: New maintainer(s) added in v0.21.2: jasonsaayman
28
- - **MEDIUM**: Single maintainer — bus factor risk
29
- - **MEDIUM**: No GitHub repo found — community signals unavailable
30
- - **INFO**: Published with 2FA enabled (signed)
31
- - **INFO**: Package has provenance signatures
61
+ | Package | Why | Trust Report |
62
+ |---------|-----|-------------|
63
+ | **got** | No known breaches, better error handling | [View score](https://nrupak.com/trust/got) |
64
+ | **node-fetch** | Lightweight, fewer dependencies | [View score](https://nrupak.com/trust/node-fetch) |
65
+ | **undici** | Node.js built-in HTTP client (Node 18+) | [View score](https://nrupak.com/trust/undici) |
32
66
 
33
67
  ## Maintainers
34
68
 
35
- - jasonsaayman (2FA)
69
+ - **jasonsaayman** ✅ 2FA enabled (org email)
70
+
71
+ ## Methodology
72
+
73
+ This score is computed from **18+ signals** across **4 categories**:
74
+ - **Maintainer Trust (35%)**: Account age, 2FA, publish cadence, maintainer changes, email domain
75
+ - **Package Health (25%)**: Install scripts, dependency count, license, provenance, size changes, code quality
76
+ - **Supply Chain (25%)**: Live CVEs from 8 databases, known breaches, typosquatting, transitive risk
77
+ - **Community (15%)**: GitHub stars, contributors, CI, OpenSSF Scorecard, npms.io quality
78
+
79
+ [Full scoring methodology →](https://nrupak.com/trust)
80
+
81
+ ## Check Your Project
82
+
83
+ ```bash
84
+ # Install pkgtrust
85
+ npm install -g @cyberhub/pkgtrust
86
+
87
+ # Scan a specific package
88
+ pkgtrust scan axios
89
+
90
+ # Scan all your dependencies
91
+ pkgtrust scan
92
+
93
+ # Compare alternatives
94
+ pkgtrust compare axios got node-fetch
95
+ ```
96
+
97
+ **Data Sources:** GitHub Advisories · OSV.dev · npm audit · Snyk · Socket.dev · npms.io · Bundlephobia · deps.dev
36
98
 
37
99
  ---
38
- *[pkgtrust](https://nrupak.com/trust/axios) | [Dashboard](https://nrupak.com/trust) | Updated 2026-04-02*
100
+
101
+ *Report by [pkgtrust](https://nrupak.com/trust/axios) · [Dashboard](https://nrupak.com/trust) · [Compare](https://nrupak.com/trust/compare) · [CLI](https://npmjs.com/package/@cyberhub/pkgtrust)*
102
+
103
+ *This is an automated security report. Not affiliated with the axios team. Updated 2026-04-02.*
package/package.json CHANGED
@@ -1,17 +1,31 @@
1
1
  {
2
2
  "name": "@cyberhub/trust-axios",
3
- "version": "1.0.0",
4
- "description": "Security Trust Report for axios — 70/100 (B, standard). Maintainer risk and vulnerability analysis from 8 security databases.",
3
+ "version": "1.0.2",
4
+ "description": "Security Trust Report: axios@1.14.062/100 (C+, standard). 1 vulnerability found. Maintainer risk, supply chain analysis from 8 security databases.",
5
5
  "keywords": [
6
+ "axios",
6
7
  "axios",
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
+ "CVE-2023-45857",
21
+ "CVE-2024-28849",
22
+ "got",
23
+ "node-fetch",
24
+ "undici",
25
+ "standard"
12
26
  ],
13
27
  "license": "MIT",
14
- "author": "Nrupak Shah",
28
+ "author": "Nrupak Shah <nrupaks@gmail.com>",
15
29
  "repository": {
16
30
  "type": "git",
17
31
  "url": "https://github.com/nrupaks/pkgtrust"