SK Beratung
Back to the blog

Field Report

Automated Website Security Checks: From Scanner Findings to Reliable Operations

A scanner quickly produces long lists. Which of its findings hold up, how an automated testing workflow keeps its assignments intact, and how a one-off scan becomes a recurring operation.

21 November 20269 min read1730 words

An automated security check is quick to start and often produces impressive numbers. The harder part begins afterward: What do the findings mean, does every result still belong to the right website, and how does a one-off scan become a check that can be relied on over time? This article brings together experience from developing such a testing workflow for websites.

What a scanner actually counts

One report contained two striking figures: 78 indications of missing CSRF tokens and 86 pages with Content Security Policy issues. The result contained no confirmed critical vulnerabilities. Both statements belonged in the report, and only together did they describe the check appropriately.

An automated testing tool examines a website's responses according to fixed rules. Its counters initially describe how often a rule was triggered.

CSRF. Cross-site request forgery refers to an attempt to cause the browser of a logged-in user to perform an unwanted action from a third-party site. A token helps the application recognize legitimate requests; there are also other protection mechanisms whose effectiveness depends on how the application is built.1 Whether a missing visible token is relevant depends on what action a form triggers, whether it changes data, whether a login is involved, and whether other safeguards apply. "The scanner found no recognizable token at these locations" is an observation. "Attackers can perform arbitrary actions here" would be an additional claim that requires a technical examination.

CSP. A Content Security Policy tells the browser, among other things, which scripts a page may load or execute. A missing policy and an existing policy with far-reaching exceptions such as unsafe-inline or unsafe-eval are different configurations. Individual keywords yield a reliable picture only in context: unsafe-inline may be ignored by the browser if nonces or hashes are set.2

There is also a volume effect. If the same configuration is delivered on many pages, the number of occurrences grows without new root causes arising to the same extent. 86 table rows are not 86 repair tasks. What matters for remediation is which observations trace back to the same cause. In this case, I also removed a side thread on embedded maps from the report. A report becomes more precise when it explains the relevant points rather than carrying along everything else that was found.

Testing depth has a place

The desire for the most thorough check possible is understandable, but too vague as a technical requirement. Common scanners distinguish between passive checks, which analyze visited pages and their responses, and active tests, which include targeted attack attempts.3 Both contribute to security, but they interfere with an application in different ways.

The architecture design therefore provided for cautious, passive checks on production systems. More active and authenticated tests were to be given their own framework in a controlled environment. This involves concrete questions: Which areas are reachable? Which roles does a test require? Which actions may it trigger? A search form belongs in a different context from a function that modifies an order.

The visibility boundary of a check also belongs in the report. What can be observed from the outside is a different slice from the behavior behind a login or the actual state of installed extensions. An automated check, simple external checks, and an in-depth security test have different reaches, and the report must state which of them took place.

The chain between the checks

An automated website check consists of more than testing tools. Between them lies a chain of handovers in which every job must retain its identity. How fragile this chain is became apparent when a testing workflow was revised in August 2026. It was meant to process several websites from a spreadsheet one after another, run several scanners for each website, evaluate the results, and update the corresponding entry. In the end, there was a single row in the spreadsheet, and it too contained no usable data.

The diagnosis revealed several causes:

  • Nested loops without a reset. An outer loop worked through the websites, an inner one through the scanners. The inner loop was not reset for the next website and considered its list already done. The order of the building blocks was correct; the flow was not.
  • Waiting without complete configuration. A scan often does not return its result in the same response that starts it. A wait step was missing its time unit. More important was the separation of three states: job accepted, scan finished, result usable. A job ID only proves that a job exists. If these states are conflated, "not finished yet" ends up as "no issues found."
  • Lost provenance when merging. A merge step inside the loop and code steps that created new data objects lost the unambiguous assignment to the respective run. A finding could look complete and still belong to the wrong website. As long as a test contains only one website, this goes unnoticed; only a second one makes the difference visible.

The third version of the design removed the problematic merge and marking steps. The scan results were explicitly addressed via the respective run, and the path back into the outer loop became more direct. Whether these changes hold up in the complete workflow was for the next run to show. The most important insight already lay in the diagnosis: the scanner may find something, but the workflow still has to know where it found it.

Where AI helps and where it does not

At the end of the checks, an AI evaluation was planned to bring security notices, visible website problems, and other information into a uniform structure. Here, too, there were sources of error: the evaluation referred to steps that, depending on the branch, had not run at all; the processing of the response expected an overly narrow format; a filter was case-sensitive even though the meaning did not depend on case.

The correction relied on more robust normalization. Different response formats are converted into a common structure, and missing information remains recognizable as missing. A skipped testing step must not be replaced by a confident paragraph from the model. The task explicitly included drawing conclusions only from the available information: if a page reveals a particular system, that does not yet say anything about the maintenance status of all its extensions. AI is not a repair shop for steps that ran poorly beforehand. Its area of work begins where the inputs are assigned correctly and their status can be distinguished.

From a one-off scan to recurring operations

The requirement began in April 2026 with the wish to check websites regularly and as deeply as possible. For an initial setup, I looked for one to three tools that would cover as much as possible with manageable effort. The 80/20 idea was a target for the selection, not a measured coverage rate. Every additional tool brings another handover, configuration, and output format, and in the end someone has to organize all the alerts into a picture of the website.

The design therefore separated control and execution: a higher-level workflow manages targets and jobs, a subordinate workflow triggers the checks, and the scanners run in their own environment. Execution is followed by a common processing stage that normalizes raw data, consolidates duplicates, and classifies findings.

In September, a server concept for regular availability and security checks of in-house and managed websites was added. This gave the timeline weight. A recurring check produces a comparison between states: What is new, what already existed, what has changed? Did a notice disappear because it was fixed, or because the scan did not reach that area this time? An empty results section can mean either. For a statement about the website, the execution of the check must be as traceable as its findings.

This requires an inventory of targets, defined testing intervals, and baselines for comparison. Findings need a history: first seen, reviewed, in progress, re-examined after a change. Otherwise, the same issue is reported anew every day, and the report shows movement where nothing has changed. The operating model was thus worked out; putting it into operation is the next development step.

The report as first contact

A free website check is often used as an opening for a conversation. This involves a tension that should be named openly: anyone who offers a service and at the same time describes a problem has a commercial interest in that description. A report becomes credible when its value already lies in the explanation. Which point stood out, why is it relevant, and what check would be needed to clarify its status? This information should be useful even if the recipient passes it on to their existing service provider. A report can sound calm and still name a concrete need for action. It gains nothing if its certainty is greater than the check from which it was produced.

What to look for

Whether you automate security checks yourself or receive reports from third parties:

  • Separate finding from claim: Check whether a report describes rule matches or confirmed vulnerabilities.
  • Group by root cause: Ask how many occurrences trace back to the same configuration.
  • Document testing depth: Record whether testing was passive or active, external or authenticated, and in which environment.
  • No active tests on production systems: Define which actions a test is allowed to trigger.
  • Distinguish states: A started, a running, and a completed scan are three different states.
  • Carry provenance through the chain: Test automated workflows with at least two targets so that assignment errors become visible.
  • Report missing data as missing: An AI summary must not mask skipped steps.
  • Keep findings with a history: Plan inventory, intervals, baselines, and remediation status from the outset.

Conclusion

Automated security checks are valuable when they reliably repeat what they see and state honestly what they have not seen. Quality arises less from the choice of scanner than from how the findings are assessed, from clean assignment across all steps, and from a history that makes changes recognizable. If you have your websites checked regularly, it is worth taking a close look at how these three points are handled in your workflow.

Research behind this article

  • 25.1%

    On tasks inside the AI frontier, consultants using AI completed 12.2% more tasks and completed them 25.1% more quickly.i

  • +4%

    AI adoption is estimated to raise labour productivity in European firms by 4% on average, driven by capital deepening rather than job losses.i

  • −19 Pp.

    On a task outside the AI frontier, consultants using AI were 19 percentage points less likely to produce correct solutions.i

  • +15%

    A generative AI assistant increased issues resolved per hour by 15% on average, with the largest gains for less experienced workers.i

Sources

  1. OWASP Cheat Sheet Series: Cross-Site Request Forgery Prevention, attack prerequisites and protection mechanisms.

    ↩
  2. MDN Web Docs: Content Security Policy, script execution, unsafe-inline, unsafe-eval, nonces, and hashes.

    ↩
  3. ZAP documentation: Baseline Scan and Full Scan, distinction between passive analysis and active tests.

    ↩

Short answer

A scanner quickly produces long lists. Which of its findings hold up, how an automated testing workflow keeps its assignments intact, and how a one-off scan becomes a recurring operation.

Key takeaways

  • Separate finding from claim: Check whether a report describes rule matches or confirmed vulnerabilities.
  • Group by root cause: Ask how many occurrences trace back to the same configuration.
  • Document testing depth: Record whether testing was passive or active, external or authenticated, and in which environment.
  • No active tests on production systems: Define which actions a test is allowed to trigger.
  • Distinguish states: A started, a running, and a completed scan are three different states.
  • Carry provenance through the chain: Test automated workflows with at least two targets so that assignment errors become visible.

More articles

Next step

Wondering where AI or automation could make a difference for you?

Tell me about it in 30 minutes: I will tell you candidly whether and where it pays off. Free of charge and without obligation.

Book a call