
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
EigenGen is a CLI LLM frontend for code generation with support for claude, gpt4 and llama3.1:70b.
EigenGen is a CLI Large Language Model frontend. It is designed for working with code. EigenGen uses a two-stage process where larger LLM is used to solve the task and produce dense output, which is then given to a smaller LLM which applies the changes and produces the complete file output. Finally this is then used to produce diffs which the user can choose to apply.
EigenGen currently works correctly with:
Note: Mistral Large seems to have some trouble working with the EigenGen prompting. Similar issues happen with all Mistral models regardless of size. Perhaps they require some distinctly different approach.
pip install eigengen
You must export your API key using:
export ANTHROPIC_API_KEY=<your-api-key>
or
export OPENAI_API_KEY=<your-api-key>
or
export GROQ_API_KEY=<your-api-key>
or
export GOOGLE_API_KEY=<your-api-key>
or
export MISTRAL_API_KEY=<your-api-key>
eigengen
executable, we provide egg
as well. It's shorter.EDITOR
environment variable to pick the text editor.alias egg='EDITOR="subl -w" egg -m gpt4'
alias egg='EDITOR="code -w" egg -m gpt4'
.Please install in edit mode like this:
python3 -m venv .venv
. .venv/bin/activate
pip install -e .
For testing install pytest.
# start a new chat pre-filling initial message from the command line
eigengen -g --chat -p "Please implement a TODO-list web app using react + javascript, thank you. Provide the full project directory structure, please. It should allow adding, editing and deleting entries."
By default eigengen uses claude-3-5-sonnet. In order to use OpenAI GPT4o model, please give --model, -m argument like this:
eigengen -m gpt4 -p "your prompt content"
FAQs
EigenGen is a CLI LLM frontend for code generation with support for claude, gpt4 and llama3.1:70b.
We found that eigengen 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.