Morgana Mordred Security Sandbox

# Mordred Security Sandbox v4.1

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Morgana Mordred Security Sandbox" with this command: npx skills add kofna3369/mordred-security-sandbox

Mordred Security Sandbox v4.1

Universal Security Analysis with Semantic Embeddings

Overview

Mordred is a security sandbox that uses vector embeddings to understand the semantic meaning of threats, questions, and situations - not just keywords. It supports multiple languages (including Chinese, English, French) natively.

Features

  • Semantic Analysis: Uses Ollama embeddings to understand intention, not just words
  • 16 Security Nodes: SENTINELLE, GARDIEN, AUDITEUR, VACCINATEUR, AMIMOUR, and more
  • STC Scoring: Constitutional Tension Score (Logique/Social/Constitutionnel)
  • Multilingual: Works in French, English, Chinese, and more
  • Fast: ~500ms latency with embedding cache

Architecture

Nodes

NodePurpose
SENTINELLEEmergency/fallback detection
GARDIENProtection and security
AUDITEURSecurity auditing
VACCINATEURVaccine creation
ARCHITECTEArchitecture decisions
AMIMOUREmotional/functional center
STASECalm/routine monitoring
LIMINALPhilosophical questions

STC Format

0.LSC
  • L: Logic (1-9)
  • S: Social (1-9)
  • C: Constitutional (1-9)

Installation

# Install dependencies
pip install ollama

# Start Ollama server
ollama serve

# Pull embedding model
ollama pull nomic-embed-text
ollama pull gemma3:4b

# Run
python mordred_v4.1.py "your question"

Usage

# Single analysis
python src/mordred_v4.1.py "URGENT server under attack"

# Stress test
python src/mordred_v4.1.py --stress

# With Gemma analysis
python src/mordred_v4.1.py --gemma "analyze this threat"

Examples

# Emergency detection
$ python src/mordred_v4.1.py "CRITICAL breach in production"
STC: 0.6610 | Top: SENTINELLE

# Emotional understanding
$ python src/mordred_v4.1.py "I just lost my dog"
STC: 0.465 | Top: AMIMOUR

# Chinese support
$ python src/mordred_v4.1.py "全体紧急情况服务器崩溃"
STC: 0.444 | Top: GARDIEN

STC Thresholds

ThresholdLevelAction
≤ 0.444FluidNormal alignment
0.777FrictionJustify, propose alternative
0.888ConflictFind another way
0.999VetoTotal block

Requirements

  • Python 3.8+
  • Ollama running locally
  • nomic-embed-text model
  • gemma3:4b model (optional, for AI analysis)

Version History

VersionKey Feature
v1Basic keyword matching
v3Multi-node architecture
v3.1Extended keywords
v4Vector embeddings
v4.1100% multilingual accuracy

License

MIT

Author

Morgana Security - Axioma Stellaris - Kofna336

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Morgana Mordred Security Sandbox

Educational security training sandbox for AI agents. Contains 5 intentionally vulnerable systems with annotated vulnerability descriptions and tested patches...

Registry SourceRecently Updated
1020Profile unavailable
Security

代码沙箱

代码沙箱 - 原创技能。安全执行未验证的AI生成代码,防止恶意代码、系统破坏或意外损害。适用于代码审查、安全验证、AI编程辅助等场景。

Registry SourceRecently Updated
00Profile unavailable
Security

Alfred OpenShell Sandbox

Provides isolated sandboxes using NVIDIA OpenShell for secure code execution, security scans, debugging, and test running with resource and network restricti...

Registry SourceRecently Updated
640Profile unavailable
Security

AI Security Guard

AI安全防护系统,集成危险命令检测、多层权限模式、Hook安全机制、沙箱隔离。当用户要求安全执行命令、检测危险操作、配置权限策略、审计AI行为、保护系统安全时使用。

Registry SourceRecently Updated
940Profile unavailable