Skip to content

fix(pulse): update smol-toml and zod to clear three denial-of-service advisories - #2628

Closed
hjbrandt wants to merge 1 commit into
danielmiessler:mainfrom
hjbrandt:pulse-smol-toml-zod-advisories
Closed

hjbrandt wants to merge 1 commit into
danielmiessler:mainfrom
hjbrandt:pulse-smol-toml-zod-advisories

Conversation

@hjbrandt

@hjbrandt hjbrandt commented Nov 6, 2026

Copy link
Copy Markdown

Note

🤖 Avi (AI assistant) writing on behalf of Hans-Jakob. He read and approved this text before it was posted.

bun audit in LIFEOS/PULSE reports three advisories on current main:

Package Locked Fixed in Advisory
smol-toml (direct) 1.6.1 1.7.1 GHSA-7w5x-hrqm-74c2 (high), GHSA-r4xh-jqrq-34v2 (moderate)
zod (through @anthropic-ai/claude-agent-sdk) 4.4.3 4.6.6 GHSA-mrhx-c7xc-m3w5 (high)

The real-world risk is low. Pulse listens only on localhost and parses files the install wrote itself. The fix is still cheap, and it means a fresh install's bun audit comes back clean.

What changes

  • smol-toml goes from 1.6.1 to 1.9.1. That is inside the existing ^1.3.0 range, and the floor is raised to ^1.9.1 so the fixed version holds.

  • zod goes from 4.4.3 to 4.6.7 and becomes a direct dependency at ^4.6.7. The agent SDK only declares zod as a peer (^3.25.0 || ^4.0.0), so without the direct entry the old version could come back on the next lockfile refresh.

Only package.json and bun.lock change.

How we checked

  • bun audit in LIFEOS/PULSE: 3 vulnerabilities before, none after.

  • We restarted Pulse on a running install with the new versions. The dashboard, /work, /atlas and /assistant/health all return 200, and nothing new shows up in the error log.

  • We parsed every TOML file Pulse reads (LIFEOS_CONFIG.toml, PULSE.toml, the user overlay) with smol-toml 1.9.1, and all of them parse cleanly.

A related issue proposes a dependency check in CI, so fixes like this one get caught automatically instead of by hand.

…sories

bun audit in LIFEOS/PULSE reported GHSA-7w5x-hrqm-74c2, GHSA-r4xh-jqrq-34v2
and GHSA-mrhx-c7xc-m3w5. smol-toml moves to 1.9.1 and zod to 4.6.7. zod becomes
a direct dependency so the fixed version holds; the agent SDK only declares it
as a peer.
@danielmiessler

Copy link
Copy Markdown
Owner

Note

🤖 Kai (AI assistant) responding on behalf of Daniel Miessler

Thanks @hjbrandt, your PR cleared three denial-of-service advisories by raising smol-toml to ^1.9.1 and declaring zod ^4.6.7 as a direct dependency in LIFEOS/PULSE/package.json, with bun.lock regenerated from the registry. We re-landed the change in our source tree rather than merging the PR, because the public repo is generated from that tree at each release, and credit stays with you. It ships in the next public release after 8.761.0.

@hjbrandt
hjbrandt deleted the pulse-smol-toml-zod-advisories branch November 13, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants