[Feature request] Make the scanner User-Agent configurable per task

Open
#515 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

@jamesKhor is already working on this.

Since Nov 30, 2026.

  • #709 by @jamesKhor — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
backend, security

Research direction

The payload names only PR #509 and the ARTEX-Assessment/1.0 label, so start by reading that PR to find the built-in HTTP request code it changes. Check that the label is opt-in, that an explicitly set User-Agent overrides it, and that the optional engagement reference is handled for the task's approved origins. Phase 2 (capture proxy) is on hold, so leave it out. Scope is maintainer-approved, so confirm the direction with the maintainer before starting.

Written by the indexing model from the issue text.

Description

feature

Hi @BaaRai, I’ve just joined the project and opened PR #509 before discussing the idea here. I’d appreciate your thoughts on the feature and how much of it belongs in ARTEX.

When I investigate an alert, I often start with a User-Agent from the WAF logs and look for the same string across other IPs. During an authorized assessment, it would help if the tester and the SOC could agree on a scanner label beforehand. The analyst could then check matching requests against the approved sites, testing window, and request IDs. A User-Agent is easy to copy, so a match alone is a poor reason to dismiss an alert.

Phase 1 — built-in HTTP requests. PR #509 adds an opt-in ARTEX-Assessment/1.0 label and an optional public engagement reference for a task’s approved origins. An explicitly set User-Agent takes precedence. This is the part currently up for review.

Phase 2 — requests through the capture proxy. The proposal is to apply the same setting to HTTP and intercepted HTTPS when the proxy can verify which task sent the request and that the destination is approved. Two simultaneous tasks visiting the same site should each keep their own label. This phase is on hold pending your feedback and approval of Phase 1.

What the finished feature could look like. For an authorized run, the operator could keep the ARTEX default, choose a saved scanner label, or enter a custom string agreed with the site owner. For offline WAF testing, I’d also like to rotate through a defined list of User-Agent strings in a sample log so a SOC can check which known events its searches group together or miss.

What do you think? Would you keep the built-in client support as the first step? I’d also like to hear whether proxy support and the list-based log exercise would be useful to the project.

Dominant language
Go
Stars
18.7k
Forks
7k
Avg merge
10h 57m
Merged PRs (30d)
494

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BaaRai/ARTEX

All issues in BaaRai/ARTEX

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.