
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
An opinionated SQL formatter.
go install mibk.dev/sqlfmt@latest
sqlfmt [-w] [-s] [path ...]
Without arguments, sqlfmt reads from stdin and writes the formatted output to stdout.
When given file or directory paths, it processes them and prints the result.
With directories, it recursively formats all .sql files.
Flags:
-w — write result to the source file instead of stdout-s — simplify codeBefore:
SELECT
p . id , DATE_FORMAT ( p.date ,'%Y-%m-%d' ) AS datestr
FROM purchase p
JOIN building b ON p.station_id=b.id
WHERE p.user_id IN (
select user_id From registry
Where registered <= curdate()
)
ORDER BY p.date ;
After:
SELECT
p.id, DATE_FORMAT(p.date, '%Y-%m-%d') AS datestr
FROM purchase p
JOIN building b ON p.station_id = b.id
WHERE p.user_id IN (
SELECT user_id
FROM registry
WHERE registered <= CURDATE()
)
ORDER BY p.date;
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.