ARTEX/agent
BaaRai cb5c3334d1 security: keep model credentials on their origin and pin shipped inputs
Model clients built from a config without an explicit redirect policy followed
any redirect, so a 30x could replay the request body and credential headers
(API key, Anthropic credential header) at another host. They now refuse a hop
that changes scheme or host and keep same-origin redirects.

Supply-chain hardening from the same report: docker-compose.ghcr.yml defaults
to the released 0.7.1 images instead of latest, the Playwright skill installs
the pinned 0.1.22 CLI instead of @latest, and the API-recon skill uses npm ci
with its lockfile instead of a floating npm install.
2026-12-01 02:55:22 +01:00
..
adversarial_gate_seed_test.go feat: adversarial verification gate before confirmed findings 2026-10-12 06:26:51 +02:00
agentic_guards_test.go fix(agent,db): isolate fact capture provenance and tighten prove_goal (#602) 2026-11-28 10:00:55 +01:00
antipoll.go fix(engine,agent): emit ask_operator handoff with operator_handoff cause on poll-loop stop 2026-11-27 22:19:40 +01:00
antipoll_test.go feat(agent,db,server): add anti-poll escalation and RetargetTask helper 2026-11-27 22:19:40 +01:00
assembly.go chore: keep raw config snapshot JSON, multiline panic stack, and isolated slog test 2026-11-26 20:42:19 +07:00
assembly_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
auto_scope_hygiene_test.go test: clean up residual findings, retest conversations, parent assets, and test rows 2026-11-20 22:18:53 +01:00
bbot_ingest.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
bbot_ingest_confined_test.go security(agent): confine ingest_bbot; write tool scripts outside the run dir 2026-11-20 05:35:54 +01:00
bbot_ingest_test.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
bbot_ingest_tool.go agent: run the file tools as the executor identity 2026-11-22 23:00:41 +01:00
bbot_ingest_tool_pg_test.go security(agent): confine ingest_bbot; write tool scripts outside the run dir 2026-11-20 05:35:54 +01:00
bbot_ingest_tool_test.go Add ingest_bbot tool (bbot JSONL, typed scope split) 2026-11-12 12:35:06 +01:00
bedrock_gateway.go fix(llm): retry Bedrock chat requests as chat completions 2026-11-28 09:33:24 +01:00
bedrock_gateway_test.go fix(llm): retry Bedrock chat requests as chat completions 2026-11-28 09:33:24 +01:00
blackboard_inheritance_test.go test(agent): restore company scope coverage (#662) 2026-11-29 01:02:27 +01:00
budget.go fix(server,agent): enforce planner run budgets and stop revive loops (#705) 2026-11-30 22:38:54 +01:00
budget_test.go fix(server,agent): enforce planner run budgets and stop revive loops (#705) 2026-11-30 22:38:54 +01:00
cadence_budget_test.go feat(agent,server,web): expose planner budget countdown, cap seed intents, wake on assets/findings, and add POST /extend 2026-11-28 03:03:19 +01:00
cancelcause.go fix(engine,agent): emit ask_operator handoff with operator_handoff cause on poll-loop stop 2026-11-27 22:19:40 +01:00
capability.go docs(agent): state that capabilities are exploitation capabilities, not agent permissions (#613) 2026-11-27 22:20:09 +01:00
capability_ledger_test.go feat(agent,db): add planner capability ledger (#613) 2026-11-27 22:19:43 +01:00
capture.go fix(agent): support curl -w status:size, expand Bash multi-URL loops, and widen gated-route block 2026-11-28 03:19:30 +01:00
capture_approval_test.go test(agent): restore approval lifecycle coverage (#663) 2026-11-29 01:02:27 +01:00
capture_usage_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
chat.go fix(agent): keep Auto and MainAgent on orchestration tools, not Bash/WebFetch 2026-11-26 21:35:20 +01:00
chat_session_id_test.go fix(agent): reject unsafe ChatAgent session ids 2026-11-18 22:40:21 +01:00
clipbody_test.go fix(agent): keep LLM connection-test logs on one line 2026-11-21 19:54:18 +00:00
coldgraph.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
coldgraph_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
compaction.go fix(compaction): omit hardcoded thinking=disabled to avoid Anthropic 400 (#550) 2026-11-27 01:08:45 +01:00
compaction_thinking_test.go fix(compaction): omit hardcoded thinking=disabled to avoid Anthropic 400 (#550) 2026-11-27 01:08:45 +01:00
conntest_tools_test.go fix(agent): reject tool calls and tool_calls finish_reason in TestConnection (#526) 2026-11-27 01:08:46 +01:00
constraints.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
coverage.go chore: migrate log.Printf to log/slog in agent and cmd 2026-11-25 13:24:45 +07:00
coverage_flag_test.go test: clean up residual findings, retest conversations, parent assets, and test rows 2026-11-20 22:18:53 +01:00
coverage_ledger.go feat(skills,agent,server): add API wordlist, 5-part discovery gate, and opt-in target fingerprint 2026-11-28 03:03:19 +01:00
coverage_ledger_test.go Coverage ledger: review fixes (one-line capped fields, framed gap lines, per-run end_reason) 2026-11-12 20:48:34 +01:00
data_envelope.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
data_envelope_test.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
deadline_contract_seed_test.go feat: deadline contract in the executor seeds 2026-10-12 07:30:27 +02:00
deferred.go agent: list available skills in the system prompt 2026-11-21 22:00:22 +03:00
deferred_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
discovery_gate.go fix(agent,server): scope discovery coverage by surface with >=50 entries and warn on JSON/all-404 CTF vhosts 2026-11-28 03:19:30 +01:00
discovery_gate_extra_test.go fix(agent,server): scope discovery coverage by surface with >=50 entries and warn on JSON/all-404 CTF vhosts 2026-11-28 03:19:30 +01:00
discovery_gate_test.go feat(skills,agent,server): add API wordlist, 5-part discovery gate, and opt-in target fingerprint 2026-11-28 03:03:19 +01:00
enrich_trigger_test.go fix(agent): wire enrichment trigger in insert_assets (#638) 2026-11-28 19:24:53 +01:00
fact_assets.go fix: repair record_fact input contracts and asset aliases 2026-11-17 06:14:31 +00:00
fact_assets_test.go fix(agent): publish record_fact as a facts-only contract 2026-11-20 10:03:52 +00:00
fact_capture_scope_test.go fix(agent,db): isolate fact capture provenance and tighten prove_goal (#602) 2026-11-28 10:00:55 +01:00
fact_input.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
fact_input_legacy.go fix(server): recognise the released record_fact descriptions as known defaults 2026-11-20 18:48:06 +01:00
fact_input_test.go fix(agent): anchor the record_fact summary pattern for Ollama (#595) 2026-11-27 09:57:23 -05:00
fact_only_block_test.go fix(agent,db): finish the fact-only counter 2026-11-23 23:12:41 +01:00
fact_provenance_test.go fix(agent,db): isolate fact capture provenance and tighten prove_goal (#602) 2026-11-28 10:00:55 +01:00
filetools.go security: isolate task execution in per-task sandbox worker and egress proxy 2026-11-30 19:09:32 +01:00
filetools_identity.go agent: run the file tools as the executor identity 2026-11-22 23:00:41 +01:00
filetools_identity_linux.go agent: test that the file tool identity stays on its own thread 2026-11-22 23:00:41 +01:00
filetools_identity_other.go agent: run the file tools as the executor identity 2026-11-22 23:00:41 +01:00
filetools_identity_root_linux_test.go agent: run the file tools as the executor identity 2026-11-22 23:00:41 +01:00
filetools_identity_scope_root_linux_test.go agent: test that the file tool identity stays on its own thread 2026-11-22 23:00:41 +01:00
filetools_identity_test.go agent: run the file tools as the executor identity 2026-11-22 23:00:41 +01:00
filetools_other.go security(agent): confine the file tools and close the executor review 2026-11-20 05:35:54 +01:00
filetools_test.go security(agent): refuse run dirs reached by symlink; scrub S3 archive keys 2026-11-20 05:35:54 +01:00
filetools_unix.go security(agent): confine the file tools and close the executor review 2026-11-20 05:35:54 +01:00
finding_dedup_seed_test.go feat: duplicate discipline before report_finding and in the reporter 2026-10-12 07:29:59 +02:00
finding_fingerprint.go feat(agent): add deterministic finding fingerprint deduplication complementing LLM triage (#473) 2026-11-27 01:08:46 +01:00
finding_fingerprint_test.go feat(agent): add deterministic finding fingerprint deduplication complementing LLM triage (#473) 2026-11-27 01:08:46 +01:00
finding_hint_degrade_test.go fix(tools): degrade stale or invalid evidence_hint_id cleanly in report_finding (#550) 2026-11-27 01:08:45 +01:00
finding_quality_seed_test.go feat: measured impact and attacker-goal proof standard for findings 2026-10-12 06:25:35 +02:00
finding_reasoning_test.go test: clean up residual findings, retest conversations, parent assets, and test rows 2026-11-20 22:18:53 +01:00
finding_recorder.go refactor(agent): remove unused finding traffic guidance 2026-11-21 21:30:58 +03:00
finding_recorder_source_test.go refactor(agent): remove unused finding traffic guidance 2026-11-21 21:30:58 +03:00
finding_recorder_test.go test: clean up residual findings, retest conversations, parent assets, and test rows 2026-11-20 22:18:53 +01:00
finding_workflow.go fix(agent,db): isolate fact capture provenance and tighten prove_goal (#602) 2026-11-28 10:00:55 +01:00
finding_workflow_test.go agent: state on the tools that traffic binding is off when the switch is off 2026-11-21 20:58:25 +03:00
gate_constant.go fix(agent): support curl -w status:size, expand Bash multi-URL loops, and widen gated-route block 2026-11-28 03:19:30 +01:00
gate_constant_extra_test.go fix(agent): support curl -w status:size, expand Bash multi-URL loops, and widen gated-route block 2026-11-28 03:19:30 +01:00
gate_constant_test.go feat(agent,traffic,server): add constant-gate detector, gate_constant intent guard, and sweep handoff 2026-11-28 03:03:19 +01:00
goals.go fix(goals): fall back to raw goal only when no LLM provider is configured (#585) 2026-11-27 01:39:33 +01:00
goals_contract_test.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
hooks_reach_test.go fix(agent): keep Auto and MainAgent on orchestration tools, not Bash/WebFetch 2026-11-26 21:35:20 +01:00
hypothesis.go fix(agent,server): scope discovery coverage by surface with >=50 entries and warn on JSON/all-404 CTF vhosts 2026-11-28 03:19:30 +01:00
hypothesis_ledger_test.go feat(agent,db): add planner hypothesis ledger with closed-variant guard 2026-11-27 22:19:43 +01:00
insert_assets_test.go Refactor PostgreSQL test skipping logic 2026-11-19 14:23:29 -03:00
intent_context.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
intent_context_test.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
knowledge_tool.go feat(agent): add versioned knowledge pack and knowledge_lookup tool 2026-11-24 01:13:15 +01:00
knowledge_tool_test.go feat(agent): add versioned knowledge pack and knowledge_lookup tool 2026-11-24 01:13:15 +01:00
lease_status_test.go fix(intercept,agent): add wait_for_lease tool, 900s TTL margin, worker-safe conflict text, and env validation 2026-11-28 03:03:19 +01:00
mainagent.go fix(agent,db): isolate fact capture provenance and tighten prove_goal (#602) 2026-11-28 10:00:55 +01:00
noa.go chore: migrate log.Printf to log/slog in agent and cmd 2026-11-25 13:24:45 +07:00
noa_budget.go fix(server): do not rerun intents refused by the NOA budget 2026-11-15 22:26:21 +01:00
noa_budget_test.go fix(server): do not rerun intents refused by the NOA budget 2026-11-15 22:26:21 +01:00
noise_profile.go fix(agent): noise prompt states what the capture proxy paces 2026-11-15 01:23:56 +01:00
noise_profile_test.go fix(agent): keep Auto and MainAgent on orchestration tools, not Bash/WebFetch 2026-11-26 21:35:20 +01:00
operator_handoff_seed_test.go feat: ask_operator environmental handoff discipline 2026-10-12 06:45:21 +02:00
orchestrator_tools_test.go fix(agent): keep Auto and MainAgent on orchestration tools, not Bash/WebFetch 2026-11-26 21:35:20 +01:00
p43_adversarial_bench_test.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
p43_envelope_and_scan_test.go security(agent): frame worker assets, stagnation, agent credentials, todos and refuse symlinks in openScanOutput 2026-11-21 08:10:52 +01:00
p43_proof_gate_test.go fix(agent,db): isolate fact capture provenance and tighten prove_goal (#602) 2026-11-28 10:00:55 +01:00
planner.go fix(server,agent): enforce planner run budgets and stop revive loops (#705) 2026-11-30 22:38:54 +01:00
planner_focus.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
planner_focus_test.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
planner_progress.go fix(server,agent): enforce planner run budgets and stop revive loops (#705) 2026-11-30 22:38:54 +01:00
planner_progress_bounds_test.go fix(planner): bound retries with backoff, expose state, resume planning, and migrate 0021 (#676) 2026-11-30 03:16:35 +01:00
planner_progress_regression_test.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
planning_compatibility_extra_test.go fix(planner): bound retries with backoff, expose state, resume planning, and migrate 0021 (#676) 2026-11-30 03:16:35 +01:00
planning_compatibility_test.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
prompt.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
prompt_injection_seed_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
prompt_now_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
prompt_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
promptcatalog.go fix(agent): keep Auto and MainAgent on orchestration tools, not Bash/WebFetch 2026-11-26 21:35:20 +01:00
provider.go security: keep model credentials on their origin and pin shipped inputs 2026-12-01 02:55:22 +01:00
provider_capture_e2e_test.go feat(llmrec): 录制 LLM 请求/响应 HTTP 原文 2026-08-25 09:40:05 -04:00
provider_capture_test.go feat(llm): optional custom User-Agent for LLM requests 2026-11-08 17:11:43 +01:00
provider_env_test.go feat: add bearer-authenticated Bedrock gateway profiles 2026-11-22 18:27:43 +08:00
provider_openai_compatible_test.go web: add a neutral "Custom OpenAI-compatible" preset for LLM profiles 2026-11-29 00:01:51 +01:00
provider_quota_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
provider_redirect_test.go security: keep model credentials on their origin and pin shipped inputs 2026-12-01 02:55:22 +01:00
provider_responses_test.go feat(llm): 支持 OpenAI Responses API 格式的 LLM 配置 2026-08-25 11:39:24 -04:00
provider_window_test.go fix(server): use the real context window for llmpool and sidequestion 2026-11-17 12:56:13 +00:00
providerstop.go fix: report provider refusals, do not rerun them as idle turns 2026-11-18 00:41:18 -06:00
providerstop_test.go fix: report provider refusals, do not rerun them as idle turns 2026-11-18 00:41:18 -06:00
proxyenv_test.go feat(traffic): pace Bash requests at the capture proxy 2026-11-15 00:57:13 +01:00
record_fact_shapes_test.go fix(agent): publish record_fact as a facts-only contract 2026-11-20 10:03:52 +00:00
retester.go feat: adversarial verification gate before confirmed findings 2026-10-12 06:26:51 +02:00
review_context_test.go Refactor PostgreSQL test skipping logic 2026-11-19 14:23:29 -03:00
rundir_test.go security(agent): share only run-dir leaves; main agent gets its own leaf 2026-11-20 05:35:55 +01:00
runinfo.go fix(server): scope update_finding_report writes to the caller's task 2026-11-30 23:20:40 +01:00
sandbox.go security: isolate task execution in per-task sandbox worker and egress proxy 2026-11-30 19:09:32 +01:00
sandbox_test.go security: isolate task execution in per-task sandbox worker and egress proxy 2026-11-30 19:09:32 +01:00
scan_ingest.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
scan_ingest_test.go security(agent): frame worker assets, stagnation, agent credentials, todos and refuse symlinks in openScanOutput 2026-11-21 08:10:52 +01:00
scan_ingest_tool.go agent: run the file tools as the executor identity 2026-11-22 23:00:41 +01:00
scan_ingest_tool_pg_test.go test: clean remaining residual rows across db, agent, and server test suites 2026-11-20 22:54:57 +01:00
session.go fix(agent): stop on transcript restore failures and keep session identity without persistence 2026-11-15 15:32:07 +01:00
session_header_test.go feat(llm): 每个 LLM 配置支持自定义会话头 2026-09-07 11:21:50 -04:00
session_test.go fix(agent): stop on transcript restore failures and keep session identity without persistence 2026-11-15 15:32:07 +01:00
side_questions.go feat(agent): 支持持久化 /btw 旁路提问 2026-09-10 21:42:25 +08:00
side_questions_test.go security(agent): confine the file tools and close the executor review 2026-11-20 05:35:54 +01:00
skill_index_test.go agent: list available skills in the system prompt 2026-11-21 22:00:22 +03:00
slog_test.go chore: keep raw config snapshot JSON, multiline panic stack, and isolated slog test 2026-11-26 20:42:19 +07:00
spill.go chore: migrate log.Printf to log/slog in agent and cmd 2026-11-25 13:24:45 +07:00
spill_test.go security(agent): command-output spills go to a root-owned per-task dir 2026-11-20 05:35:55 +01:00
stagnation_test.go feat(engine): ouroboros takes - goal ambiguity gate, failover escalation, stagnation surfacing 2026-10-21 14:46:56 +02:00
target_gate_tools_test.go feat(intercept): target extraction, resolver, exemptions and the gate in the hook (S3b 1.5-1.7) 2026-11-11 00:34:55 +01:00
task_brief.go feat(agent,intercept): add compact task_brief coordination and structured wait_for_lease active-lease dedup 2026-11-28 03:03:19 +01:00
task_brief_test.go feat(agent,intercept): add compact task_brief coordination and structured wait_for_lease active-lease dedup 2026-11-28 03:03:19 +01:00
taskclock.go feat(agent,server,web): expose planner budget countdown, cap seed intents, wake on assets/findings, and add POST /extend 2026-11-28 03:03:19 +01:00
terminalreason.go fix(engine,agent): emit ask_operator handoff with operator_handoff cause on poll-loop stop 2026-11-27 22:19:40 +01:00
terminalreason_test.go feat(engine): intent claim heartbeat, TTL and fencing token (S3c) 2026-11-10 17:45:11 +01:00
testmain_test.go test(agent,server): run the tests in a temp directory of their own 2026-11-20 06:38:10 +01:00
tool_page_test.go fix(agent): cap list tool page sizes 2026-11-26 11:38:19 +00:00
toolcatalog.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
toolcatalog_test.go fix(tools): harden obj against blank required names and heal seeded list_task_credentials rows 2026-11-10 09:46:49 +01:00
toolrag.go feat(agent,intercept): add compact task_brief coordination and structured wait_for_lease active-lease dedup 2026-11-28 03:03:19 +01:00
toolrag_test.go agent: guard ToolAugment/ToolResolve hooks against concurrent access 2026-11-14 13:46:03 +01:00
tools.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
tools_creds.go fix(tools): drop empty required entry from list_task_credentials schema 2026-11-02 09:05:03 +03:00
tools_digest.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
tools_ghidra.go feat(agent): add optional hardened Ghidra static-analysis sidecar tools (#591) 2026-11-29 21:47:40 +01:00
tools_ghidra_test.go feat(agent): add optional hardened Ghidra static-analysis sidecar tools (#591) 2026-11-29 21:47:40 +01:00
tools_insert.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
tools_nil_store_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
tools_overview_test.go fix(rsi): honor triage status in goals and lesson scope 2026-11-21 08:50:26 +01:00
triage.go chore: migrate log.Printf to log/slog in agent and cmd 2026-11-25 13:24:45 +07:00
triage_override_test.go agent: close the review blockers on the advisory duplicate check 2026-11-23 17:22:16 +03:00
triage_review_test.go agent: close the review blockers on the advisory duplicate check 2026-11-23 17:22:16 +03:00
triage_test.go fix(agent): make the triage threshold atomic 2026-11-23 22:24:53 +01:00
untrusted_boundary.go Refactor PostgreSQL test skipping logic 2026-11-19 14:23:29 -03:00
untrusted_boundary_test.go Untrusted boundary ON by default (opt-out via ARTEX_UNTRUSTED_BOUNDARY=0) 2026-11-12 14:46:44 +01:00
untrusted_prompt.go agent: untrusted-content tail for every chat agent; evidence wording fits the reporter 2026-11-11 21:59:09 +01:00
user_agent_test.go fix(llm): validate custom User-Agent in the connection-test path 2026-11-08 18:15:33 +01:00
webfetch.go security: isolate task execution in per-task sandbox worker and egress proxy 2026-11-30 19:09:32 +01:00
webfetch_dialer_test.go fix(agent): keep Auto and MainAgent on orchestration tools, not Bash/WebFetch 2026-11-26 21:35:20 +01:00
webfetch_egress_test.go feat(egress): change the noise profile at runtime 2026-11-14 23:30:06 +01:00
webfetch_redirect_test.go fix(agent): keep Auto and MainAgent on orchestration tools, not Bash/WebFetch 2026-11-26 21:35:20 +01:00
worker.go fix: recover empty planning rounds in large graphs (#676) 2026-11-30 03:16:35 +01:00
worker_cache_prefix_test.go security(agent): frame worker assets, stagnation, agent credentials, todos and refuse symlinks in openScanOutput 2026-11-21 08:10:52 +01:00
worker_intervention_test.go 新增worker直接对话 2026-08-29 21:55:27 +08:00
wrapup.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00