
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.
hydra-ai-cli
Advanced tools
Hydra AI command-line tool for managing your Hydra API projects and their keys
npm install --global hydra-ai-cli
Hydra AI command-line tool
Usage
$ hydra <command> [options]
Commands
signup Sign up for a new Hydra AI account
login Log in to Hydra AI
listProjects List all projects for the user
createProject Create a new Hydra AI project
addProvider Add a provider to a project (default: OpenAI)
generateKey Generate an API key for a project
init Initialize a new Hydra AI project by creating a `hydra-config.ts` file
add Add a hydra component to your project
Examples
$ hydra signup
$ hydra login
$ hydra listProjects
$ hydra createProject
$ hydra addProvider --id <project_id>
$ hydra generateKey --id <project_id> --name <key_name>
$ hydra init --src <path_to_components_directory>
$ hydra add control-bar
Create a Hydra API account.
Log in to your Hydra API account.
Initialize a new Hydra API project. This will guide you through:
List all your Hydra API projects.
Adds an AI provider key for your project to use. For now, only add one, and it should be for openai.
Generate a new API key for your project that you can then use to call the Hydra API with. The "name" field can be any string, and is not used internally.
Initialize a new Hydra AI project by creating a hydra-config.ts file. The src argument is the path to the directory containing your components.
Add a hydra component to your project.
FAQs
Hydra AI command-line tool
We found that hydra-ai-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
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.