← 返回
未分类

Agent SecuritySandbox

Execute untrusted code or commands in a secure, isolated Docker environment. Use when asked to run unknown scripts, third-party skills, or any code that migh...
在安全的隔离 Docker 环境中执行不受信任的代码或命令,用于运行未知脚本、第三方技能或可能有风险的代码。
assix
未分类 clawhub v1.0.0 1 版本 99598.4 Key: 无需
★ 0
Stars
📥 248
下载
💾 0
安装
1
版本
#latest

概述

Multi-Agent Security Sandbox (MASS)

Overview

This skill provides a secure "clean room" for executing and monitoring untrusted commands and code. It uses Docker with restricted capabilities, no network access, and a custom seccomp profile to isolate the execution from your host system.

When to Use

  • When asked to run a script or command from an untrusted source.
  • When testing a new agent skill that requires system access.
  • When you need to verify the behavior of code that might be malicious.

Workflow

1. Identify Untrusted Input

Determine if the command or script you are asked to run should be sandboxed.

2. Run in Sandbox

Use the mass script located in the skill's scripts/ directory to wrap the command.

Usage:

./scripts/mass "<command>"

Example:

To run a suspicious Python script:

./scripts/mass "python3 untrusted_script.py"

3. Review Output

The mass tool will return the stdout and stderr from the sandbox. If the command was blocked by security policies (e.g., trying to access sensitive files or making network calls), the output will reflect the failure.

Security Features

  • Capabilities Dropped: All Linux capabilities are dropped (--cap-drop=ALL).
  • No Network: Network access is disabled by default (--network=none).
  • Non-Root User: Code runs as sandboxuser.
  • Syscall Filtering: Sensitive system calls are blocked via seccomp.json.

Limitations

  • No GUI: The sandbox is CLI-only.
  • Persistence: Any changes made inside the container are lost after execution (--rm).
  • Dependencies: Only tools installed in the Dockerfile are available.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-11 05:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

HomeNetworkSecurityAgent

assix
审计本地网络基础设施,识别活动主机,并扫描网关/公网IP的开放端口和漏洞。
★ 0 📥 354

Sanfrancisco Today Festivalevents Agent

assix
采集、索引并搜索旧金山的今日节日和活动。
★ 0 📥 385

IdentityMonitoringAgent

assix
OSINT 哨兵,在公开网络上监控邮件泄露、用户名足迹和身份泄露,无需 API 密钥。
★ 0 📥 435