Skip to content

Security: yepcode/smolagents

Security

SECURITY.md

Security Policy

Reporting a Vulnerability

To report a security vulnerability, please contact: security@huggingface.co

Learning More About Security

To learn more about running agents more securely, please see the Secure Code Execution tutorial which covers sandboxing with E2B, YepCode, Docker, and WebAssembly.

Secure Execution Options

smolagents provides several options for secure code execution:

  1. E2B Sandbox: Uses E2B to run code in a secure, isolated environment.

  2. YepCode Sandbox: Uses YepCode cloud-based serverless runtime for secure code execution with automatic package installation.

  3. Docker Sandbox: Runs code in an isolated Docker container.

  4. WebAssembly Sandbox: Executes Python code securely in a sandboxed WebAssembly environment using Pyodide and Deno's secure runtime.

We recommend using one of these sandboxed execution options when running untrusted code.

There aren’t any published security advisories