[Feature request] Paste a bug bounty program's scope (in scope, out of scope, wildcards) when creating a task
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start with ParseScopeLine in db/company_scope.go and its tests, since the wildcard rejection of *.example.com is the one self-contained step the issue proposes. Check how company domain scope matches on root_domain before deciding what a leading *. should map to. The maintainer has not yet answered the semantics questions in the thread, so confirm the intended behaviour before writing code. Done means the wildcard line parses and has tests, while the task-form preview and out-of-scope block rules stay out of scope for a first pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The README lists authorized bug bounty programs as a permitted use, and findings already track report_state for submissions (#308). Setting up a task from a program's scope page is still slow and easy to get wrong, and on a bounty program a scope mistake means testing something the program doesn't allow.
What I hit setting one up
- Wildcards are rejected. Most programs write in-scope entries as
*.example.com.ParseScopeLine(db/company_scope.go) returnsnot recognizable as a valid domain/IP/CIDR: *.example.com, so every such line has to be rewritten by hand. Plainexample.com, full URLs andhost:portparse fine. - Out-of-scope entries are added one row at a time. Programs usually list several excluded hosts (
admin.example.com,payments.example.com, a third-party status page). The task form's intercept rules editor takes one kind and pattern per row, while the company scope box already accepts a pasted list. - In scope and out of scope live in two places. In-scope goes into a company's scope, and exclusions go into the task's block rules. Nothing shows them side by side, so it is hard to check the setup against the program page before starting.
Proposal (vendor-neutral, plain text only)
One "Program scope" box on the task form. You paste text under In scope and Out of scope headings, or under two separate boxes. ARTEX shows a preview of what each line becomes before anything is saved:
*.example.com→ domain scope forexample.comand its subdomainsapi.example.com, a URL or a CIDR → scope rows, using the existing parser- an out-of-scope line → a task-level
blockrule (exact_domain,fuzzy_domain,exact_urlorcidr) - a line that can't be parsed → shown as an error in the preview and never silently dropped
There are no platform API integrations, tokens or scraping, just pasted text, so this stays generic like the rest of the provider and integration surface.
Suggested order, each step a small PR
- Accept a leading
*.inParseScopeLineas the domain itself, with tests. This is useful on its own. - Let the task intercept rules editor take a pasted list (one pattern per line, kind inferred), using the same preview.
- The combined "Program scope" box with the in/out preview on the task form.
Questions before I start
- Is a leading
*.mapping to the domain scope (example.comand subdomains) the semantics you want, or should*.example.comexclude the apex? - When a program puts only specific subdomains in scope (
api.example.com, but not the rest ofexample.com), what is the right place for that: a tasksubdomainscope row, or something else? Company domain scope matches onroot_domain, so I want to avoid widening scope by accident. - Is the task form the right home, or would you rather have it on the company page?
I'm happy to do steps 1 and 2 first and hold step 3 until the shape is agreed.
- Lingua principale
- Go
- Stelle
- 18.7k
- Fork
- 7k
- Merge medio
- 10h 41m
- PR unite (30g)
- 342
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di BaaRai/ARTEX
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothingForse già presa @chaitanya0305 l’ha presa oggi. Apertabug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
BaaRai/ARTEX#652 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
A finding reported with severity "High" is stored as-is, so it is missing from severity counts and min_severity channels drop itForse già presa @chaitanya0305 l’ha presa oggi. Apertabug P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 22/100
BaaRai/ARTEX#650 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
BaaRai/ARTEX#648 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Stateful guard misreads curl flags: `curl -f` GET is refused, `--json` / `-d@file` / `-T` POSTs skip the leaseForse già presa @chaitanya0305 l’ha presa oggi. Apertabug P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 30/100
BaaRai/ARTEX#644 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 4/5 1-2 giorni Idoneità per principianti 20/100
BaaRai/ARTEX#620 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di BaaRai/ARTEX
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
compiler-explorer/compiler-explorer#9710 ·
I maintainer di solito rispondono entro 1 giorno
-
Add govulncheck workflowApertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
losisin/helm-values-schema-json#437 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
kubernetes-sigs/controller-runtime#3704 ·
I maintainer di solito rispondono entro 1 giorno