docs/config.md still says a running-target scan cannot be authenticated

Open Beginner friendly
#188 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
go
Domain
documentation

Research direction

Read the Scope section in docs/config.md around lines 434–463 and compare the “Authenticated scans” guidance with the leftover paragraph. Update the paragraph so it no longer says authentication cannot be configured, and state once that there is no login flow or cookie jar. Done when both acceptance criteria are met and the contradictory claim is gone.

Written by the indexing model from the issue text.

Description

documentation good first issue severity: medium

Summary

A paragraph in the Scope section says there is no setting for a login, a session cookie or an authorization header. The section 27 lines above it documents exactly that setting, and the code implements it.

Where

  • docs/config.md:463 (the leftover paragraph)
  • docs/config.md:434-453 ("Authenticated scans")
  • internal/config/config.go:122-129 (ScopeAuth)
  • internal/engine/live.go:70 (per-host notes)

Details

The paragraph reads: "A running-target scan is not authenticated. There is no setting for a login, a session cookie or an authorization header, and a cookie the target sets is not sent back. The scan covers what an anonymous visitor can reach, and every report of such a scan says so in its run notes." It predates [[auth]] / [[scope.auth]] and now contradicts the same page and the code. "Every report says so" is also no longer true for hosts that got a header.

Impact

A reader who lands on that part of the Scope section concludes that pages behind a login cannot be scanned.

Suggested fix

Delete the paragraph, or reduce it to what is still true (no login flow is performed and cookies set by the target are not kept), with a link to "Authenticated scans".

Acceptance criteria

  • docs/config.md no longer states that authentication cannot be configured
  • What is still true (no login flow, no cookie jar) is stated once

Related: #65

Getting started

  • Relevant files: docs/config.md
  • How to run tests: make test-short (Unix) or .\make.ps1 test-short (Windows PowerShell); make lint before you call it done
  • Related docs: docs/config.md

Filed by repo-audit/full-audit at 50e92ec. Severity: medium. Effort: S. audit-key: documentation|docs/config.md|scope-not-authenticated-paragraph

Dominant language
Go
Stars
0
Forks
1
Avg merge
8h 14m
Merged PRs (30d)
3

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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 TMHSDigital/Spackle

All issues in TMHSDigital/Spackle

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.