Skip to content

fix: bump superjson to v2 to resolve copy-anything vulnerability - #59

Merged
davidkpiano merged 1 commit into
statelyai:mainfrom
gejustin:gjustin/bump-superjson-2
Aug 18, 2026
Merged

davidkpiano merged 1 commit into
statelyai:mainfrom
gejustin:gjustin/bump-superjson-2

Conversation

@gejustin

@gejustin gejustin commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Aikido flagged this for me at work. I ended up using a yarn resolution to push it through, but this seemed like an easy bump.

Bumps superjson from ^1.13.3 to ^2.2.6.

superjson 1.x pulls in a vulnerable version of copy-anything transitively (AIKIDO-2025-10177). superjson 2.x pins copy-anything@^4, which resolves it.

No API changes needed — the only usage in this package is stringify from superjson in src/createSkyInspector.ts, which is unchanged between v1 and v2.

@gejustin
gejustin marked this pull request as ready for review August 18, 2026 18:46

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@gejustin
gejustin force-pushed the gjustin/bump-superjson-2 branch from 652a3fe to c9ee51f Compare August 18, 2026 18:48
@gejustin
gejustin marked this pull request as draft August 18, 2026 18:50
superjson 1.x pulls in a vulnerable version of copy-anything transitively
(AIKIDO-2025-10177). superjson 2.x pins copy-anything@^4, which resolves it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@gejustin
gejustin force-pushed the gjustin/bump-superjson-2 branch from c9ee51f to ccbf116 Compare August 18, 2026 18:51
@gejustin
gejustin marked this pull request as ready for review August 18, 2026 18:52
@davidkpiano
davidkpiano merged commit 8624f3b into statelyai:main Aug 18, 2026
1 of 2 checks passed
@gejustin
gejustin deleted the gjustin/bump-superjson-2 branch August 18, 2026 19:06
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