@lateos/npm-scan 0.18.2 → 1.0.0
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/CHANGELOG.md +265 -233
- package/LICENSING.md +19 -19
- package/README.de.md +708 -708
- package/README.fr.md +707 -707
- package/README.ja.md +704 -704
- package/README.md +861 -826
- package/README.zh.md +708 -708
- package/VALIDATION.md +92 -0
- package/backend/cra.js +68 -68
- package/backend/db/pg-schema.sql +155 -0
- package/backend/db/schema.sql +32 -32
- package/backend/db.js +88 -88
- package/backend/detectors/atk-001-lifecycle.js +17 -17
- package/backend/detectors/atk-002-obfusc.js +261 -261
- package/backend/detectors/atk-003-creds.js +13 -13
- package/backend/detectors/atk-004-persist.js +13 -13
- package/backend/detectors/atk-005-exfil.js +13 -13
- package/backend/detectors/atk-006-depconf.js +14 -14
- package/backend/detectors/atk-007-typosquat.js +34 -34
- package/backend/detectors/atk-008-tarball-tamper.js +91 -91
- package/backend/detectors/atk-009-dormant-trigger.js +62 -62
- package/backend/detectors/atk-010-sandbox-evasion.js +50 -50
- package/backend/detectors/atk-011-transitive-prop.js +76 -76
- package/backend/detectors/config/thresholds.js +66 -0
- package/backend/detectors/config/whitelist.json +74 -0
- package/backend/detectors/cve-2026-48710-badhost/codePattern.js +99 -99
- package/backend/detectors/cve-2026-48710-badhost/findings.js +105 -105
- package/backend/detectors/cve-2026-48710-badhost/index.js +15 -15
- package/backend/detectors/cve-2026-48710-badhost/manifest.js +305 -305
- package/backend/detectors/cve-2026-48710-badhost/transitive.js +189 -189
- package/backend/detectors/hf-impersonation/index.js +396 -396
- package/backend/detectors/hf-impersonation/jaro-winkler.js +44 -44
- package/backend/detectors/hf-impersonation/known-orgs.js +5 -5
- package/backend/detectors/hf-impersonation/simhash.js +46 -46
- package/backend/detectors/index.js +87 -81
- package/backend/detectors/lib/ast-patterns.js +21 -0
- package/backend/detectors/lib/entropy-analyzer.js +24 -0
- package/backend/detectors/megalodon/d1-workflow-scan.js +147 -147
- package/backend/detectors/megalodon/d2-credential-harvest.js +61 -61
- package/backend/detectors/megalodon/d3-publish-velocity.js +67 -67
- package/backend/detectors/megalodon/d4-publisher-drift.js +124 -124
- package/backend/detectors/megalodon/d5-bot-commit-identity.js +3 -3
- package/backend/detectors/megalodon/d6-date-anachronism.js +3 -3
- package/backend/detectors/megalodon/index.js +80 -80
- package/backend/detectors/megalodon/types.js +9 -9
- package/backend/detectors/mini-shai-hulud/d1-burst-publish.js +42 -42
- package/backend/detectors/mini-shai-hulud/d2-sibling-compromise.js +116 -116
- package/backend/detectors/mini-shai-hulud/d3-slsa-mismatch.js +72 -72
- package/backend/detectors/mini-shai-hulud/d4-maintainer-anomaly.js +45 -45
- package/backend/detectors/mini-shai-hulud/d5-ioc-check.js +95 -95
- package/backend/detectors/mini-shai-hulud/d6-token-exfil.js +38 -38
- package/backend/detectors/mini-shai-hulud/index.js +118 -118
- package/backend/detectors/mini-shai-hulud/iocs.json +79 -79
- package/backend/detectors/tier1-binary-embed.js +34 -5
- package/backend/detectors/tier1-obfuscation-heuristics.js +156 -0
- package/backend/detectors/tier1-slsa-attestation.js +12 -0
- package/backend/detectors/tier1-version-anomaly.js +187 -0
- package/backend/detectors.test.js +88 -0
- package/backend/fetch.js +175 -175
- package/backend/index.js +4 -4
- package/backend/license.js +89 -89
- package/backend/lockfile.js +379 -379
- package/backend/pdf.js +245 -245
- package/backend/policy.js +193 -193
- package/backend/report.js +254 -254
- package/backend/sbom.js +66 -66
- package/backend/scripts/analyze-false-positives.js +146 -0
- package/backend/scripts/analyze-validation.js +151 -0
- package/backend/scripts/detect-false-positives.js +93 -0
- package/backend/scripts/fetch-top-packages.js +129 -0
- package/backend/scripts/validate-detectors.js +142 -0
- package/backend/siem/cef.js +32 -32
- package/backend/siem/ecs.js +40 -40
- package/backend/siem/index.js +18 -18
- package/backend/siem/qradar.js +56 -56
- package/backend/siem/sentinel.js +27 -27
- package/backend/tests-d5-enhanced.test.js +46 -0
- package/backend/tests-d6-version-anomaly.test.js +58 -0
- package/backend/tests-d6.test.js +116 -0
- package/backend/tests-d6c.test.js +106 -0
- package/backend/tests-d7-obfuscation.test.js +91 -0
- package/backend/tests.test.js +898 -0
- package/backend/vsix-scan/detectors/activation-event-risk.js +116 -116
- package/backend/vsix-scan/detectors/burst-publish.js +52 -52
- package/backend/vsix-scan/detectors/exfil-pattern.js +88 -88
- package/backend/vsix-scan/detectors/known-ioc.js +105 -105
- package/backend/vsix-scan/detectors/orphan-commit-fetch.js +69 -69
- package/backend/vsix-scan/detectors/publisher-anomaly.js +70 -70
- package/backend/vsix-scan/index.js +183 -183
- package/backend/vsix-scan/marketplace-client.js +145 -145
- package/backend/vsix-scan/vsix-iocs.json +31 -31
- package/cli/cli.js +458 -458
- package/package.json +74 -57
- package/.dockerignore +0 -20
- package/.husky/pre-commit +0 -1
- package/SECURITY.md +0 -73
- package/deploy/helm/npm-scan/Chart.yaml +0 -22
- package/deploy/helm/npm-scan/templates/_helpers.tpl +0 -9
- package/deploy/helm/npm-scan/templates/api.yaml +0 -94
- package/deploy/helm/npm-scan/templates/ingress.yaml +0 -28
- package/deploy/helm/npm-scan/templates/postgresql.yaml +0 -67
- package/deploy/helm/npm-scan/templates/secrets.yaml +0 -19
- package/deploy/helm/npm-scan/templates/worker.yaml +0 -32
- package/deploy/helm/npm-scan/values.byoc.yaml +0 -75
- package/deploy/helm/npm-scan/values.yaml +0 -103
- package/scripts/download-corpus.js +0 -30
- package/scripts/gen-mal-corpus.js +0 -35
- package/scripts/generate-campaign-fixtures.js +0 -170
- package/src/config/top-5000.json +0 -87
- package/test/fixtures/lockfiles/npm-lock.json +0 -69
- package/test/fixtures/lockfiles/pnpm-lock.yaml +0 -118
- package/test/fixtures/lockfiles/yarn.lock +0 -104
- package/test/fixtures/mock-data.js +0 -69
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lastUpdated": "2026-05-25",
|
|
3
|
-
"schema": "vsix-ioc-v1",
|
|
4
|
-
"iocs": [
|
|
5
|
-
{
|
|
6
|
-
"type": "extensionId",
|
|
7
|
-
"value": "nrwl.angular-console",
|
|
8
|
-
"maliciousVersions": ["18.95.0"],
|
|
9
|
-
"wave": "nx-console-wave3",
|
|
10
|
-
"cve": "CVE-2026-48027",
|
|
11
|
-
"exposureWindowStart": "2026-05-18T12:30:00Z",
|
|
12
|
-
"exposureWindowEnd": "2026-05-18T13:09:00Z",
|
|
13
|
-
"registries": ["marketplace", "open-vsx"],
|
|
14
|
-
"safeVersion": ">=18.100.0",
|
|
15
|
-
"source": "https://nx.dev/blog/nx-console-v18-95-0-postmortem"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "publisherAccount",
|
|
19
|
-
"value": "nrwl",
|
|
20
|
-
"compromiseWindowStart": "2026-05-11T00:00:00Z",
|
|
21
|
-
"compromiseWindowEnd": "2026-05-18T13:09:00Z",
|
|
22
|
-
"note": "Contributor token stolen via TanStack wave1 on May 11; 7-day dwell before publish"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "orphanCommitHash",
|
|
26
|
-
"value": "PLACEHOLDER_UPDATE_FROM_THREAT_INTEL",
|
|
27
|
-
"repo": "nrwl/nx",
|
|
28
|
-
"note": "Dangling commit hosting 498KB Bun payload — update hash from StepSecurity IOC report"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"lastUpdated": "2026-05-25",
|
|
3
|
+
"schema": "vsix-ioc-v1",
|
|
4
|
+
"iocs": [
|
|
5
|
+
{
|
|
6
|
+
"type": "extensionId",
|
|
7
|
+
"value": "nrwl.angular-console",
|
|
8
|
+
"maliciousVersions": ["18.95.0"],
|
|
9
|
+
"wave": "nx-console-wave3",
|
|
10
|
+
"cve": "CVE-2026-48027",
|
|
11
|
+
"exposureWindowStart": "2026-05-18T12:30:00Z",
|
|
12
|
+
"exposureWindowEnd": "2026-05-18T13:09:00Z",
|
|
13
|
+
"registries": ["marketplace", "open-vsx"],
|
|
14
|
+
"safeVersion": ">=18.100.0",
|
|
15
|
+
"source": "https://nx.dev/blog/nx-console-v18-95-0-postmortem"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "publisherAccount",
|
|
19
|
+
"value": "nrwl",
|
|
20
|
+
"compromiseWindowStart": "2026-05-11T00:00:00Z",
|
|
21
|
+
"compromiseWindowEnd": "2026-05-18T13:09:00Z",
|
|
22
|
+
"note": "Contributor token stolen via TanStack wave1 on May 11; 7-day dwell before publish"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "orphanCommitHash",
|
|
26
|
+
"value": "PLACEHOLDER_UPDATE_FROM_THREAT_INTEL",
|
|
27
|
+
"repo": "nrwl/nx",
|
|
28
|
+
"note": "Dangling commit hosting 498KB Bun payload — update hash from StepSecurity IOC report"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|