zaproxy / zaproxy/zaproxy

Threading for importing URLs

Open
#8,702 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

add-on enhancement in:exim
Dominant language
Java
Stars
15.8k
Forks
2.6k
Avg merge
13h 16m
Merged PRs (30d)
17

Description

Is your feature request related to a problem? Please describe.

We are doing some URL importing and it appears that importing the URLs happens sequentially. When I import a URL, it appears that ZAP tries to access it. If I am importing a few hundred URLs, this can take several minutes, slowing down the scan significantly.

I asked Cursor to help identify the problem and it highlighted this file and section of code. It appears to be accurate.

image

Describe the solution you'd like:

It should still access the URLs by design. Adding threading could speed up this process.

Describe alternatives you've considered:

See above

Screenshots:

See above

Additional context:

No response

Would you like to help fix this issue?
  • Yes

Contributor guide

Open the contributing guide

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.

Research direction

Start with the file and code section identified in the attached screenshot, then trace the URL-import entry point and how each URL is accessed. Check for existing import or scan tests before deciding how concurrency should be bounded; done means importing many URLs remains functional while avoiding strictly sequential access.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.