
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.
2xh-leet
Advanced tools
Library of Eclectic Experiments by Tenchi
Random modules that I made and use in several project and are too small to get their own package. A util library of sorts.
Module that provides a fancy-looking theme for Python loggers.
(TODO: Screenshot)
To enable, import leet.logging from anywhere (maybe the main __init__.py of your project). You will then have a global logger log function that you can use from anywhere:
log.info("Hello")
log.warn("World")
If using MyPy (or if you don't like monkeypatching) you can import the logger explicitly in each module as needed:
from leet.logging import log
log.info("Explicit import")
Also provides a progress bar (from WoLpH/python-progressbar) that fits in the theme:
from time import sleep
from leet.logging import log_progress
for i in log_progress.debug(range(10)):
sleep(1)
log.info("Working on %d..." % i)
Also supports outputing images via imgcat if using iTerm2 (support for other tools pending):
log.warn("Image is too big:", extras={"img": "path/to/image.png"})
FAQs
Library of Eclectic Experiments by Tenchi
We found that 2xh-leet 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.