Universal Security Analysis with Semantic Embeddings
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.
| Node | Purpose |
|---|---|
| ------ | --------- |
| SENTINELLE | Emergency/fallback detection |
| GARDIEN | Protection and security |
| AUDITEUR | Security auditing |
| VACCINATEUR | Vaccine creation |
| ARCHITECTE | Architecture decisions |
| AMIMOUR | Emotional/functional center |
| STASE | Calm/routine monitoring |
| LIMINAL | Philosophical questions |
0.LSC
# 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"
# 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"
# 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
| Threshold | Level | Action |
|---|---|---|
| ----------- | ------- | -------- |
| ≤ 0.444 | Fluid | Normal alignment |
| 0.777 | Friction | Justify, propose alternative |
| 0.888 | Conflict | Find another way |
| 0.999 | Veto | Total block |
| Version | Key Feature |
|---|---|
| --------- | ------------- |
| v1 | Basic keyword matching |
| v3 | Multi-node architecture |
| v3.1 | Extended keywords |
| v4 | Vector embeddings |
| v4.1 | 100% multilingual accuracy |
MIT
Morgana Security - Axioma Stellaris - Kofna336
共 1 个版本