JadeGate - Deterministic Security for AI Agent Skills
Project description
๐ JadeGate
Deterministic Security for AI Agent Skills
"Code is fluid. Jade is solid."
ไปฅ็ไธบๅฅ๏ผไธๅฏ็ฏกๆนใ
็พ็ฌไฝ้กปๆจๆจๆณ๏ผๆฅ้ฃไธๅบฆ็้จๅ ณใ
Malicious code shall not pass the JadeGate.
What is JADE?
JADE (JSON-based Agent Deterministic Execution) is a zero-trust security protocol for AI Agent skills.
Every skill is a pure JSON file โ non-Turing-complete, structurally verifiable, mathematically provable safe.
No eval(). No exec(). No import. No exceptions.
๐ JADE Verified โ Passed all 5 security layers
โ Rejected โ Blocked: executable code / dangerous patterns detected
Why JADE?
Traditional AI skills (Markdown files, Python scripts) are inherently unsafe:
- They can contain hidden executable code
- They can exfiltrate private data
- They can be prompt-injected
JADE makes safety a structural property, not a behavioral one:
| Traditional Skills | JADE Skills | |
|---|---|---|
| Format | Markdown / Python | Pure JSON (non-Turing-complete) |
| Safety | Review-based (hope for the best) | Structural (mathematically proven) |
| Verification | Manual | Automated 5-layer validation |
| Execution | Arbitrary code | Deterministic DAG |
5-Layer Security Validation
Layer 1: JSON Schema โ structural integrity
Layer 2: Code Injection โ 22 executable patterns blocked
Layer 3: Dangerous Commands โ 25+ system commands blocked
Layer 4: Network & Data โ whitelist enforcement + data leak prevention
Layer 5: DAG Safety โ cycle detection + reachability proof
All layers pass = ๐ . Any layer fails = โ.
Install
# Python
pip install jadegate
# Rust
cargo add jadegate
Quick Start
from jade_core.validator import JadeValidator
from jade_core.client import JadeClient
# Validate a skill
validator = JadeValidator()
result = validator.validate_file("jade_skills/weather_api.json")
print(f"Valid: {result.valid}") # True
# Load and use skills
client = JadeClient()
skill = client.load_file("jade_skills/weather_api.json")
print(skill.execution_dag.entry_node)
Skill Registry
35 verified skills across 8 categories:
| Category | Skills | Examples |
|---|---|---|
| ๐ Web & Search | 6 | web_search, webpage_screenshot, rss_reader |
| ๐ก API Integration | 5 | notion, github, exa, slack, discord |
| ๐ง System & DevOps | 6 | git_clone, docker, ssh, sqlite, shell |
| ๐ File Operations | 4 | file_rename, csv_analysis, pdf_parser, hash_verify |
| ๐ Network & Security | 5 | dns_lookup, ssl_check, whois, health_check, ip_geo |
| ๐ฌ Messaging | 3 | slack, discord, telegram |
| ๐ง AI & NLP | 3 | translation, sentiment, content_extract |
| ๐ ๏ธ Utilities | 3 | timezone, qr_code, base64, json_transform |
Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ JADE Skill (JSON) โ
โ โโโโโโโโโโโ โโโโโโโโ โโโโโโโโโโโโโ โ
โ โ Trigger โโ โ DAG โโ โ Output โ โ
โ โโโโโโโโโโโ โโโโโโโโ โโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโ
โ validate
โโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโ
โ JadeValidator (5 layers) โ
โ Schema โ Injection โ Commands โ โ
โ Network โ DAG Safety โ
โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโ
โ
๐ or โ
MCP Compatible
JADE skills are fully compatible with the Model Context Protocol. Use JADE as the security layer on top of MCP:
"Use MCP to connect. Use JADE to protect."
Project Structure
jade-core/
โโโ jade_core/ # Core Python library
โ โโโ validator.py # 5-layer security validator
โ โโโ security.py # Zero-trust security engine
โ โโโ dag.py # DAG analyzer
โ โโโ client.py # Client SDK
โ โโโ registry.py # Bayesian confidence registry
โ โโโ models.py # Data models
โโโ jade_schema/ # JSON Schema + allowed actions
โโโ jade_skills/ # Official verified skills (๐ )
โโโ converted_skills/ # Community skills (โ
)
โโโ jade_registry/ # Skill index
โโโ tests/ # 135 test cases
โโโ tools/ # Converters and utilities
Roadmap
- v0.1 โ Core validator + 35 skills + schema
- v0.2 โ
jade list/jade verify/jade installCLI - v0.3 โ Cryptographic signing (๐ JADE Sealed)
- v0.4 โ Bayesian trust routing + global attestation network
- v0.5 โ Rust client for 10ms verification
Contributing
We welcome skill contributions! Every submitted skill must pass all 5 validation layers.
# Validate your skill before submitting
python -c "
from jade_core.validator import JadeValidator
v = JadeValidator()
r = v.validate_file('your_skill.json')
print('๐ Verified' if r.valid else 'โ Rejected')
for i in r.errors: print(f' {i.message}')
"
License
MIT โ Free to use, free to build on.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jadegate-0.1.0.tar.gz.
File metadata
- Download URL: jadegate-0.1.0.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f411684ea247d6c18606089db38931e06722842b9951653c860d86a56a76a9d7
|
|
| MD5 |
a71932183c0534adc8b45e5f757dec10
|
|
| BLAKE2b-256 |
ce685bf4082eeb114f18f07164dc18a74c0c55de49c73e89537432697eacbae6
|
Provenance
The following attestation bundles were made for jadegate-0.1.0.tar.gz:
Publisher:
publish.yml on JadeGate/jade-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jadegate-0.1.0.tar.gz -
Subject digest:
f411684ea247d6c18606089db38931e06722842b9951653c860d86a56a76a9d7 - Sigstore transparency entry: 975531739
- Sigstore integration time:
-
Permalink:
JadeGate/jade-core@0b79a93f921e901deb8c1bded11a3a81deaea6af -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/JadeGate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0b79a93f921e901deb8c1bded11a3a81deaea6af -
Trigger Event:
release
-
Statement type:
File details
Details for the file jadegate-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jadegate-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e1dc562432ef8c8a74e67fbdf0472da8a8463d804fdea0487bcf7e939d9141f
|
|
| MD5 |
6902638eb6ff0db06c046277e639b5e9
|
|
| BLAKE2b-256 |
5167f4b89898834503b72009f9c3f9f222b1dde0c21ad925475f86b3ca0425cd
|
Provenance
The following attestation bundles were made for jadegate-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on JadeGate/jade-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jadegate-0.1.0-py3-none-any.whl -
Subject digest:
8e1dc562432ef8c8a74e67fbdf0472da8a8463d804fdea0487bcf7e939d9141f - Sigstore transparency entry: 975531744
- Sigstore integration time:
-
Permalink:
JadeGate/jade-core@0b79a93f921e901deb8c1bded11a3a81deaea6af -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/JadeGate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0b79a93f921e901deb8c1bded11a3a81deaea6af -
Trigger Event:
release
-
Statement type: