NeuroNest Security Architecture — 13-Layer Defense-in-Depth
NeuroNest protects every AI agent action with thirteen independent security layers. No single point of failure. Defense in depth means each layer catches threats that the others miss.
The 13 Security Layers
- Firewall Engine — 4-tier scanning: sanitization, prompt injection detection, secrets scanning, and policy enforcement.
- Enhanced Firewall — Hybrid regex + semantic analysis with sophistication assessment and PII redaction.
- Action Security Analyzer — Pre-execution risk classification (LOW/MEDIUM/HIGH) for shell commands and file operations.
- Permission Pattern Engine — Declarative allow/deny patterns enabling zero-prompt unattended operation during loops.
- Runtime Protection — Anti-tamper, anti-debug, and file integrity verification in production builds.
- Secure Communication — HTTPS enforcement, certificate pinning, request signing, and replay protection.
- Edit Lock Manager — Directory-scoped file edit restrictions with glob pattern enforcement.
- Network Sandbox — Policy-based network access control with domain/IP/port allow/deny rules and 3 presets (permissive, standard, strict).
- Path Traversal Guard — Validates all file paths against the project root; blocks symlink escapes and directory traversal.
- Shell Injection Prevention — All subprocess execution uses argument arrays with no shell interpretation.
- Dynamic Import Validation — Module imports restricted to an allowlist of permitted packages.
- SQL Injection Prevention — Table name allowlist plus parameterized queries for all database access.
- CSP Nonce-Based Script Control — Per-session cryptographic nonces replace unsafe-inline in the Content-Security-Policy.
Security Postures
Choose Strict (every tool call requires human approval), Auto (risk classifier escalates only high-risk calls), or Autonomous (no approval pauses except policy denials). Policy presets — Standard, Strict, Enterprise — can only be tightened, never loosened.
Local-First by Design
Source code is processed locally by default. Nothing is sent to NeuroNest servers. When cloud providers are configured, code goes only to that provider under their privacy policy. You can audit every agent action through the tamper-evident audit chain.
Prompt Injection Protection
NeuroNest firewall layers form the most comprehensive prompt injection defense available in any IDE: regex-tier detection catches known injection patterns in under 1 ms, while LLM semantic analysis catches novel injections that pattern matching cannot detect.