BLA
BLA (Blind LLM Agents) is the open-source Blue Defense MCP and CLI built to protect software artifacts against automated AI reverse-engineering workflows.
翻譯準備中
Policy-driven, layered isolation and containment
翻譯準備中
安全Rust · TypeScriptGitHub @microsoft自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗MXC is a sandboxed code execution system for running untrusted code (model output, plugins, and tools) on Windows, Linux, and macOS. It provides multiple containment backends, from OS-native process sandboxes to full VMs, behind a unified containment model and typed SDKs.
MXC is an SDK dependency that builds into your app.
flowchart LR
App["Your application<br/>Launch API"] --> SDK["MXC SDK<br/>Rust / .NET / Node<br/>(in process)"]
SDK --> Backend["Selected backend<br/>(in process)"]
Backend --> Container["Isolated workload<br/>ProcessContainer / WSLC / Bubblewrap / ..."]
Your application specifies:
MXC validates the request, selects the backend, and launches the workload in the resulting container.
MXC runs workloads through platform-appropriate container backends on Windows, Linux, and macOS.
| Runtime platform | Default backend | Other backends | Minimum host OS |
|---|---|---|---|
| Windows 11 x64 / ARM64 | processcontainer | windows_sandbox*, wslc, microvm*, hyperlight*, isolation_session | Windows OS-version support |
| Linux x64 / ARM64 | bubblewrap | lxc, hyperlight | - |
| macOS ARM64 / x64 | seatbelt | - | - |
* These backends are experimental. MicroVM is currently available on Windows x64 only.
Install an SDK through your package manager. You do not need to clone this repository.
| SDK | Package |
|---|---|
| Rust | https://crates.io/crates/mxc-sdk |
| .NET | https://www.nuget.org/packages/Microsoft.Mxc.Sdk |
| Node | https://www.npmjs.com/package/@microsoft/mxc-sdk |
The Node and .NET packages include the native runtime assets. The Rust crate builds the MXC SDK, engine, and selected backends into the consuming application.
Non-SDK consumption: Platform-specific executor binaries, such as
wxc-exec.exe, accept JSON container-creation requests defined by the
stable schema. Use for testing or when the
SDK cannot be embedded in your app.
For complete SDK samples, see the Rust, .NET, and Node samples.
import { spawn, type ContainerRequest } from '@microsoft/mxc-sdk/v1';
const request: ContainerRequest = {
command: 'node -e "console.log(\'hello from container\')"',
network: { egress: { default: 'deny' } },
timeoutMs: 30_000,
};
const child = await spawn(request);
See the runnable streaming standard-I/O sample and the SDK API reference.
Your application will hit access issues when running in a sandbox, until you've had time to tune your containment rules. We're here to help.
Native executors normally reserve standard input, output, and error for the
workload. Use --debug for MXC diagnostic output:
wxc-exec.exe --debug config.json
See MXC diagnostics for the complete developer reference.
Warning:
--auditturns off all sandbox security for the workload being analyzed. Never use it to run untrusted code.
Audit mode helps a policy author find access-denied failures and reconstruct a ProcessContainer policy that grants the files and capabilities a trusted tool actually needs. On supported Windows releases, run:
wxc-exec.exe --audit policy.json
MXC records the observed accesses and produces policy-authoring artifacts. See logging access denied for safe deny-and-record diagnostics, audit outputs, and supported workflows.
Official Microsoft builds can send optional diagnostic telemetry to Microsoft. Telemetry is off unless the individual run opts in, the Windows user has explicitly consented, administrative policy permits collection, and your application enables the telemetry option in a contained workload request. An administrator can block telemetry but cannot grant consent for the user.
Local open-source builds are not configured to route telemetry to Microsoft, and telemetry is a no-op on non-Windows platforms. See telemetry policy and consent for controls and privacy details.
Build from source when developing MXC, changing the native runtime, or using the standalone executor binaries instead of a packaged SDK. Repository builds produce the platform-native runtime and executors and stage the native assets used by the Node SDK.
Build prerequisites are:
src/rust-toolchain.tomlbuild.bat --all # Release build for current architecture
./build.sh --all # Release build
./build-mac.sh --all # Release build for native architecture
| Document | Repository location | Purpose |
|---|---|---|
| Terminology | docs/glossary.md | Plain-English definitions of consumer terms |
| SDK samples | samples/ | Runnable Rust, .NET, and Node scenarios |
| SDK API reference | docs/api-reference/ | Supported V1 operations and types |
| Container lifecycle | docs/container-lifecycle.md | Persistent container lifecycle overview |
| Logging access denied | docs/logging-access-denied.md | Diagnose blocked accesses and author policy |
| Telemetry | docs/telemetry.md | Consent and administrative controls |
| Backend guides | docs/backends/ | Platform and backend prerequisites and behavior |
Repository contributors should start with the MXC development documentation.
See CONTRIBUTING.md for contribution guidelines.
See LICENSE.md for details.