ARTEX/server
BaaRai b81c6238a7 feat: codeaudit skill (white-box source audit pipeline)
ARTEX hunts live targets well but has no methodology for auditing source
code handed to it (a plugin, an application, a repository). White-box
audits so far ran on ad-hoc task goals with no shared procedure.

Adds skills/codeaudit/SKILL.md, distilled from VulnHunter's methodology
(Apache-2.0) and adapted to ARTEX mechanics (work dir artifacts, facts,
report_finding, the standing quality and adversarial gates):

- production-code-only scope rules, with the checked-in infra-config
  exception (reverse proxy / trust / CORS directives are in scope)
- phase 1: every user-controllable input inventoried with dispositions,
  codebase partitioning, shared defense catalog
- phase 2: attacker-first forward tracing per vuln class, with the
  investigation discipline (never stop at abstraction boundaries, audit
  all parameters at outbound call sites, exhaust all paths, follow
  through stores and responses, transitive caller search on sinks)
- three gates (reachable, attacker-controlled, new capability), comment
  skepticism, sanitizer scope mismatch, anti-merge
- PoC preference order (executed against a local instance beats static
  trace; static PoCs carry entry value, file:line chain, sink literal,
  impact), measured impact per the standing gates
- sweep with per-instance dispositions and a count cross-check that
  forbids silent drops

Also fixes the shipped scopesentry skill, which the new guard test
caught immediately: its frontmatter block was never closed and its name
did not match its directory, so the whole file failed frontmatter
parsing and silently degraded to an empty description (the skill has
been undiscoverable). The new server test parses every shipped skill
with the real parser and fails on any skill LoadDir cannot read or that
ends with an empty description.
2026-10-12 06:41:22 +02:00
..
ask_operator.go feat: ask_operator tool - workers can request operator input (captcha/OTP) with a screenshot and pause 2026-10-11 23:06:39 +02:00
ask_operator_test.go feat: ask_operator tool - workers can request operator input (captcha/OTP) with a screenshot and pause 2026-10-11 23:06:39 +02:00
assembly.go feat: first-layer prompt-injection hardening for agents 2026-10-12 00:58:53 +02:00
assembly_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
asset_intercept.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
assets.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
assets_scope_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
auth.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
auth_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
broadcast.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
chat_llm_resolve_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
chat_mentions.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
chat_mentions_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
chatupload.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
commands.go chore: sync upstream v0.3.6 changes 2026-08-28 14:03:07 +08:00
constraints_api.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
conversation_status_test.go feat: 支持会话级漏洞复测与运行状态展示 2026-09-10 16:06:08 +08:00
conversations.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
core_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
customtool.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
customtool_test.go fix(tools): MCP/自定义工具输出统一走 Capture 截断,修复 mcp 截断不生效 (#176) 2026-09-29 10:09:23 -04:00
dto.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
engine.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
engine_cancelcause_test.go 重构 worker 对话:复用 resume 机制,改专属 goroutine 运行 2026-08-31 09:00:21 -04:00
engine_emptyturn_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
engine_llm_calls_test.go feat(llm): add profile failover and pool health 2026-08-24 19:28:18 +08:00
engine_timeout.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_retests.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_retests_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_traffic.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_traffic_export.go feat: 支持漏洞关联多条流量证据 2026-09-10 13:03:20 +08:00
finding_traffic_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_workflow.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_workflow_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
findings_groups.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
findings_groups_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
goals.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
goals_api.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
goals_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
inheritance_api_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
inheritance_dto_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
intent_intervention.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
intercept.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
intercept_detail_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
intercept_filter_test.go Skip the four known-broken tests in code instead of CI -skip flags 2026-10-10 18:12:42 +02:00
intercept_live_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
intercept_review_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
llmpool.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
llmpool_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
llmrec_raw_test.go feat(llmrec): 录制 LLM 请求/响应 HTTP 原文 2026-08-25 09:40:05 -04:00
llmretry.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
llmretry_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
logsink.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
manager.go fix(tasks): freeze the timeout budget while a task is paused 2026-10-09 11:37:30 +02:00
manager_delete_files_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
manager_lifecycle_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
mcp_health_test.go feat: surface MCP server connect health to operators and agents 2026-10-11 22:50:00 +02:00
mcpdiscover.go feat: surface MCP server connect health to operators and agents 2026-10-11 22:50:00 +02:00
mgmt_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
notifier.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
notify_api.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
notify_api_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
orchestration.go feat: ask_operator tool - workers can request operator input (captcha/OTP) with a screenshot and pause 2026-10-11 23:06:39 +02:00
platform_tools.go feat: ask_operator tool - workers can request operator input (captcha/OTP) with a screenshot and pause 2026-10-11 23:06:39 +02:00
platform_tools_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
prompt_vars_test.go 同步 2026-08-24 14:14:15 +08:00
scheduler.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
server.go fix: emit safe skill frontmatter YAML and verify it round-trips 2026-10-11 22:26:22 +02:00
server_mgmt.go fix: emit safe skill frontmatter YAML and verify it round-trips 2026-10-11 22:26:22 +02:00
shipped_skills_test.go feat: codeaudit skill (white-box source audit pipeline) 2026-10-12 06:41:22 +02:00
side_questions.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
side_questions_test.go feat(intent): 意图删除支持假删除/真删除两种模式 2026-09-17 12:52:57 -04:00
skill_frontmatter_test.go fix: emit safe skill frontmatter YAML and verify it round-trips 2026-10-11 22:26:22 +02:00
skill_upload_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
skill_usage.go feat(skills): track usage and missing dependencies 2026-08-24 19:30:14 +08:00
skill_zip.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
sync_scopesentry.go feat: rea reverse-engineering skill + per-server MCP HTTP request timeout 2026-10-11 19:02:23 +02:00
task_admission_test.go 同步 2026-08-24 14:14:15 +08:00
task_archive_package.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_archive_package_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_archives.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_archives_test.go 归档 2026-08-28 12:56:29 +08:00
task_assets.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_categories.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_categories_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_control.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_control_routes_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
task_credentials.go feat(tasks): per-task test-account credentials 2026-10-09 14:28:08 +02:00
task_credentials_test.go feat(tasks): per-task test-account credentials 2026-10-09 14:28:08 +02:00
task_delete_barrier_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_intercept.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_llm.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_llm_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_metadata.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_metadata_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_pause_deadline_test.go fix(tasks): freeze the timeout budget while a task is paused 2026-10-09 11:37:30 +02:00
task_resolution.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_templates.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
task_templates_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
testmain_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tool_usage.go 抽屉优化 2026-08-25 12:05:26 +08:00
tool_usage_test.go 抽屉优化 2026-08-25 12:05:26 +08:00
tools_wire_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
traffic_ingest.go Traffic ingest: capture operator browsing via a browser extension 2026-10-11 14:53:08 +02:00
traffic_ingest_test.go Traffic ingest: capture operator browsing via a browser extension 2026-10-11 14:53:08 +02:00
trigger_merge_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
triggers.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
update.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
update_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
webui_embed.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
webui_stub.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
worker_message_test.go 重构 worker 对话:复用 resume 机制,改专属 goroutine 运行 2026-08-31 09:00:21 -04:00
workspace.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00