
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.
@factory/cli
Advanced tools
The power of Factory in your terminal
npm install -g @factory/cli
If the droid command is not found after installing, your npm global bin directory may not be in your PATH. Run the following to fix it:
# For zsh (macOS default)
echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
# For bash (Linux)
echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
# For bash (macOS)
echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile
# For fish
echo 'fish_add_path "$(npm prefix -g)/bin"' >> ~/.config/fish/config.fish && source ~/.config/fish/config.fish
On Windows, run in PowerShell:
[Environment]::SetEnvironmentVariable('Path', $env:PATH + ';' + (npm prefix -g), 'User')
Then restart your terminal.
Then navigate to your project and start the droid CLI:
cd /path/to/your/project
droid
You're now connected to Factory's development agent from your terminal.
Quick tip: Press
!to toggle bash mode and run shell commands directly without AI interpretation. PressEscto return to normal mode.
Fetch the complete documentation index at: https://docs.factory.ai/llms.txt
FAQs
Factory Droid CLI - AI-powered software engineering agent
The npm package @factory/cli receives a total of 1,354 weekly downloads. As such, @factory/cli popularity was classified as popular.
We found that @factory/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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.