Repository navigation
v8.0.0 - White-box mode, agent findings on the Priority Board, wordlists, project logs
LatestHighlights
Added: White-box mode. The agent reads the target's source code while it tests the live target. Conversations stay black-box by default. You attach the code once per project, in Project Settings → AI Agent → Source Code. It can be a folder of the project's workspace, or a GitHub repository at a branch, tag or commit. RedAmon copies the code into a frozen snapshot and indexes it. Your project's agent model then writes a Code Intelligence Brief: the stack, routes, authentication, dangerous sinks and blind spots.
- One switch per conversation. The drawer's Black-box / White-box chip switches a conversation. The agent then gets eleven read-only code tools (
code_brief,code_routes,code_grep,code_read,code_references...) and thecode_analystsub-agent, which answers one focused question with verifiedfile:linecitations. - Code is evidence, the live target is proof. The agent never reports a vulnerability from code alone. It reads the code to choose what to test, sends the smallest live request that checks it, and reports what the target confirms. A coverage ledger tracks each route and weakness class, and Deep Think sees the same map.
- When code and target disagree, the target decides. If the target refuses three live requests to a route the code calls vulnerable, the agent investigates the divergence (a WAF, another deployed version, a feature flag) instead of retrying payloads. The report lists the divergences.
- Findings point at the code. The Priority Board, the Node Inspector, Insights and the report show a Root cause in code list. CypherFix carries it to the CodeFix agent as its starting points.
- The switch goes one way. A white-box conversation never goes back to black-box. Switching a conversation that already ran makes it Grey-box, and the report says so.
- Isolation. The snapshot sits outside every project folder: no
fs_*tool and no Kali sandbox reaches it. Its files are read-only and its index is signed, so a changed file turns white-box off for the next run instead of serving it. Comments and strings in the code that address the agent are treated as untrusted data. - Permissions.
project:source_codeattaches and refreshes the code.agent:white_boxswitches your own conversations. A GitHub repository is fetched with your own token, sent once and never stored. Only github.com is supported for now.
The wiki's White-Box Mode page describes it in full.
Added: the agent's own findings reach the Priority Board. A weakness the agent confirms or exploits in a chat, on a host recon already holds, becomes a finding with a "Found by the agent" chip. It is ranked beside the scanners' findings, fixed through CypherFix, and counted in Insights and the report.
- One finding per flaw. A re-test of the same flaw in another chat adds a sighting to the same finding.
- Proof. A finding is proven only when an exploit, access, a credential or code execution succeeded. A confirmation alone stays a candidate until a person clicks Real.
- No secrets on the board. A finding that carries credentials or exfiltrated data is stored as a fixed title and sentence, never the model's text.
- "Same as…" marks an agent finding as a scanner finding's duplicate. Deleting a chat asks whether to keep the findings it produced.
- Each project has the switch "Add Agent Findings to the Priority Board", on by default.
Added: a wordlist catalog in every Kali sandbox, and a wordlists tool. The agent used to know six wordlist paths and guess the rest, and to hydra a missing file looks like "0 valid passwords". Each sandbox now carries about a thousand described lists under /opt/wordlists/<category>/<id>, in nine categories, each tagged with the technologies it fits.
- About 770 come from 31 open-source projects (SecLists, trickest, Assetnote, fuzzdb, DefaultCreds and others), committed with their licences and cleaned of attack payloads, personal addresses and real hosts. The rest are the lists Kali's own packages ship.
wordlists(tree,search,info) ranks and filters the lists and shows a list's first lines before a long run. It reads local files only, so it never asks for approval. In the Kali terminal,wlgives the same answers.hydra -Cnow getsuser:passfiles, and SecLists paths a model remembers still work.- Your own lists: every workspace gets a
wordlists/folder, listed live for that project's chats only.
Added: every scan's log is saved per project, with a Logs tab. Full and partial recon, GVM, GitHub hunt, TruffleHog, supply chain and AI attack containers used to lose their log when they were removed. Every run is now saved under ./logs/projects/<project>/, redacted line by line as it is written. Agent chats, Triage and CodeFix runs have their own files there too.
- The Logs tab in
/graphlists, filters, tails, downloads and deletes a project's logs. Reading needs the newlogs:readpermission. Deleting needslogs:deleteand is audited. - Logging settings per group: a switch, a level (Normal, Verbose, Debug) and a retention in days, in a new Logging tab of the project settings. Verbose and Debug also keep each tool's command and output, redacted once the run has ended.
- Logs are kept 30 days, within
LOGS_QUOTA_GB(20 by default).
Changed: Insights, rebuilt around what is proven. The page no longer leads with a risk gauge and severity donuts. It says what is proven, what still needs validation and where to look next, and every number counts the same findings the client report counts. It has five tabs: Overview, Findings, CVEs & exploits, Attack surface and Agent chains. Every chart has a table view.
Security
These fixes shipped in 7.10.0, which had no GitHub release. Updating from v7.9.0 applies them.
- Each person gets a Kali sandbox of their own. The agent's offensive tools, the terminal, MCP
kali_exec, Metasploit and the tunnels all ran in one shared root container that mounted every project. From any shell in it, a person could read and change other people's projects, read their keys and tokens, and drive their Metasploit sessions. A sandbox now mounts only the projects its person may run the agent on, with its own tokens, Metasploit console, limits and network. - The AI attack-surface judge listened on every network interface, with no authentication. During a scan, anyone on the network could rewrite the judge model or fill the host disk. It is now published on
127.0.0.1only. - Anyone could lock any account out of signing in, Root included, by sending five wrong passwords every 15 minutes. A browser that signed in to an account before now keeps signing in through such a lockout.
- Anyone could exhaust the webapp's memory without signing in by sending large request bodies. A body over 1 MiB from a caller with no credential is now refused before Next.js reads it.
- A recon container could get past the Docker broker to host root with JSON keys and headers the daemon reads differently. The broker now refuses those keys and rebuilds every forwarded request.
- A workspace search could run any command as root in the agent.
fs_greppassed the model's pattern to ripgrep as an option. It no longer runs ripgrep. - A sandbox could make the agent read or write its own files through a link. Every path a sandbox can write is now reached through pinned descriptors, with no link followed.
- A late reverse shell could land in another person's sandbox. A stopped sandbox's port is now held for its person for 24 hours.
- Also fixed: every sandbox mounted every member's custom nuclei templates; an emergency stop could be undone by a background job; a tunnel outlived the permission that guards it; one person could scan another person's sandbox; the Kali image carried old scan output.
Fixed
- Docker's copy of every service's log is bounded, at three files of 10 MB. The logs used to grow until the next recreate.
- The agent gets its Kali tools back after the sandbox restarts a tool server. Every later call used to answer "Tool not found" until the agent restarted.
- The agent cracks hashes in its sandbox only. In a lab run it had sent the lab's hashes to two online cracking sites.
- The agent's tool list shows each tool's arguments with single braces (
{"command": "..."}), the shape the tools take. - CodeFix no longer opens a PR from an unfinished run, and only one session runs per fix item. A run outlives its tab, keeps its review history after a reload, and no longer overflows the model's context.
- An exploit success no longer takes the target's whole CVE list when the model names none.
- CypherFix's affected assets name each host and give the real count.
- Deleting a project removes its TruffleHog and supply-chain output files, and stopping a recon no longer leaks the container's volumes.
- Tab badges are readable in the dark theme.
Before you update
- White-box mode is on by default, and nothing changes until someone attaches code. Every existing conversation stays black-box. To keep the feature off, set
WHITE_BOX_ENABLED=falsein.env. The webapp reads it only from its own environment, so set it there too (a compose override) to hide the Source Code tab and the drawer chip. - Four new permissions, 103 in all:
project:source_code,agent:white_box,logs:readandlogs:delete.logs:readjoins every built-in set that reads, Automation included. The other three join Default member, Recon operator and Red-team operator. A custom set gains none of them until you add them. - Agent findings start with your next chats. Earlier chats are added only if you run
tooling/scripts/agent_vulnerability_backfill.py, a dry run unless you pass--apply. The score model moves to v3.13.0, and no existing finding's rank changes. - Every log is written under
./logs, and nowhere else. Old files inagentic/logsare not moved or shown, and can be deleted. - The MCP presets' data moves to
agentic/mcp-data. The update movesmcp_memory.jsonandsandbox/there once. A warning with asudo mvcommand means it could not, and that MCP server starts empty until you run it. - A CodeFix run now ends on Stop, or after 30 minutes with nobody connected, not when you close the tab. Restarting the agent ends running CodeFix runs.
- The
/api/analytics/*routes are gone. A script that read them uses/api/insights/summary,/findings,/cves,/surfaceand/chainsinstead. - A plugin's approved replacement of the brute-force or path-traversal skill text stops applying until the plugin proposes it again and you approve it. The community skill API Testing changes too: import it again from the catalog.
Upgrade
./redamon.sh update- The update rebuilds the agent, the webapp, the Kali image, the recon image and the CodeFix sandbox image.
docker-compose.ymlchanged, so every service is recreated once.- The agent, the webapp and the recon orchestrator must move together. Bring the webapp up with or before the agent.
- No environment variable is required.
WHITE_BOX_ENABLED,LOGS_QUOTA_GBandLOGS_MAX_FILE_MBare optional (.env.example). - All data changes are additive: three tables (
project_code_sources,code_snapshots,agent_session_modes) and 34 columns onprojectsandremediations. Databases, scan results and reports are kept.
Rolling back to 7.9.0 deletes data. It drops the attached code sources and snapshot records, every project's logging settings and agent-findings switch, and the fix items' code locations and affected-asset counts. Back up the database first.
Coming from v7.9.0
This is the first GitHub release since v7.9.0. Versions 7.10.0 and 7.10.1 in between added:
- Per-person Kali sandboxes (7.10.0), with the security fixes above.
- SecurityContext in MCP Tool Plugins' Quick add (7.10.1): ProjectDiscovery's free security index, which lists the CVEs and Nuclei templates for an exact product version.
- Token usage from OpenAI-compatible providers is counted once (7.10.1, #243). Servers that send a running total on every stream chunk had it summed, some 10,000 times the metered tokens.
Points to know when you update from v7.9.0:
- Close your Metasploit sessions first. The update removes the shared
redamon-kalicontainer, which ends every session still open in it. If you started the stack with a baredocker compose up, remove it withdocker rm -f redamon-kali. - A sandbox starts when you open the AI drawer or the Kali terminal, and stops after 20 minutes without use (
KALI_SANDBOX_IDLE_MINUTES). Your project folders and output stay./tmpand anything installed at run time do not. - Each running sandbox reserves 1 GiB from the pool scans use.
install,updateanduprefuse a host that cannot hold one sandbox;REDAMON_SKIP_RAM_GATE=1overrides it. - Port 4444 is no longer published on the host. A direct reverse shell needs a port from
KALI_SANDBOX_PORT_POOL, or your own tunnel. Tunnels are per person now: set yours in Settings → Tunneling. The instance-wide tunnel and the project's LPORT setting are no longer used. - Payloads that make the target download from your sandbox are no longer offered, since a sandbox has one inbound port.
- The webapp starts through
scripts/serve.cjs. A script or override of your own that startsserver.jsdirectly runs without the request-body guard. fs_greptakes Python regex syntax and skips hidden and binary files.- Projects refuse IP targets inside
10.214.0.0/16, the sandboxes' own network. - Approved plugin overrides of 14 built-in skill parts stop applying until they are re-based on the new text. The community skills
ssti,xxe,subdomain_takeoverand five others were corrected: Import from Community lists the copies that differ and replaces the ones you confirm.
Full details in CHANGELOG.md.