fix(deps): bump protobufjs to 7.6.6 in the Defender plugins
Why
Aikido issue group 26613808 (protobufjs, critical) flags both Defender plugins: stackone-defender and stackone-defender-antigravity pin protobufjs 7.6.5 through npm overrides, and Aikido's fixed version is 7.6.6. protobufjs reaches the tree through @huggingface/transformers 3.8.1 > onnxruntime-web. The hook installs these dependencies on user machines with npm install --prefix <plugin root>, so the lockfile in this repo is what users run. Reachability is low: in Node, inference runs on onnxruntime-node and the Node bundle of onnxruntime-web does not load protobufjs, but the vulnerable package is still installed. Tracked as SEC-295.
The bundled Aikido group 35590112 (nanoid, high) needs no change: both trees already resolve nanoid 3.3.18, which is the patched 3.x release for every advisory in that group (GHSA-xwg4-73v4-xw9w fixed in 3.3.12, GHSA-28wg-ghj8-5hjv in 3.3.16, GHSA-2v37-7h3g-55p8 in 3.3.18). Aikido's suggested 5.1.16 is the fix on the 5.x line.
What changed
plugins/security/stackone-defender/package.jsonandpackage-lock.json: protobufjs override 7.6.5 to 7.6.6, lockfile regenerated (only the protobufjs entry changes).plugins/security/stackone-defender-antigravity/package.jsonandpackage-lock.json: the same override bump.plugins/security/stackone-defender-antigravity/plugin.json,package.json: version 2.5.1 to 2.5.2. This plugin is versioned outside release-please, so the bump is what lets existing installs refresh. The Claude Code plugin gets its version from the release-please PR thisfix(deps)commit feeds.
Proof
| Check | Before (main 24cd09f) | After (this branch) |
|---|---|---|
node_modules/protobufjs in stackone-defender lockfile | 7.6.5 | 7.6.6 (protobufjs-7.6.6.tgz, sha512-dYDWdjSl5RNb...) |
node_modules/protobufjs in stackone-defender-antigravity lockfile | 7.6.5 | 7.6.6 |
npm ls protobufjs | one copy, 7.6.5 overridden | one copy, 7.6.6 overridden |
npm ls nanoid | 3.3.18 overridden | 3.3.18 overridden (unchanged) |
npm ci && npm test, stackone-defender | 24/25 | 24/25 (same test fails locally on both: benign/long-natural-language.txt, an ML score threshold; CI on main is green) |
npm ci && npm test, stackone-defender-antigravity | 12/12 | 12/12 |
protobufjs 7.6.5 to 7.6.6 diff: only src/decoder.js, src/reader.js and src/wrappers.js change (length bounds checks that throw RangeError on malformed input). The postinstall script is byte-identical to 7.6.5 and the dependency list is unchanged.
Existing installs pick the fix up: scripts/deps-fingerprint.mjs hashes overrides and the lockfile, so the hook reinstalls and replaces a stale daemon once the new plugin version lands.
Risk and rollback
Patch release of a transitive dependency that the Node runtime path does not load. Rollback is reverting this PR.
What we will watch after deploy
The plugins run on user machines, so there is no service log to watch. After merge: the release-please PR carries the Claude Code plugin bump; the Aikido rescan of this repo should drop agent-plugins from group 26613808.
Opened by Security Autopilot (s2d2) for Guillaume Lebedel from Aikido issue 26613808, under the automatic Aikido fix approval of 2026-11-01.
🤖 Generated with Claude Code
Summary by cubic
Bumps the protobufjs override from 7.6.5 to 7.6.6 in both Defender plugins to resolve Aikido issue group 26613808 (critical), and bumps stackone-defender-antigravity to 2.5.2 so existing installs refresh. protobufjs reaches the tree through @huggingface/transformers > onnxruntime-web, and this repo's lockfile is what users install.
Notes
- Reachability is low: Node inference uses
onnxruntime-node, which doesn't load protobufjs, but the vulnerable package is still installed. - The bundled nanoid group needs no change: both trees already resolve 3.3.18, the patched 3.x release for all advisories in the group.
- The 7.6.6 diff only changes length-bounds checks that throw
RangeErroron malformed input; rollback is a revert of this PR.
Review gates and proof
Recorded by s2d2 on 3691ad9. Kind of change: code.
| gate | result |
|---|---|
| forge | ran |
| security_scan | ran |
| codex_security | ran |
| security_review | ran |
| code_review | ran |
| eng_review | not run |
| demo | not run |
| local_stack | ran |