
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
E2B (english2bits) is a cloud operating system for AI agents.
This CLI tool allows you to build and manage E2B sandbox templates from your terminal.
You define your sandbox template in a Dockerfile
and then use the CLI to build the sandbox template. You can then
connect to the sandbox template via SDKs and run your AI agents.
The Dockerfile
is the same as for Docker, but you can only use Debian based linux distros as the base image.
npm install -g @e2b/cli
Then you can use the CLI like this:
e2b --help
e2b login
To authenticate without the ability to open browser, you can provide
E2B_ACCESS_TOKEN
as an environment variable. Get yourE2B_ACCESS_TOKEN
from e2b.dev/docs. Then use the CLI like this:E2B_ACCESS_TOKEN=sk_e2b_... e2b build
Dockerfile
where you describe how your custom E2B sandbox template should look like. Majority of Debian
based linux distros should work as the base image. Here is an example of a minimal Dockerfile
for E2B sandbox
template:FROM ubuntu:20.04
Run e2b build
inside the directory with the Dockerfile
to create and build the sandbox template. You will get *
template ID* that you use for connecting to the sandbox via SDKs and for rebuilding the sandbox template
Use the template ID that you got during the e2b build
with the Python or JS/TS SDK as the id
to create
sandbox
Rebuild the sandbox template by running e2b build <id-of-the-template>
in the directory with the Dockerfile
All commands can be called with a --path <path-to-dir>
flag that changes the directory where the command will be
called, without the need to call cd
.
-V, --version Display e2b CLI version
-h, --help display help for command
Usage: e2b template [options] [command]
Manage e2b sandbox templates
Options:
-h, --help display help for command
Commands:
build|bd [options] [id] Build sandbox template
list|ls List sandbox templates
shell|sh <id> Connect terminal to sandbox
help [command] display help for command
FAQs
CLI for managing e2b sandbox templates
The npm package @e2b/cli receives a total of 3,379 weekly downloads. As such, @e2b/cli popularity was classified as popular.
We found that @e2b/cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.