
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.
@lenml/apply_edits
Advanced tools
A CLI tool for batch file editing with SEARCH/REPLACE and MATCH/REPLACE patterns, supporting atomic transactions and cross-platform compatibility. Designed for AI coding assistants like Codex.
Global CLI tool for batch file editing with SEARCH/REPLACE and MATCH/REPLACE patterns. Atomic transactions, sequential same-file simulation, encoding auto-detection.
Windows PowerShell Note: PowerShell 5 (
powershell.exe) defaults to UTF-16 LE when piping, which breaks encoding. Upgrade to PowerShell 7+ (pwsh.exe). On PS5, pipe from a UTF-8 file instead of using here-strings.
npm install -g @lenml/apply_edits
See SKILL.md for full documentation — command format, MATCH mode, multiple files, error handling, and API.
Tip: Code fences around blocks are optional. The autofixer adds them if missing.
Basic example (PowerShell 7+):
apply-edits --workspace . @'
src/main.py
<<<<<<< SEARCH
print("hello")
=======
print("hello world")
>>>>>>> REPLACE
'@
Or via heredoc (Bash):
apply-edits --workspace . << 'EOF'
src/main.py
<<<<<<< SEARCH
print("hello")
=======
print("hello world")
>>>>>>> REPLACE
EOF
Send this message to your AI coding agent:
install it: https://raw.githubusercontent.com/lenML/apply_edits_tool/refs/heads/main/skill/SKILL.md
Or via CDN:
install it: https://cdn.jsdelivr.net/npm/@lenml/apply_edits/skill/SKILL.md
install it: https://unpkg.com/@lenml/apply_edits/skill/SKILL.md
FAQs
A CLI tool for batch file editing with SEARCH/REPLACE and MATCH/REPLACE patterns, supporting atomic transactions and cross-platform compatibility. Designed for AI coding assistants like Codex.
We found that @lenml/apply_edits 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
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.