Skip to content

Commit 7efb9c9

Browse files
authored
Pin @asyncapi/specs to 6.11.1 (supply chain attack in 6.11.2) (#816)
* Pin @asyncapi/specs to 6.11.1 via overrides @asyncapi/specs 6.11.2 and 6.11.2-alpha.1 (published 2026-07-14) contain malware (asyncapi/spec-json-schemas#656). @stoplight/spectral-rulesets declares ^6.8.0 on it, so any fresh resolution pulls the compromised version while it remains tagged latest on npm. Pin the transitive dependency to the last clean release — via pnpm.overrides for pnpm and a top-level overrides field for npm/Bun — and bump the patch version. Note: overrides only apply at the root of an install, so this protects builds of this repo, not consumers of the published package; their protection is npm removing the malicious versions. * Update @geonovum/standards-checker to 1.1.5 Picks up the release that pins @asyncapi/specs to 6.11.1 (Geonovum/standards-checker#67). The re-resolved subtree keeps @asyncapi/specs at 6.11.1 under this repo's own overrides pin.
1 parent 7de1d4b commit 7efb9c9

2 files changed

Lines changed: 23 additions & 12 deletions

File tree

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@geonovum/ogc-checker",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"packageManager": "pnpm@10.33.0",
55
"license": "EUPL-1.2",
66
"repository": {
@@ -31,7 +31,7 @@
3131
},
3232
"prettier": "@geonovum/standards-checker/prettier",
3333
"dependencies": {
34-
"@geonovum/standards-checker": "^1.1.4",
34+
"@geonovum/standards-checker": "^1.1.5",
3535
"luxon": "^3.7.2",
3636
"ramda": "^0.32.0",
3737
"react": "^19.2.7",
@@ -47,5 +47,13 @@
4747
"typescript": "^6.0.3",
4848
"vite": "^8.1.4",
4949
"vitest": "^4.1.10"
50+
},
51+
"overrides": {
52+
"@asyncapi/specs": "6.11.1"
53+
},
54+
"pnpm": {
55+
"overrides": {
56+
"@asyncapi/specs": "6.11.1"
57+
}
5058
}
5159
}

pnpm-lock.yaml

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)