@lateos/npm-scan 0.11.1 → 0.11.3
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.
- package/README.de.md +2 -2
- package/README.fr.md +2 -2
- package/README.ja.md +2 -2
- package/README.md +13 -10
- package/README.zh.md +2 -2
- package/package.json +1 -1
package/README.de.md
CHANGED
|
@@ -109,9 +109,9 @@ Kein Node.js. Kein `npm install`. Keine globalen Pakete. Funktioniert auf jedem
|
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
112
|
-
## 🛡️ Behörden- & SOC 2
|
|
112
|
+
## 🛡️ Behörden- & SOC 2-bereit
|
|
113
113
|
|
|
114
|
-
| Funktion | SOC 2 | NIST 800-161 | STIG/FedRAMP |
|
|
114
|
+
| Funktion | SOC 2-Kontrollen | NIST 800-161 | STIG/FedRAMP-Ausrichtung |
|
|
115
115
|
|----------|-------|--------------|--------------|
|
|
116
116
|
| Audit-Protokolle (--audit-log) | CC6.8 | AU-2 | ✓ |
|
|
117
117
|
| FIPS-Krypto (--fips) | CC6.1 | SC-13 | ✓ |
|
package/README.fr.md
CHANGED
|
@@ -109,9 +109,9 @@ Pas de Node.js. Pas de `npm install`. Pas de paquets globaux. Fonctionne sur tou
|
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
112
|
-
## 🛡️ Prêt pour le Gouvernement et SOC 2
|
|
112
|
+
## 🛡️ Prêt pour le Gouvernement et SOC 2
|
|
113
113
|
|
|
114
|
-
| Fonctionnalité | SOC 2 | NIST 800-161 | STIG/FedRAMP |
|
|
114
|
+
| Fonctionnalité | Contrôles SOC 2 | NIST 800-161 | Alignement STIG/FedRAMP |
|
|
115
115
|
|----------------|-------|--------------|--------------|
|
|
116
116
|
| Journaux d'audit (--audit-log) | CC6.8 | AU-2 | ✓ |
|
|
117
117
|
| Crypto FIPS (--fips) | CC6.1 | SC-13 | ✓ |
|
package/README.ja.md
CHANGED
|
@@ -109,9 +109,9 @@ Node.js不要。`npm install`不要。グローバルパッケージ不要。Doc
|
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
112
|
-
## 🛡️ 政府機関・SOC 2
|
|
112
|
+
## 🛡️ 政府機関・SOC 2 対応
|
|
113
113
|
|
|
114
|
-
| 機能 | SOC 2 | NIST 800-161 | STIG/FedRAMP |
|
|
114
|
+
| 機能 | SOC 2 コントロール | NIST 800-161 | STIG/FedRAMP アライメント |
|
|
115
115
|
|------|-------|--------------|--------------|
|
|
116
116
|
| 監査ログ (--audit-log) | CC6.8 | AU-2 | ✓ |
|
|
117
117
|
| FIPS暗号化 (--fips) | CC6.1 | SC-13 | ✓ |
|
package/README.md
CHANGED
|
@@ -43,6 +43,7 @@ Attackers have moved past simple typosquatting. They now ship **obfuscated prein
|
|
|
43
43
|
| Transitive worm propagation (ATK-011) | ❌ | ❌ | ❌ | ✅ |
|
|
44
44
|
| Attack taxonomy (ATK series) | ❌ | ❌ | ❌ | ✅ |
|
|
45
45
|
| SBOM output (CycloneDX + SPDX) | ❌ | ✅ | ❌ | ✅ |
|
|
46
|
+
| SARIF v2.1 (GitHub Code Scanning) | ❌ | ❌ | ❌ | ✅ |
|
|
46
47
|
| NIST 800-161 compliance reporting | ❌ | ❌ | ❌ | ✅ |
|
|
47
48
|
| EU CRA compliance reporting | ❌ | ❌ | ❌ | ✅ |
|
|
48
49
|
| SIEM export (CEF / ECS / Sentinel / QRadar) | ❌ | ❌ | ❌ | ✅ |
|
|
@@ -61,6 +62,7 @@ Attackers have moved past simple typosquatting. They now ship **obfuscated prein
|
|
|
61
62
|
| 🧠 | **Behavioral detection** | Identifies conditional triggers (time-based, CI-aware), sandbox evasion, and dormant activation patterns |
|
|
62
63
|
| 🧬 | **ATK attack taxonomy** | 11 classified attack types with NIST 800-161 mappings — versioned, documented, and PR-able |
|
|
63
64
|
| 📦 | **SBOM generation** | CycloneDX 1.5 and SPDX 2.3 with findings embedded as vulnerabilities |
|
|
65
|
+
| 🔍 | **SARIF output** | GitHub Advanced Security / CodeQL compatible SARIF v2.1 — shows findings directly in Security tab |
|
|
64
66
|
| 🧾 | **Compliance reporting** | NIST SP 800-161 traceability matrix + EU Cyber Resilience Act mapping (free tier) |
|
|
65
67
|
| 🔌 | **SIEM export** | Splunk CEF, Elastic ECS, Microsoft Sentinel, IBM QRadar formats (premium) |
|
|
66
68
|
| 📜 | **Policy-as-code** | YAML/JSON policy engine with allowlists, severity overrides, suppressions, and fail-on thresholds |
|
|
@@ -108,9 +110,9 @@ No Node.js. No `npm install`. No global packages. Works on any system with Docke
|
|
|
108
110
|
|
|
109
111
|
---
|
|
110
112
|
|
|
111
|
-
## 🛡️ Government & SOC 2
|
|
113
|
+
## 🛡️ Government & SOC 2 Ready
|
|
112
114
|
|
|
113
|
-
| Feature | SOC 2 | NIST 800-161 | STIG/FedRAMP |
|
|
115
|
+
| Feature | SOC 2 Controls | NIST 800-161 | STIG/FedRAMP Alignment |
|
|
114
116
|
|---------|-------|--------------|--------------|
|
|
115
117
|
| Audit logs (--audit-log) | CC6.8 | AU-2 | ✓ |
|
|
116
118
|
| FIPS crypto (--fips) | CC6.1 | SC-13 | ✓ |
|
|
@@ -125,8 +127,8 @@ npm-scan scan-lockfile --cache-dir /offline/cache --audit-log /var/log/npm-scan.
|
|
|
125
127
|
npm-scan report --stig
|
|
126
128
|
```
|
|
127
129
|
|
|
128
|
-
[](https://www.aicpa.org/interestareas/frc/assuranceadvisoryservices/sorhome.html#soc2)
|
|
131
|
+
[](https://fedramp.gov/baselines/)
|
|
130
132
|
|
|
131
133
|
---
|
|
132
134
|
|
|
@@ -389,7 +391,7 @@ jobs:
|
|
|
389
391
|
|
|
390
392
|
### GitHub Action (for downstream users)
|
|
391
393
|
|
|
392
|
-
Scan your project's `package-lock.json` on every PR — detects typosquats, obfuscated payloads, credential harvesters, and worm propagation before they reach production
|
|
394
|
+
Scan your project's `package-lock.json` on every PR — detects typosquats, obfuscated payloads, credential harvesters, and worm propagation before they reach production. **SARIF output shows findings directly in GitHub's Security tab (Code Scanning).**
|
|
393
395
|
|
|
394
396
|
```yaml
|
|
395
397
|
# .github/workflows/scan.yml
|
|
@@ -404,14 +406,15 @@ jobs:
|
|
|
404
406
|
runs-on: ubuntu-latest
|
|
405
407
|
steps:
|
|
406
408
|
- uses: actions/checkout@v4
|
|
407
|
-
- uses:
|
|
408
|
-
with:
|
|
409
|
-
node-version: 20
|
|
410
|
-
- name: Scan lockfile
|
|
411
|
-
uses: lateos/npm-scan@main
|
|
409
|
+
- uses: lateos/npm-scan@v1
|
|
412
410
|
with:
|
|
413
411
|
scan-type: lockfile
|
|
412
|
+
sarif: results.sarif
|
|
414
413
|
fail-on: high
|
|
414
|
+
- name: Upload SARIF to Security tab
|
|
415
|
+
uses: github/codeql-action/upload-sarif@v3
|
|
416
|
+
with:
|
|
417
|
+
sarif_file: results.sarif
|
|
415
418
|
```
|
|
416
419
|
|
|
417
420
|
#### Action inputs
|
package/README.zh.md
CHANGED
|
@@ -109,9 +109,9 @@ docker compose --profile pipeline up -d
|
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
112
|
-
## 🛡️ 政府与 SOC 2
|
|
112
|
+
## 🛡️ 政府与 SOC 2 就绪
|
|
113
113
|
|
|
114
|
-
| 功能 | SOC 2 | NIST 800-161 | STIG/FedRAMP |
|
|
114
|
+
| 功能 | SOC 2 控制 | NIST 800-161 | STIG/FedRAMP 对齐 |
|
|
115
115
|
|------|-------|--------------|--------------|
|
|
116
116
|
| 审计日志 (--audit-log) | CC6.8 | AU-2 | ✓ |
|
|
117
117
|
| FIPS 加密 (--fips) | CC6.1 | SC-13 | ✓ |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lateos/npm-scan",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
4
4
|
"description": "Modern npm supply chain security scanner — detects obfuscated payloads, credential stealers, conditional triggers, sandbox evasion, and worm-like propagation. 11 attack types, SBOM, NIST/EU CRA compliance reporting.",
|
|
5
5
|
"main": "backend/index.js",
|
|
6
6
|
"bin": {
|