mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-28 21:17:36 +00:00
New FastAPI modules migrated from OpenWrt: - secubox-ad-guard: Adware/tracker detection with device-type stats - secubox-ndpid: nDPId DPI with JA3/JA4 fingerprinting - secubox-ai-gateway: OpenAI-compatible local AI API - secubox-localrecall: Local RAG with Qdrant/Ollama - secubox-master-link: Node mesh management - secubox-threat-analyst: AI-powered threat analysis - secubox-cve-triage: NVD/EPSS CVE triage workflow - secubox-network-anomaly: IQR-based anomaly detection - secubox-dns-guard: DNS filtering with RPZ - secubox-iot-guard: IoT device security & quarantine - secubox-config-advisor: ANSSI CSPN compliance checks - secubox-mcp-server: MCP protocol for Claude integration - secubox-identity: User/role management - secubox-system-hub: System health & remote support C library: - zkp-hamiltonian: Zero-Knowledge Proof library (Blum 1986) VM configuration: - MOCHAbin-like 7-NIC topology for libvirt testing Dev environment: - VSCode tasks and extensions for SecuBox development - Claude Code CLAUDE.md project instructions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
78 lines
2.7 KiB
JSON
78 lines
2.7 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "🔥 SecuBox :: Tests CSPN",
|
|
"type": "shell",
|
|
"command": "pytest tests/cspn/ -v --tb=short --no-header",
|
|
"group": { "kind": "test", "isDefault": true },
|
|
"presentation": { "reveal": "always", "panel": "dedicated", "clear": true },
|
|
"problemMatcher": ["$python"]
|
|
},
|
|
{
|
|
"label": "🧪 SecuBox :: Tests unitaires",
|
|
"type": "shell",
|
|
"command": "pytest tests/unit/ -v --tb=short --cov=. --cov-report=term-missing",
|
|
"group": "test",
|
|
"presentation": { "reveal": "always", "panel": "dedicated", "clear": true },
|
|
"problemMatcher": ["$python"]
|
|
},
|
|
{
|
|
"label": "🛡️ SecuBox :: Lint + Ruff",
|
|
"type": "shell",
|
|
"command": "ruff check . --fix && ruff format .",
|
|
"group": "build",
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
},
|
|
{
|
|
"label": "🔒 SecuBox :: nftables reload",
|
|
"type": "shell",
|
|
"command": "ssh secubox 'sudo nft -f /etc/secubox/firewall/active/rules.nft && echo OK'",
|
|
"group": "build",
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
},
|
|
{
|
|
"label": "🔄 SecuBox :: PARAMETERS swap",
|
|
"type": "shell",
|
|
"command": "ssh secubox 'sudo secubox-params swap --module ${input:moduleName} --validate-zkp'",
|
|
"group": "build",
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
},
|
|
{
|
|
"label": "📡 SecuBox :: Logs live",
|
|
"type": "shell",
|
|
"command": "ssh secubox 'sudo journalctl -u secubox-* -f --output json' | jq -r '.MESSAGE'",
|
|
"isBackground": true,
|
|
"presentation": { "reveal": "always", "panel": "dedicated", "clear": true }
|
|
},
|
|
{
|
|
"label": "🚀 SecuBox :: Deploy module",
|
|
"type": "shell",
|
|
"command": "rsync -avz --exclude='*.pyc' --exclude='.venv' modules/${input:moduleName}/ secubox:/opt/secubox/modules/${input:moduleName}/",
|
|
"group": "build",
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
},
|
|
{
|
|
"label": "📋 SecuBox :: Status global",
|
|
"type": "shell",
|
|
"command": "ssh secubox 'sudo systemctl status secubox-* --no-pager'",
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
},
|
|
{
|
|
"label": "🔐 SecuBox :: Snyk scan",
|
|
"type": "shell",
|
|
"command": "snyk test --severity-threshold=high",
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "moduleName",
|
|
"description": "Nom du module SecuBox",
|
|
"type": "pickString",
|
|
"options": ["firewall", "dpi", "dns", "waf", "ids", "dashboard", "zkp", "mirrornet", "parameters"],
|
|
"default": "firewall"
|
|
}
|
|
]
|
|
}
|