Skip to content
Back to skills

Microsoft Mxc

ASecurity

Microsoft eXecution Container — sandboxed execution cho untrusted code (model output, plugins, tools). Policy-driven, cross-platform (Win/Linux/macOS), TypeScript SDK, Rust binary.

  • 10 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
ai-agentstypescriptpythonrustbashnodegitbackendci/cdsecurity

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 9, 2026

npx -y skills add yanacuti1121/Yana-AI --skill microsoft--mxc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Microsoft Mxc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Microsoft  Mxc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yanacuti1121-microsoft-mxc/badge)](https://www.skillsdirectory.com/skills/yanacuti1121-microsoft-mxc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: microsoft--mxc
description: "Microsoft eXecution Container — sandboxed execution cho untrusted code (model output, plugins, tools). Policy-driven, cross-platform (Win/Linux/macOS), TypeScript SDK, Rust binary."
allowed-tools: Bash, Read, Write
user-invocable: true
---

MXC (Microsoft eXecution Container): chạy code không tin tưởng — model output, plugins, tools — trong sandbox có policy granular. Cross-platform, multiple isolation backends.

## Install

```bash
npm install @microsoft/mxc-sdk
```

## Usage (TypeScript SDK)

```typescript
import { MXCClient } from '@microsoft/mxc-sdk'

const client = new MXCClient()

const result = await client.exec({
  command: ['python', 'untrusted_script.py'],
  filesystem: {
    readOnly: ['/data/input'],
    readWrite: ['/tmp/output']
  },
  network: {
    outbound: false  // no network access
  },
  timeout: 30000
})
```

## JSON Config Schema (v0.6.0-alpha)

```json
{
  "version": "0.6.0-alpha",
  "command": ["node", "agent_generated_code.js"],
  "filesystem": {
    "readOnly": ["./context"],
    "readWrite": ["./output"]
  },
  "network": {
    "proxy": null,
    "outbound": false
  },
  "timeout": 30
}
```

## Isolation Backends

| Backend | Platform | Strength |
|---------|----------|----------|
| ProcessContainer | Windows (default) | lightweight |
| Bubblewrap | Linux (default) | namespace isolation |
| Seatbelt | macOS (default) | sandbox profiles |
| Windows Sandbox | Windows | full VM-lite |
| LXC | Linux | container |
| MicroVM (NanVix) | Linux | full VM |
| Hyperlight | Cross | micro-VM |

## Sandbox Lifecycle

```
provision → start → exec → stop → deprovision
```

Hỗ trợ long-running sessions, không chỉ one-shot.

## Dùng khi nào

- Chạy model-generated code an toàn
- Sandbox plugin/tool calls của agent
- CI/CD: test untrusted PR code
- Security research: execute malware sample

## Caveat

> "No MXC profiles should be treated as security boundaries currently"
Đang alpha — dùng cho dev/research, không dùng làm hard security boundary.

## Source

https://github.com/microsoft/mxc · MIT · +64⭐ today

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.