⚡ DROS™ VajraClaw (Hacker Edition): Free Multi-Agent Runtime Security & Docker Governance Gateway with W3C DID & <1μs Enforcement
15
stars
13
commits
Python
primary language
Sep 8, 2026
updated
English | 繁體中文說明 | 🌐 Official Website
DROS VajraClaw Hacker Edition is the official standalone, free Docker governance gateway designed for individual developers, AI researchers, and local developer workstations. It physicalizes execution security between autonomous AI Agents (Google Antigravity, Anthropic Claude, OpenAI Codex, Cursor, CrewAI, AutoGen, DeepSeek Harness) and your local operating system.
Probabilistic security relying on Prompt Engineering, Llama-Guard, or LLM-as-a-judge inevitably fails at runtime:
rm -rf / or leaking .env secrets.DROS is NOT a prompt wrapper; it is a Deterministic Runtime OS:
It moves intelligence to compile-time (demo_policy.yaml / Vajra.md) and enforces rules at runtime via constant-time $\mathcal{O}(1)$ memory bitmaps with instant physical fusing (Strict Fail-Closed)!
did:key & RFC-010 Passports: Cryptographic agent identity binding with Ed25519 signatures.| Threat Vector / Capability | Traditional LLM Guardrails | 📦 DSH Standalone TS Plugin | ⚡ DROS Hacker Docker Gateway (This Repo) | 🏢 Enterprise / Mesh Tier |
|---|---|---|---|---|
| Runtime Vehicle | Cloud API / External Model | In-Process JS (Zero Deps) | Local Docker Container (:8080) | Enterprise Cluster / K8s / C-ABI |
| Protected Scope | Single Chat Session | DSH Local Process | Full Ecosystem (Claude+Codex+Cursor+DSH+AGY) | Multi-Node Fleet / Private Cloud |
| Destructive Command Blocking | ❌ Vulnerable | 🟢 100% Regex Failsafe | 🟢 100% Deterministic AST Fusing (<1μs) | 🟢 AST Bitmaps + eBPF Kernel Hooks |
| Credential & Secret Protection | ❌ No Physical Guard | 🟢 Sensitive Path Block | 🟢 Dynamic PII Redaction + Virtual Sandboxing | 🟢 Hardware HSM + ZKP-Lite Proofs |
| Agent Identity Binding | ❌ No Identity | 🟡 Session-level ID | 🟢 Native W3C did:key (Ed25519) | 🟢 3-Tier PKI DrosIdentityToken (DIT) |
| Non-Repudiable Audit Chain | ❌ Plain Text Logs | 🟢 Local SHA-256 Hash Chain | 🟢 Ed25519 Signed Merkle Hash Chain | 🟢 EU AI Act Art. 12 Court-Grade Chain |
| RFC-010 Passports | ❌ Unsupported | 🟡 Format Parser | 🟢 Local Minting & Cross-Agent Verification | 🟢 Cross-Organization Roaming Passports |
| Decision Latency | 🔴 1,000 ~ 3,000 ms | 🟢 <1 ms (Direct Hook) | 🟢 <1 ms (Loopback HTTP / C-ABI) | 🟢 <500 ns (Zero-Copy Memory Lookup) |
| License | Pay-per-Token | 100% Free (Apache-2.0) | Free License for Individuals | Startup $2,990 / Enterprise $29,990 |
# 1. Start DROS Hacker Gateway (No license key required out-of-the-box)
docker run -d -p 8080:8080 --name dros-gateway \
-v $(pwd)/FreeTrial-Sandbox/demo_policy.yaml:/app/demo_policy.yaml \
dros/hacker-gateway:v1.0.0
# 2. Verify health status
curl http://localhost:8080/health
git clone https://github.com/Top-Celestial-Company-Ltd/DROS-VajraClaw-Hacker.git
cd DROS-VajraClaw-Hacker
docker compose -f docker/docker-compose.yml up -d
See examples/ for working starter templates:
See examples/claude_mcp/:
Add to your claude_desktop_config.json or mcp_settings.json:
{
"mcpServers": {
"dros-vajraclaw": {
"url": "http://localhost:8080/mcp",
"transport": "http"
}
}
}
See examples/cursor_rules/:
Place .cursorrules in your project root to intercept high-risk terminal commands via http://localhost:8080/evaluate in <1μs before OS execution!
See examples/openai_langchain/:
from integrations.vajraclaw.runtime import VajraClaw
vc = VajraClaw("demo_policy.yaml")
decision = vc.evaluate("execute_payment", {"amount": 500})
if not decision:
raise PermissionError(f"Blocked by DROS: {decision.reason}")
See examples/crewai_autogen/:
Assign individual W3C DIDs to different agent roles (Legal, Dev, Auditor) and enforce fine-grained capability bitmaps across agent swarms.
See examples/dsh_plugin/:
dsh plugin --profile web add dsh-plugin-vajraclaw
(Set gatewayUrl to http://localhost:8080 in DSH to activate W3C DID & full Docker gateway governance)
DROS supports two straightforward formats: Intuitive Markdown (Vajra.md) and Structured YAML (demo_policy.yaml).
Vajra.md)Declare allowed capabilities and hard security boundaries in plain Markdown:
# 🛡️ DROS Agent Security Policy (Vajra.md)
## 1. Allowed Capabilities
- Allow reading workspace files (`file_read`)
- Allow standard queries (`search_web`, `query_db`)
- Allow safe terminal commands (`git status`, `npm test`, `cargo check`)
## 2. Strict Fail-Closed Boundaries
- Block all recursive deletion or wiping commands (`rm -rf`, `rmdir /s`, `format`)
- Block access to credential paths (`.env`, `id_rsa`, `secrets.json`, `.aws/credentials`)
- Restrict transaction amounts exceeding $1,000 threshold (`amount <= 1000`)
You don't need to write policies from scratch! Copy the following universal prompt to ChatGPT, Claude, or Cursor:
📋 Copy this Prompt to any LLM / AI Assistant:
You are a DROS deterministic security architecture expert. Based on my Agent requirements, generate a standard DROS "Vajra.md" security policy in Markdown. Agent Details: - Agent Role & Scenario: [e.g., Fullstack Developer / Customer Service / Financial Automation] - Allowed Tools & Operations: [e.g., Read/Write src/, Run tests, Query order database] - Strict Boundaries & Denials: [e.g., Block deletion of root/workspace, Block .env access, Payment limit $500] Follow the DROS "Default Fail-Closed" whitelist principle and structure the output into: 1. Role & Capability Scope 2. Allowed Capabilities (Whitelist) 3. Security Boundary Constraints (Thresholds & Pattern Failsafes)
Simply mount your Vajra.md when launching the Docker gateway. Policy changes take effect in <1 microsecond without container restarts:
docker run -d -p 8080:8080 --name dros-gateway \
-v $(pwd)/Vajra.md:/app/demo_policy.yaml \
dros/hacker-gateway:v1.0.0
The deterministic execution governance, microsecond fusing, and cryptographic audit mechanisms in this project are referenced from and build upon the following core technical papers and verification environments:
Core Architecture & Six Trust Boundaries (Core Architecture):
10.5281/zenodo.21833970 | Archived Record: zenodo.org/records/21833970Defense-in-Depth Model (4-Layer Security):
10.5281/zenodo.21903475 | Archived Record: zenodo.org/records/21903475Runtime Attribution & C-ABI Module (Attribution Framework):
10.5281/zenodo.21903687 | Archived Record: zenodo.org/records/21903687Open Standards & Verification Sandbox:
did:key & Ed25519 signature chain).ALLOW in demo_policy.yaml is permanently blocked.-e DROS_LICENSE_KEY="your-key" or activate via DSH settings.13 commits
Python
87.7%
Go
9.1%
C++
1.8%
⚡ DROS™ VajraClaw (Hacker Edition): Free Multi-Agent Runtime Security & Docker Governance Gateway with W3C DID & <1μs Enforcement
15
stars
13
commits
Python
primary language
Sep 8, 2026
updated
English | 繁體中文說明 | 🌐 Official Website
DROS VajraClaw Hacker Edition is the official standalone, free Docker governance gateway designed for individual developers, AI researchers, and local developer workstations. It physicalizes execution security between autonomous AI Agents (Google Antigravity, Anthropic Claude, OpenAI Codex, Cursor, CrewAI, AutoGen, DeepSeek Harness) and your local operating system.
Probabilistic security relying on Prompt Engineering, Llama-Guard, or LLM-as-a-judge inevitably fails at runtime:
rm -rf / or leaking .env secrets.DROS is NOT a prompt wrapper; it is a Deterministic Runtime OS:
It moves intelligence to compile-time (demo_policy.yaml / Vajra.md) and enforces rules at runtime via constant-time $\mathcal{O}(1)$ memory bitmaps with instant physical fusing (Strict Fail-Closed)!
did:key & RFC-010 Passports: Cryptographic agent identity binding with Ed25519 signatures.| Threat Vector / Capability | Traditional LLM Guardrails | 📦 DSH Standalone TS Plugin | ⚡ DROS Hacker Docker Gateway (This Repo) | 🏢 Enterprise / Mesh Tier |
|---|---|---|---|---|
| Runtime Vehicle | Cloud API / External Model | In-Process JS (Zero Deps) | Local Docker Container (:8080) | Enterprise Cluster / K8s / C-ABI |
| Protected Scope | Single Chat Session | DSH Local Process | Full Ecosystem (Claude+Codex+Cursor+DSH+AGY) | Multi-Node Fleet / Private Cloud |
| Destructive Command Blocking | ❌ Vulnerable | 🟢 100% Regex Failsafe | 🟢 100% Deterministic AST Fusing (<1μs) | 🟢 AST Bitmaps + eBPF Kernel Hooks |
| Credential & Secret Protection | ❌ No Physical Guard | 🟢 Sensitive Path Block | 🟢 Dynamic PII Redaction + Virtual Sandboxing | 🟢 Hardware HSM + ZKP-Lite Proofs |
| Agent Identity Binding | ❌ No Identity | 🟡 Session-level ID | 🟢 Native W3C did:key (Ed25519) | 🟢 3-Tier PKI DrosIdentityToken (DIT) |
| Non-Repudiable Audit Chain | ❌ Plain Text Logs | 🟢 Local SHA-256 Hash Chain | 🟢 Ed25519 Signed Merkle Hash Chain | 🟢 EU AI Act Art. 12 Court-Grade Chain |
| RFC-010 Passports | ❌ Unsupported | 🟡 Format Parser | 🟢 Local Minting & Cross-Agent Verification | 🟢 Cross-Organization Roaming Passports |
| Decision Latency | 🔴 1,000 ~ 3,000 ms | 🟢 <1 ms (Direct Hook) | 🟢 <1 ms (Loopback HTTP / C-ABI) | 🟢 <500 ns (Zero-Copy Memory Lookup) |
| License | Pay-per-Token | 100% Free (Apache-2.0) | Free License for Individuals | Startup $2,990 / Enterprise $29,990 |
# 1. Start DROS Hacker Gateway (No license key required out-of-the-box)
docker run -d -p 8080:8080 --name dros-gateway \
-v $(pwd)/FreeTrial-Sandbox/demo_policy.yaml:/app/demo_policy.yaml \
dros/hacker-gateway:v1.0.0
# 2. Verify health status
curl http://localhost:8080/health
git clone https://github.com/Top-Celestial-Company-Ltd/DROS-VajraClaw-Hacker.git
cd DROS-VajraClaw-Hacker
docker compose -f docker/docker-compose.yml up -d
See examples/ for working starter templates:
See examples/claude_mcp/:
Add to your claude_desktop_config.json or mcp_settings.json:
{
"mcpServers": {
"dros-vajraclaw": {
"url": "http://localhost:8080/mcp",
"transport": "http"
}
}
}
See examples/cursor_rules/:
Place .cursorrules in your project root to intercept high-risk terminal commands via http://localhost:8080/evaluate in <1μs before OS execution!
See examples/openai_langchain/:
from integrations.vajraclaw.runtime import VajraClaw
vc = VajraClaw("demo_policy.yaml")
decision = vc.evaluate("execute_payment", {"amount": 500})
if not decision:
raise PermissionError(f"Blocked by DROS: {decision.reason}")
See examples/crewai_autogen/:
Assign individual W3C DIDs to different agent roles (Legal, Dev, Auditor) and enforce fine-grained capability bitmaps across agent swarms.
See examples/dsh_plugin/:
dsh plugin --profile web add dsh-plugin-vajraclaw
(Set gatewayUrl to http://localhost:8080 in DSH to activate W3C DID & full Docker gateway governance)
DROS supports two straightforward formats: Intuitive Markdown (Vajra.md) and Structured YAML (demo_policy.yaml).
Vajra.md)Declare allowed capabilities and hard security boundaries in plain Markdown:
# 🛡️ DROS Agent Security Policy (Vajra.md)
## 1. Allowed Capabilities
- Allow reading workspace files (`file_read`)
- Allow standard queries (`search_web`, `query_db`)
- Allow safe terminal commands (`git status`, `npm test`, `cargo check`)
## 2. Strict Fail-Closed Boundaries
- Block all recursive deletion or wiping commands (`rm -rf`, `rmdir /s`, `format`)
- Block access to credential paths (`.env`, `id_rsa`, `secrets.json`, `.aws/credentials`)
- Restrict transaction amounts exceeding $1,000 threshold (`amount <= 1000`)
You don't need to write policies from scratch! Copy the following universal prompt to ChatGPT, Claude, or Cursor:
📋 Copy this Prompt to any LLM / AI Assistant:
You are a DROS deterministic security architecture expert. Based on my Agent requirements, generate a standard DROS "Vajra.md" security policy in Markdown. Agent Details: - Agent Role & Scenario: [e.g., Fullstack Developer / Customer Service / Financial Automation] - Allowed Tools & Operations: [e.g., Read/Write src/, Run tests, Query order database] - Strict Boundaries & Denials: [e.g., Block deletion of root/workspace, Block .env access, Payment limit $500] Follow the DROS "Default Fail-Closed" whitelist principle and structure the output into: 1. Role & Capability Scope 2. Allowed Capabilities (Whitelist) 3. Security Boundary Constraints (Thresholds & Pattern Failsafes)
Simply mount your Vajra.md when launching the Docker gateway. Policy changes take effect in <1 microsecond without container restarts:
docker run -d -p 8080:8080 --name dros-gateway \
-v $(pwd)/Vajra.md:/app/demo_policy.yaml \
dros/hacker-gateway:v1.0.0
The deterministic execution governance, microsecond fusing, and cryptographic audit mechanisms in this project are referenced from and build upon the following core technical papers and verification environments:
Core Architecture & Six Trust Boundaries (Core Architecture):
10.5281/zenodo.21833970 | Archived Record: zenodo.org/records/21833970Defense-in-Depth Model (4-Layer Security):
10.5281/zenodo.21903475 | Archived Record: zenodo.org/records/21903475Runtime Attribution & C-ABI Module (Attribution Framework):
10.5281/zenodo.21903687 | Archived Record: zenodo.org/records/21903687Open Standards & Verification Sandbox:
did:key & Ed25519 signature chain).ALLOW in demo_policy.yaml is permanently blocked.-e DROS_LICENSE_KEY="your-key" or activate via DSH settings.13 commits
Python
87.7%
Go
9.1%
C++
1.8%