Hey everyone,
I’ve been solo-developing CyberLynx, an AI-driven security auditing and reconnaissance orchestrator built for Kali Linux.
Most security automation scripts follow a rigid, linear pipeline:
run scanner A → run scanner B → run scanner C → dump raw logs.
I wanted to build something different: an adaptive system that reasons about discovered infrastructure, dynamically adjusts its strategy based on real tool outputs, and enforces strict deterministic guardrails so the AI never goes rogue.
Here is a look at the current v4.1 build (screenshots attached — showing the Live Console, Target Intel graph, Automation controls, and local AI Advisor).
How it works (The Reasoning Graph)
Instead of blindly running a checklist, CyberLynx manages an Audit Task Tree (Reasoning Graph):
- Adaptive Investigation: When a probe finishes (e.g., Nmap, RustScan, WhatWeb, FFUF, Nuclei), the engine parses the structured artifacts and feeds a sanitized tail of the actual stdout/stderr back to the reasoning model.
- Dynamic Branching & Backtracking: If a web server or specific technology is found, it prioritizes relevant checks. If a port is tcpwrapped or returns dead-end 404s, it marks the branch as DEAD_END and backtracks to the next highest-priority pending node.
- Anti-Loop & Cost Guardrails: Action fingerprinting prevents the AI from re-running identical probes with cosmetic flag tweaks, while stalled-cycle detectors stop idle API calls automatically.
Why it’s safe to run (Zero Raw Shell Access)
The biggest valid criticism of AI security agents is: "Why would I let an LLM execute commands on my machine?"
In CyberLynx, the LLM never touches a shell. Every proposed command passes through a deterministic, multi-layered CommandGateway:
Маркер списка Strict argv Execution: Pipes (|), redirects (>, <), command chaining (&&, ;), subshells, and interpreters (bash -c, python, sudo) are rejected at the lexer level. Binaries are pinned to trusted system paths.
Маркер списка Independent Risk Classification: The model's self-reported risk_level is treated as advisory only. A standalone classifier inspects the parsed argv and categorizes actions into SAFE, INTRUSIVE, EXPLOITATION, or DESTRUCTIVE (which is always blocked). Elevated actions require explicit operator approval.
Маркер списка Scope & DNS Pinning (Anti-SSRF / Rebinding): Every target is normalized and checked against an explicit CIDR/domain allowlist. For supported tools, resolved IPs are pinned directly into argv before execution to prevent DNS TOCTOU/rebinding.
Маркер списка Secret Redaction & FS Isolation: API keys are stripped from child process environments, sensitive local files (.env, SSH keys, configs) are blocked from tool reads, and tokens/credentials are automatically redacted across logs, UI, and LLM feedback.
Маркер списка Evidence-Backed Reporting: Return code 0 isn't trusted blindly—an execution verifier checks artifact freshness, file size, and parsed findings before exporting signed (HMAC-SHA256) session snapshots or HTML/Markdown reports.
What's in the UI right now (v4.1)
Маркер списка Live Console & Engine Activity: Real-time execution stream with manual command override and AI-recommended action cards (tagged by risk level and priority).
Маркер списка Target Intel: Live tree view of reasoning nodes, discovered ports/services, CVEs (with CVSS/CWE), tech stack, and endpoints.
Маркер списка Automation Controls: Granular scope rules, 4 stealth/intensity profiles (adjusting rate limits and timing flags automatically), iteration caps, and toggle switches for intrusive / exploitation permissions.
Маркер списка Interactive AI Advisor: Context-aware copilot in the sidebar to query findings or steer the audit graph manually.
Looking for honest feedback from the community:
The project is still under active development, and I’m not claiming it replaces a skilled human pentester. Before I push toward v5.0 (adding more parsers and a Docker/web deployment mode), I’d love to hear your thoughts:
- What would make you actually trust and use an AI orchestrator in your workflow?
- Which tools or integrations would you want to see supported natively next?
- Where do you see the biggest potential blind spots or risks in this architecture?
Thanks for checking it out!