
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
ruuid
Advanced tools
A fast UUID generator for Python built using Rust. Its a simple wrapper on top of Rust's UUID crate.
pip3 install ruuid==0.3.0 --force --no-cache
import ruuid
ruuid.uuid4()
'7a1ef475-904c-4d53-8985-528d09d57414'
Tests ran on an M1 macbook air with 8 GB of RAM and Python 3.9
from ruuid import uuid4, simple
%timeit simple()
327 ns ± 0.442 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
%timeit uuid4()
348 ns ± 0.707 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
from uuid import uuid4
%timeit uuid4()
1.1 µs ± 2.91 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
uuid4() - random UUID4 stringsimple() - formatted simple string of UUID4hyphenated() - hyphenated UUID4 stringnil() - a uuid with all zerosurn() - uuid4 as a URN stringFAQs
A fast UUID generator for Python using Rust
We found that ruuid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.