OWASP / OWASP/Nettacker

Inconsistent port extraction in process_conditions() in base.py

Open
#1,646 2 comments 0 reactions 1 assignee View on GitHub

@Aarush289 is already working on this.

Since Aug 5, 2026.

Dominant language
Python
Stars
5.6k
Forks
1.2k
Avg merge
1d 21h
Merged PRs (30d)
16

Description

process_conditions() extracts the port inconsistently across different code paths. While stop_at_first_success and normal event logging fall back to port or extract it from the URL, save_to_temp_events_only only checks the ports field, causing some modules to store an empty port.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.