Repository navigation
Releases
v0.7.0
Agent-driven traffic capture (SOCKS5, transparent TCP and raw UDP), operator tampering hooks with their admin panel, the agentic injection and proof hardening from the #124 audit, LLM context telemetry and the worker cache-prefix split, capture-proxy rewrite rules, HAR import and export, and a large security batch across the interception gate, sessions, logs, the workspace file API and the model endpoint probe.
Added
- Traffic > Hooks admin panel: the Traffic page gains an operator-only Hooks tab for the constrained Go tampering hooks: list, create (always created disabled), edit, delete, toggle, version history with rollback, and a dry-run against a captured exchange or a synthetic input. A dry-run shows the mutated request or response, the fields the hook changed, and the per-line trace, with masked fields shown as their keyed HMAC. Binary and compressed bodies are flagged and skipped, bodies over 1 MiB are flagged, and the UI never renders hook or exchange text as HTML (#435).
- Concurrent multi-LLM worker rotation (#270): a task can rotate several bound LLM profiles across its workers, with per-lane exhaustion tracked and shown on the task controls.
- Encrypted S3 archive storage (#285, #318): an optional S3 backend stores task archives encrypted, connects with the existing archive lifecycle, and lets an interrupted archive job be recovered on the next start.
- Turkish and Simplified Chinese UI, optional Neon theme (#346, #413, #401): the web console gains a translation layer with a Turkish and a Simplified Chinese locale, and an opt-in Neon theme preset in Settings.
- Readiness probe (#363):
GET /api/readychecks PostgreSQL and reports readiness separately from the health route. - Operator console browser protections (#349): the embedded console restricts framing to the same origin and keeps referrer information on the same origin.
- Target noise governor: one shared egress governor paces ARTEX's own HTTP requests (WebFetch, the http custom tools and the enrich probe) against a noise profile (
offby default,quiet,balanced,aggressive): a per-host token bucket with jitter, per-host and global in-flight caps, 429/503 backoff, GET deduplication with a short cache, and a configurable target User-Agent (ARTEX_TARGET_USER_AGENT). Off is a strict passthrough (#205). - Low-and-slow prompt block: when a noise profile is set, the planner, worker, main agent and chat prompts carry the per-host limits of the profile and the exact rate or delay flags for nmap, nuclei, httpx, katana, ffuf, dalfox and sqlmap; with the profile off the prompts are unchanged (#212).
- Noise profile at runtime: System settings has a Target noise card. It sets the profile (
off,quiet,balanced,aggressive) through thenoise_profilesetting, which takes precedence overARTEX_NOISE_PROFILE. The change applies to the next WebFetch, http custom tool and enrich request, and to the next agent prompt, without a restart. The card also shows the per-host counters, whichGET /api/settings/noisereturns (#233). - Bash requests paced through the capture proxy: with traffic capture on, the Bash proxy URL carries a marker userinfo. The recording proxy paces each request of a marked connection by the noise profile's per-host rate and jitter, and counts it, before it goes upstream. This applies inside CONNECT tunnels too. WebFetch, the http custom tools and enrich keep the unmarked URL and are not paced twice. The proxy now drops
Proxy-Authorizationfrom every request it forwards or records. This is best effort: only clients that honour the proxy are covered, with capture on (#234). - Hierarchical budgets, off by default: a task budget and a per-intent budget take the minimum of their own budget and the parent's remaining budget above the wrap-up reserve, planner calls count inside the task, and reaching the reserve forces a wrap-up (#206).
- Coverage ledger: the worker records what it examined, ruled out or left open for each surface and risk class with
record_coverage; gaps, unexamined classes and completeness appear in the planner context,GET /api/tasks/{id}/coverage, the coverage card and the Markdown report (#207). - Closed-question judge: the LLM fallback judge answers eight fixed questions that the code owns and the code takes the decision; every failure now leads to ask instead of allow, and the previous behaviour stays available as
llm_judge_mode = freeform(#208). - argv interception rules: a new
match_type = argvmatches the parsed prefix of a Bash command exactly, and a pending Bash approval can create such a rule in one click; a code-owned denylist refuses programs where a prefix would allow arbitrary code (#210, #211). - Scanner output ingestion:
ingest_scan_outputparses nmap XML, nuclei JSONL, httpx JSONL and ffuf JSON, and writes assets and facts deterministically, so the model never reads the raw output (#214, #215). - bbot ingestion: a typed parser splits bbot JSONL events by
scope_distance, only in-scope events go throughinsert_assets, andingest_bbotreads the file line by line with a 64 KiB cap (#199, #200). - Tool RAG, off by default: when the bound tool list of an agent is large, only the subset relevant to the current intent is injected, as a projection that never adds or edits a tool (
ARTEX_TOOL_RAG) (#204). - Fact provenance:
record_facttakes a closedsourceenum (defaultinference) and every fact carries the server-setorigin, both shown inrecent_facts,list_factsandexpand_digest(#194). - Per-message nonce envelope: agent- and target-derived fields reach the planner and worker user messages inside a code-owned data envelope with a random nonce per message; operator input stays outside it (#195).
- Intercept risk score and batch approval: a deterministic risk score (low, medium, high) is shown on each pending approval, and up to 100 pending decisions can be settled in one call, each through the existing single-decision path (#232).
ask_operatortarget warning: a request whose question names a host or URL outside the goal targets is tagged as containing target-derived text (#197).- Opt-in update banner:
ARTEX_UPDATE_CHECKmakes the backend check the latest GitHub release at most once per 24 hours and the UI show a banner; off by default (#202). - Release provenance: release archives carry GitHub build provenance attestations and a CycloneDX SBOM (
gh attestation verify <zip> --repo BaaRai/ARTEX); release notes are the matchingCHANGELOG.mdsection (#219, #201). - Opt-in constrained Go tampering hooks — backend, API & trace: opt-in behind
ARTEX_TAMPER_HOOKS_ENABLED=1(off by default; flag off loads zero hooks and keeps the no-hook baseline unchanged). Adds a small, deterministic, zero-dependency Go-subset evaluator (traffic/hookvm, parsed viago/parserwith sorted map iteration, hard 100k step / 25 ms per-hook / 100 ms per-phase / 4 MiB memory bounds, and AST rejection of FS/network/exec/env/time/rand/goroutine/channel/defer/goto/global-var/pointer/switch constructs). Operator-only hooks (never an agent tool) are stored sealed at rest intraffic_tamper_hooksandtraffic_tamper_hook_versions(migration0011_traffic_tamper_hooks.sql), managed via/api/traffic/hooks*(CRUD, toggle, version history, rollback, dry-run), prefiltered withtraffic/rewritematchers, executed after declarative rewrite rules per phase (fail-open only in 0.7; binary/compressed/>1 MiB bodies skipped; tainted sensitive fields stay HMAC-masked), and traced in SQLiteexchange_rewrites(source_kind,hook_id,hook_version). Seedocs/traffic-tamper-hooks.md. - Opt-in SOCKS5 UDP ASSOCIATE & raw UDP recording: when traffic capture is enabled, setting
ARTEX_SOCKS5_UDP_ENABLED=1enables RFC 1928UDP ASSOCIATE(0x03, IPv4 first) on the SOCKS5 listener (off by default: with flags off no listener starts; with SOCKS5 TCP on and UDP off,UDP ASSOCIATEreturns0x07and no UDP socket is opened). Enforces per-datagram destination policy before forwarding using the existing target gate (intercept.Interceptor.ResolveUDP4/intercept.PinnedUDP4Resolver) and egress governor (egress.Do), dropping denied datagrams without passthrough; bounds associations (UDPMaxDatagrams,UDPMaxBytes,UDPIdleTimeout) and tears them down with the TCP control connection; dropsFRAG != 0with no fragmentation reassembly; and records each forwarded datagram individually in SQLiteraw_udp_datagramswith capped previews and atomic_blobsrefs without writing HTTPexchangesrows or PG migrations. Transparent UDP (IP_RECVORIGDSTADDR) is deferred to C2. Seedocs/traffic-socks5-udp.md. - Opt-in Linux transparent TCP inbound & raw TCP recording: on Linux when traffic capture is enabled, setting
ARTEX_TRANSPARENT_TCP_ENABLED=1(loopback127.0.0.1:1081by default) orARTEX_TRANSPARENT_TCP_ADDR=<ipv4:port>starts an IPv4 transparent TCP listener fed by operator-managediptables/nftablesREDIRECTrules (off by default; ARTEX never touches the host firewall; root/CAP_NET_ADMINis required only for the operator's redirect rules; IPv6 is not covered). Recovers original IPv4 destinations viaSO_ORIGINAL_DSTwith self-redirect loop protection, reuses the P4.1a target gate (intercept.Interceptor.DialSOCKS5), egress governor (egress.Do), half-close relay bounds, and SQLiteraw_tcp_streamsstore (atomic_blobsspill, no HTTPexchangesrow, no PostgreSQL migration). Seedocs/traffic-transparent.md. - Opt-in SOCKS5 inbound proxy & raw TCP recording: when traffic capture is enabled, setting
ARTEX_SOCKS5_ENABLED=1(loopback127.0.0.1:1080by default) orARTEX_SOCKS5_ADDR=<addr>starts an RFC 1928 SOCKS5CONNECTlistener alongside the HTTP recording proxy (off by default; HTTP proxy and agent proxy env vars a...
v0.6.0
Summary
ARTEX v0.6.0 makes a finding provable, hardens the agents against the content they read, and adds an opt-in approval gate for targets. The target gate ships OFF by default and through the API only, so existing deployments keep their current behavior after upgrading.
Full list: CHANGELOG.md · compare v0.5.1...v0.6.0
Highlights
- Verified findings (S1): findings carry a POE level and a verification status.
verifiedrequires a bound proof or verification response, a declared POE level of 3 or more, and every evidence quote of 8 runes or more found verbatim in a bound body. A retest verdict can upgrade a finding, and the findings UI shows the badge, the filter and the note (#162, #163, #164, #169). - Target gate (S3b phase 1 and step 2.1): opt-in per task or conversation, API only, OFF by default. Approvals pin
host:portand the resolved IPs. WebFetch and direct customhttpcalls connect only to pinned or exempt addresses on every redirect hop, with no direct retry in a gated scope (#177 to #186). - Agentic hardening (#124): code-owned untrusted-content rules for the planner and the compactor, a planner goal anchor,
goal_metandprove_goalguards, truthful hint origins, and the[built-in]deny rules applied to the planner and main-agent Bash (#189, #190). - Intercept audit: approvals record
decided_by, and the[model]/[Model]prefix bug no longer stores judge decisions asunknown(#159, #165). - Notifications: configurable summary and asset limits, plus Feishu digest overflow handling (#170 to #174).
- Docker supply chain: recon tools verified against their release checksums, sqlmap pinned to tag 1.9.9 at a fixed commit, Node 22.23.4 verified against
SHASUMS256.txt, and the Playwright packages pinned (#188). - Intent claim leases: a heartbeat, a TTL and an owner token stop a stale worker from overwriting a result (#176).
- Smaller fixes: custom User-Agent per LLM profile, the custom-tool proxy scheme fix, and the
list_task_credentialsschema fix (#155, #187, #130).
Upgrade notes
- No manual migration: schema changes are idempotent at startup. Existing findings stay
unverified, and the new optional fields default to empty. - The target gate is off by default. With it off, behavior is unchanged. With it on, an uncovered target waits for an approval.
goal_metrefuses while a goal is open, andprove_goalaccepts a fact only withconfidence=observed.- The planner and the main agent now run the
[built-in]deny rules (destructive commands, delete-style endpoints). User rules and the judge still do not apply to them. - Findings gain
counterevidenceandconfidence_rationale, optional and never blocking. Existing databases receive the schema property at startup. - 0.5.x is no longer supported. Fixes target the latest release line only; upgrade to 0.6.0.
Known limits
- The target gate reads the targets a call declares. A subprocess that builds its target at run time is not seen, and a call through a proxy is not bound yet (recording-proxy binding is step 2.2).
- URL rules match the URL as written, with no normalization; use a domain, IP or CIDR rule to keep an agent away from a host.
- Fact provenance arrives in 0.7.0. Until then,
prove_goaltrusts theconfidencethe model declared. - The new
add_hintandprove_goaltool descriptions reach fresh databases only; the server-side refusals apply everywhere. - The prompt rules are advisory to the model. The enforced parts are the
goal_met/prove_goalhandlers, the built-in deny rules and the target gate. - No Docker image is published for this release. Build from the checkout with
docker compose up -d --build, or use a binary from the assets below.
Contributors
- @kiserufetch: thank you for the
list_task_credentialsschema fix (#130). - @stevenAthompson: thank you for the Docker download verification and pinning work (#127), carried into #188.
Thanks to @p091 for the detailed Anthropic thinking report (#181), fixed in Norma v0.4.7.
Download the release binaries below: five platform zips plus SHA256SUMS. On Docker, the image is built from source, and ./update.sh handles the checkout and the rebuild.
v0.5.1 (unsupported)
See CHANGELOG.md for the list of changes in this release.
v0.5.0 (unsupported)
Summary
ARTEX v0.5.0 adds Ollama support, requires a one-time setup token before anyone can claim a fresh instance, removes startup secrets from the environment that agent shells and tools inherit, and makes the Docker image build from a fresh clone. It also moves to Go 1.26.10 and Node 22 and adds race-detector and shellcheck runs to CI. Full list: CHANGELOG.md. Entries marked "direct commit" landed on main without a pull request.
Upgrade note: first-run setup now asks for a setup token printed in the server log, and Docker installs publish port 8787 on 127.0.0.1 by default. Set ARTEX_BIND_ADDR=0.0.0.0 in .env, or use a reverse proxy or an SSH tunnel, for remote access.
New features
- Ollama support: an
ollamaLLM profile format for a local or LAN Ollama server. No API key is needed,OPENAI_API_KEYis never inherited, the base URL defaults tohttp://127.0.0.1:11434/v1and is normalized to the/v1root, and the profile works in the failover pool, task LLM chains, model listing and connection tests (#128). - Setup token for first-run setup: while no admin password is set, the server generates a random 128-bit one-time token at startup and prints it to its log (
docker compose logs artex | grep "Setup token"). The/setuppage asks for it and it is cleared once the password is stored (#137). ARTEX_BIND_ADDRsets the addressdocker-compose.ymlpublishes the web UI on; the default is127.0.0.1(#137).
Security fixes
- First-run claim: anyone who reached port 8787 on a fresh install before the operator could set the admin password.
POST /api/auth/initnow requires the setup token (constant-time comparison, 403 when missing or wrong), and Docker installs bind 8787 to loopback by default (#137). - Startup secrets removed from the environment:
ARTEX_PG_DSN,ANTHROPIC_API_KEYandOPENAI_API_KEYare unset insideserver.Newafter they are read and before the MCP discovery goroutine and the task resume loop start, so agent shells, MCP stdio servers and custom tools no longer inherit them (#136).Newdid not apply its options, so the scrub from #136 did not run in the binary until #146 fixed it (#146). - Saved API keys go only to their own endpoint:
POST /api/llm/testandPOST /api/llm/modelsused a saved key for anybase_urlin the request body. A saved key is now sent only when the request's provider and normalized base URL match the ones it was saved for (#142). ARTEX_LLM_PROVIDERis matched case-insensitively: a value such asOllamafell through to the Anthropic default and sentANTHROPIC_API_KEYto the configured base URL (#140).
Bug fixes
- Ollama base URL on the environment path is normalized to the
/v1root like the saved-profile path, so an Ollama server configured throughARTEX_LLM_BASE_URLno longer answers 404 on chat (direct commit 1c35c9c). - A malformed
config.jsonis an error with the file path, instead of being treated as missing (#141). install.shescapes the values it writes intoconfig.jsonand.env, so passwords containing",\,|or&no longer corrupt them; the port must be numeric (#141).scripts/backup.sh --keep 0is rejected instead of deleting every dump, including the one just written; values with a leading zero are rejected too (#139).backups/is ignored again in.gitignore, so database dumps no longer show up as untracked files (#138).
Build and CI
- The image is built from the checkout instead of pulled from the defunct
autumn27/artexnamespace;install.shandupdate.shbuild it locally (direct commit 1ed154e). - A fresh clone builds the image: the Dockerfile is now a multi-stage build (Node 22 frontend export, Go 1.26
build.shwith the release job's flags, runtime image) and no longer needs a prebuiltdist/binary (#147). update.shstops on a diverged clone with recovery commands instead of rebuilding the old tree (direct commit 1ed154e).- CI runs
go test -raceon every package with tests except./server, andshellcheck -S warningoninstall.sh,update.sh,start.shandscripts/backup.sh(#144). The race run has its own database (direct commit 0477751).
Upgrades
- Go 1.26.10 (was 1.26.3) and
golang.org/x/netv0.62.0 (was v0.58.0), with x/crypto 0.58.0, x/text 0.43.0, x/sys 0.49.0, x/sync 0.24.0, x/mod 0.41.0 and x/tools 0.51.0 (#145). - Node 22 in the runtime image instead of the end-of-life Node 20 (#143).
Known issues
- The JWT signing key is not in the Docker volume. The server writes
jwt.keynext to the executable (/app/jwt.keyin the image), not in/app/dataas the Dockerfile anddocker-compose.ymlcomments say. Recreating the container (for exampledocker compose up -d --buildafter an update) generates a new key and signs every user out. A key found atdata/jwt.keyis moved to/app/jwt.keyon start and removed from the volume. - The secret scrub has limits. A process running as the same user can still read the server's
/proc/<pid>/environ(and, in Docker, that of PID 1,start.sh). Other variables that may carry credentials, such asARTEX_LLM_PROXY, are not scrubbed. - The LLM test and model-list endpoints still take
proxyfrom the request, so a saved key can pass through a request-supplied proxy when the base URL is plain HTTP. - Postgres passwords with
@,/,#or?break theARTEX_PG_DSNthatdocker-compose.ymlbuilds by interpolation, and Compose interpolates$in.env. - The Docker build context includes local secrets:
.dockerignoredoes not exclude.env,config.jsonorjwt.key, so the build stage'sCOPY . .puts them in a build-stage layer of the local builder cache. They are not copied into the final image. - Image supply chain: recon tools are downloaded at pinned versions but not checksum-verified, sqlmap tracks its default branch, and the Playwright packages are installed at
@latest. Draft #127 proposes checksum verification. - No Docker image is published for this release. The release workflow's
dockerjob only runs whenDOCKERHUB_ENABLEDis set. Build the image from the checkout withdocker compose up -d --build. - CI gaps:
./serverdoes not run under-race; there is nogovulncheckstep and nodocker buildjob. Four tests skip themselves (see #9). - Reported, not fixed in this release:
list_task_credentialsemits an invalid"required": [""]schema that strict LLM providers reject (#130), and the MCP Streamable HTTP client fails against servers that only support protocol version 2025-11-25 (#131, fix proposed in #132).
Contributors
- @glauberportella: thank you for Ollama support (#128), a careful change across the provider, profile storage, failover pool, task chains and settings UI that keeps the profile keyless without ever falling back to a cloud key or endpoint.
- @BaaRai: thank you for authoring the security, bug-fix, build and CI changes in #136 through #147, and for reviewing, verifying and merging #128.
v0.4.0 (unsupported)
First release of this fork. The engine underneath is still upstream's, but this tree carries a long stretch of operational work on top of it.
Highlights
- Recon toolbox baked into the image: nuclei, httpx, subfinder, katana, ffuf and dalfox at release-pinned versions, plus a sqlmap checkout that tracks the default branch. Each one is smoke tested at build time by running it once; none is checksum verified in this release, and #127 adds checksum verification.
- Recursive recon skill: bbot v3.0.2 with a policy gate. Passive, zero-touch scans when a program bans scanners; active modules only when it allows them.
- php2shell skill: upgrade a file-inclusion finding to verified RCE, lab first and gated on program policy.
- Goal ambiguity gate at task creation, plus LLM chain failure escalation and per-intent profile rotation.
- Stagnation warning in the graph overview when a worker repeats itself without producing findings.
- Per-task credentials vault, cost ledger with per-call token accounting, backup script, MCP health reporting.
- Findings discipline: proof-basis gates, measured impact, adversarial verification and dedup rules.
Changed
- Norma upgraded to v0.4.4: per-task process-tree memory watchdog, UTF-8 aligned truncation, non-interactive subprocess environments, message_delta usage recovery, streaming fixes.
- Pause preserves the task timeout budget; paused time is frozen in the task clock.
- Prompt-injection hardening on seed material and MCP tool descriptions.
Removed
- In-app self-update and the automatic version check. The update source was hard-coded to a repository that no longer exists and its checksums came from the same release. Upgrade with
update.shor a release archive. Thanks to @stevenAthompson for this one.
Full details in CHANGELOG.md.
Images are not published to a registry from this repository yet. Build locally with the Dockerfile, or run the archive for your platform.