docs(design): active testing, a throwaway copy first (t83) #934

Open
sharang wants to merge 3 commits from docs/t83-dast-decision into main
pull from: docs/t83-dast-decision
Owner

A design note for t83: how Prüfwerk can offer active tests (DAST, the automated pentest) without sending traffic to a customer's systems. Docs only, no code changes. Revised after the registry review (2026-11-07).

The proposal:

  • The Prüfumgebung is the default. We build the customer's application from the repository we already have, in a short-lived, isolated VM sandbox. The build reaches only a package mirror, and the test runs on an internal network. We test that copy only and throw it away. Private package feeds aren't supported in phase 1.
  • The code graph steers the test (after t82): routes taken from the code say what to test. A static finding that an entry point reaches is tried against the copy and reported as confirmed exploitable or possible.
  • Live testing is not in phase 1. Its legal and ops load is too big for now. The L1–L7 analysis stays in the note for a later decision.
  • Billed per Testtag (CRA-CSA-CLD-TST, 24,99 €): up to 3 runs of one target on one day.
    • A run that fails through our fault doesn't count toward the 3.
    • A Testtag is charged unless all of its runs failed through our fault (decided 2026-11-07). A run that fails on the customer's input counts.
    • A Testtag is booked only when the customer starts a run.
    • The customer can set a monthly cap in the portal.
    • The Probelauf is free and is only a count.
  • Data protection: the runner host is in Germany and goes into the AVV and the TOM. The note says where logs and artifacts live and when they are deleted.

What the note contains:

  • what exists today, with file references;
  • the gaps in the existing sandbox base;
  • the build network and private feeds;
  • data location and deletion;
  • entitlement: add-on, cap, ERP items and usage events (counts only);
  • cost;
  • a test plan on stage;
  • draft LB wording.

The runner and isolation design is left for a follow-up with infra.

Decisions for you are listed in the note's section "Decisions for the user": the default, live testing out of phase 1, scope, private feeds, charging, price, Testtage in the plans, retention, the runner host, and order.

Stage only; nothing changes in production.

🤖 Generated with Claude Code

A design note for t83: how Prüfwerk can offer active tests (DAST, the automated pentest) without sending traffic to a customer's systems. Docs only, no code changes. Revised after the registry review (2026-11-07). **The proposal:** - **The Prüfumgebung is the default.** We build the customer's application from the repository we already have, in a short-lived, isolated VM sandbox. The build reaches only a package mirror, and the test runs on an internal network. We test that copy only and throw it away. Private package feeds aren't supported in phase 1. - **The code graph steers the test** (after t82): routes taken from the code say what to test. A static finding that an entry point reaches is tried against the copy and reported as *confirmed exploitable* or *possible*. - **Live testing is not in phase 1.** Its legal and ops load is too big for now. The L1–L7 analysis stays in the note for a later decision. - **Billed per Testtag** (`CRA-CSA-CLD-TST`, 24,99 €): up to 3 runs of one target on one day. - A run that fails through our fault doesn't count toward the 3. - A Testtag is charged unless all of its runs failed through our fault (decided 2026-11-07). A run that fails on the customer's input counts. - A Testtag is booked only when the customer starts a run. - The customer can set a monthly cap in the portal. - The Probelauf is free and is only a count. - **Data protection:** the runner host is in Germany and goes into the AVV and the TOM. The note says where logs and artifacts live and when they are deleted. **What the note contains:** - what exists today, with file references; - the gaps in the existing sandbox base; - the build network and private feeds; - data location and deletion; - entitlement: add-on, cap, ERP items and usage events (counts only); - cost; - a test plan on stage; - draft LB wording. The runner and isolation design is left for a follow-up with infra. **Decisions for you** are listed in the note's section "Decisions for the user": the default, live testing out of phase 1, scope, private feeds, charging, price, Testtage in the plans, retention, the runner host, and order. Stage only; nothing changes in production. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sharang added 1 commit 2026-11-07 02:35:34 +00:00
docs(design): active testing, a throwaway copy first (t83)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m46s
CI / Check (pull_request) Successful in 19m7s
61953e2659
Proposed design for the user to decide. Active tests run by default against a
copy of the customer's application, built from the repository in a short-lived
sandbox (the Prüfumgebung). The code graph steers them: routes from code, and
static findings confirmed against the copy. Live testing is an optional add-on
with written authorisation. Covers what exists today (checked against the
code), which targets qualify, build failures and charging, limits, the
entitlement, cost and a Testtag price, a stage test plan, and the SKU and LB
wording. Nothing is enabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang added 1 commit 2026-11-07 08:14:40 +00:00
docs(design): t83 review: build network, Testtag billing, ERP codes, data protection
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m13s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 17m22s
deaa4e9f4e
- The build runs customer code and fetches packages: same VM sandbox,
  egress only through a package mirror, test phase internal-only.
  Private feeds unsupported in phase 1, or a separately stored
  write-only feed token used only in the build.
- ERP items CRA-CSA-CLD-TST (LIV/LRN reserved); the Probelauf is only a
  count.
- Billed per Testtag: our failures don't use one of the 3 runs, a
  Testtag with no successful run is not charged; booked only when the
  customer starts a run; a monthly cap in the portal.
- Testtage in the plans as a decision.
- Runner host in Germany, AVV and TOM; where logs and artifacts live
  and when they are deleted.
- Live testing out of phase 1; the L1-L7 analysis stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang added 1 commit 2026-11-07 09:55:18 +00:00
docs(design): t83 Testtag charged unless all its runs failed through our fault
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 3m49s
CI / Check (pull_request) Successful in 17m42s
2e45dcab5c
The user's decision (2026-11-07): a run that fails on the customer's
input counts and makes the Testtag chargeable; only a Testtag whose runs
all failed through Breakpilot's fault is free. The charging table, the
usage event, the test plan, the decisions and the LB wording say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 3m49s
CI / Check (pull_request) Successful in 17m42s
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin docs/t83-dast-decision:docs/t83-dast-decision
git checkout docs/t83-dast-decision
Sign in to join this conversation.