WebTrustEngine
TREN
DEEP DIVE

Security Boundary

Static security review: secrets/exposure/risky patterns/SAST + OWASP mapping. Active testing only with authorization.

Not a pentest

Two panels separating static review from authorization-required active testing.

The security boundary: static review is engine work; active testing needs separate authorization and scope.

A static security review is security analysis over source, configuration and output files, carried out without executing code on the target and without attempting exploitation. With an offline ZIP or folder input not a single request reaches the target; with a live address input the files come from a local snapshot fetched by passive read-only (GET) requests.

WebTrustEngine's security layer stays within this definition and has four blocks: secret scan (key/password/token leakage), exposed files (.env, backups, .git, config exposure), client-side risky patterns (eval, document.write, dangerous sinks) and server-side SAST classifications (SQLi/command/traversal/deserialization/SSRF/XXE markers).

SCA/CVE logic accompanies these: risky ranges of known library versions are flagged, and each flag binds to an update recipe. CSP/HSTS readiness and OWASP mapping put findings into a shared language.

Any DAST-class behaviour requires written authorization, ownership verification and a separate scope document. We draw the line up front: the client knows exactly what they bought and what must be ordered separately.

  • secret scan
  • exposed files
  • JS sink patterns
  • SCA/CVE flags
  • CSP/HSTS readiness
  • OWASP mapping
  • DAST = authorization + scope

What the engine does: Runs a static security review over source.


What the output is: Risky-pattern report + recipes + OWASP mapping.

For decision-makers: A visible dashboard of silent risks.

For technical teams: The SAST↔DAST line holds in contract language too.

Where automated scope ends

The scope boundary: what the engine measures automatically, and what stays outside the score.

Some areas cannot be automated. Legal claims (compliance statements, copyright text), certain accessibility decisions (contrast context, adequacy of media description), cultural context and brand voice, content accuracy (figures, titles, claims), changes requiring client approval, and steps requiring security authorization live here.

We flag the item, write the rationale and route it to a reviewer or decision-maker; we never auto-PASS these items. Against products claiming 'we automated everything', the product that states plainly what it measures automatically and what stays out of scope is more credible to an enterprise buyer.

  • legal · accessibility context
  • cultural context · brand voice
  • reality check · client approval
  • security authorization

What the engine does: Marks what it cannot measure from files as out of scope, keeps it out of the score, and routes it.


What the output is: Out-of-scope register + rationale + routing.

For decision-makers: The credible limit of automation claims.

For technical teams: The reviewer flow is a formal part of the process.

Scope at a glance

Scope

Static security review over source and configuration files: secret leaks, exposed files, risky client code and server-side signals.

Out of scope

Active exploitation, penetration testing, live-system intervention and tests that require authorization.

Evidence delivered

Pattern-based findings with file and line references, severity class and the recommended next step.

When is extra authorization needed?

Live testing, penetration testing or any step touching production systems requires separate written authorization.

COMPARISON

Two tables, two boundaries

Two tables, two boundaries — 1
SASTDAST
Static source/file analysis — the engine does this; no code is executed.Active requests against a running system — written authorisation only, outside engine scope.
Two tables, two boundaries — 2
Header/fileApproach
CSPA single applicable recipe is produced.
HSTSHTTPS redirect + header readiness.
X-Content-Type-Options / frame-ancestorsStatic readiness; the live grade comes from SecurityHeaders.
security.txtThe security reporting channel is info@webtrustengine.com. The file is provided at /.well-known/security.txt; live delivery is checked separately after publication.
TWO WORLDS SAST and DAST: two worlds, one honest sentence

Static analysis (SAST) looks at sources: files, patterns, configurations. Dynamic testing (DAST) fires requests at a running system: it pushes inputs and provokes responses. WebTrustEngine stays on the static side of that split; no check executes code on the target.

The corporate value of the split is authorisation. Static review of a file root you own is always legitimate; active testing is legitimate only under written authorisation and belongs to specialist teams operating under it. The report places each of the 68 security patterns in the 'detects, never exploits' class.

THE PERMISSION GATE Tests that require authorisation: the list is public

Port scans, vulnerability scans, authentication brute-forcing, load and stress tests, social-engineering exercises — all are outside the scope of the main audit, and none of them ever enters a report as a measured finding. For the web vulnerability-scanning and fingerprinting class the engine does have an active-tool line driven by a separate command. That line genuinely enforces its authorisation gates. Because egress isolation is not yet in place, the process does not start; the result stays a BLOCKED record. The AUTHORISATION GATE section sets this out.

If a vendor tells you 'we scanned it', the first question is the date on the written authorisation; the second is which class the scan belonged to.

THE HEADER FAMILY CSP, HSTS and relatives: recipe discipline

A Content Security Policy written wrongly does not protect a site; it breaks it. So we read the existing policy and present the change as a single applicable recipe. HSTS gets the same treatment: we propose a permanent header only after verifying the redirect chain. A wrong HSTS rollback is among the most expensive mistakes.

The rest of the family — content-type lock, framing limits, referrer policy, permissions policy — we mark as static readiness; SecurityHeaders issues the live grade. The recipe makes that grade collectable.

THE EXTERNAL ROLE External tools as referees, not rivals

SSL Labs, SecurityHeaders and their kin are referees in this model, not competitors. The engine's output is a preparation: 'this is the state in which you step in front of the referee'. If the internal report and the external grade differ, either an intermediate layer is flattening a header or a recipe was partially applied — both findable, provable problems.

FROM THE FIELD

What the security boundary looks like in practice

Everything the engine states about security comes from static analysis of files. It reads source and configuration the way a careful reviewer would, without executing code.

That single restriction draws the SAST/DAST line cleanly. Static application testing over the delivered files: inside scope, evidenced, repeatable.

Dynamic testing against production: outside scope, and legitimate only under written authorisation naming targets, windows and exclusions. Headers follow the same discipline: CSP, HSTS and their siblings are produced as recipes and verified as readiness; the live grade belongs to SecurityHeaders.

FOUR PATTERNS

Four examples from the static pattern set

To make the 68 patterns concrete, four conceptual examples. Embedded secret: an API-key-shaped string forgotten inside a JavaScript file. Evidence is the path and line context; the action is revoking and removing. Mixed content: an image or script called over http:// inside an HTTPS page; usually a SafeFix candidate. Stale library reference: a script URL carrying a known-old version number — the engine reports the version sighting and leaves the upgrade decision to the team that knows the change risk; it does not shout "vulnerable". Exposed backup trace: a .bak/.old/archive filename pattern left in public. Evidence is the filename; the action is a removal recipe.

All four share the same shape: file-derived evidence, sober classification, actionable next step.

THE AUTHORISED PATH

The legitimate road to active testing

Where static review ends, active testing begins — through one gate only: written authorisation naming scope, window and exclusions. Even then the work belongs to penetration-testing professionals; the engine's role is to hand them its classified findings as an efficient starting map. The sentence "we performed a pentest" never appears on any surface of this brand.

READING FINDINGS

How to read a security finding without panic

A static security finding is an observation, not a verdict. Read it in three moves: what file, what pattern, what class. A "conditional" item means the risk depends on context only your team knows; an "external" item means the fix lives on a platform, not in the files. Treating every line as an emergency wastes the map; treating the map as a checklist, in class order, is what it was built for.

LANGUAGE REVIEW

Claim scanning in security texts

Security is the area where overstatement costs the most, so we apply the claim-safety scan twice as strictly to security texts. The scan looks for three patterns and blocks them: promised outcomes (“we will make your site secure”), implied authorisation (“penetration testing included”) and fear marketing (“you are under attack right now”). What remains is evidence from a file, a class and an action.

We apply the rule to the report body as well: not even a finding’s title carries a verdict word.

The record of the review is part of the package as well: which text, on which date, against which pattern list.

Quick answers

A pentest?
Exploit code?
OWASP?

Maps findings to a shared language.

Full answer in the FAQ

If active testing is wanted?

A separate authorized scope.

Full answer in the FAQ

Why the boundary?

Law + ethics + credibility.

Full answer in the FAQ

Next step

Static security review: secrets/exposure/risky patterns/SAST + OWASP mapping. Active testing only with authorization.

TWO INPUTS, TWO LIMITS

Offline package analysis is not the same thing as live passive measurement

The engine takes two classes of input, and their network behaviour is the opposite of each other: in offline mode not a single request reaches the target; in live URL mode the engine does send passive requests to it.

Offline mode: a ZIP or a local folder

When the input is an archive or a file root, the file analysis is entirely local. The engine reads source, configuration and built output; it never connects to the target system at all. In this mode the 68 security patterns are run over files: leaked secrets, exposed files, risky client-side constructs and server-side static markers.

Not every pattern applies to every input, and a pattern that does not apply is recorded as its own state rather than as a pass. The source input is never mutated — fixes are applied to a separate working copy. Layers that only a live request can observe are flagged here as requiring a live run.

Live passive mode: an address the operator supplies

When the input is an address, the engine does request that address. Here are its limits:

  • Read-only: requests sent to the target site use GET — the source builds a single GET request and the collector layer has no POST path at all. In the browser layer the method allowlist is GET and HEAD; every other method is aborted client-side and written to a blocked-attempt counter. There is no form submission, no sign-in and no payload.
  • robots.txt is binding: if the rules disallow an address, that page is not fetched and the refusal is recorded.
  • Same origin — the fetching limit: fetching is confined to the same origin: only the origin of the starting address is walked, and redirects are confined to the same canonical host.
  • Closed network boundary: private and internal addresses are refused by default, addresses carrying embedded credentials are blocked, and the connected peer is validated.
  • A hard budget: there are ceilings on request count, total bytes and elapsed time, with a default pause of 0.3 seconds between requests. If the budget runs out, the run says it is incomplete.

The same-origin rule has three explicit exceptions

The same-origin rule binds what is fetched, not the run as a whole. Three paths do send a real request outside the target origin:

  • The broken external-link check: a limited subset of the external addresses found on the pages receives a single GET. If they cannot all be attempted, the result is recorded as insufficient data, not as a pass.
  • The Chrome UX Report field-data bridge: it runs only when the operator supplies an API key, and its request goes to a third-party Google measurement API rather than to the target site; on that path the request method is POST. With no key the bridge sends no request at all and the result stays open as “insufficient data”.
  • Security advisory query: off by default; it runs only when the operator explicitly enables that mode; when it is not enabled the bridge makes no request at all. The request goes to public advisory sources, not to the target site, and carries different data per provider: package name, ecosystem and version to OSV (POST); the full CPE identity to NVD (GET). The priority context is a separate field at the same level (the priority-context setting, also off by default) and is queried only while refresh is enabled: on the CISA KEV side nothing is sent — the public catalogue is downloaded; on the FIRST EPSS side only public CVE identifiers are queried, in groups of 50, for at most 200 CVEs. No customer source file, target address, password or credential is sent. This line is bounded by its own budget (20 requests / 120 seconds by default), separate from the live-crawl budget above, and the priority calls are drawn from that same budget. A record that comes back is a candidate finding: it is not proof of exploitation at the target, and it is not added to the core score. This line is independent of the input type; it remains the same optional choice when an archive or a file root is reviewed.

For configuration-dependent security notices, CISA KEV records and dated FIRST EPSS estimates are shown when available. They help prioritize review; they do not establish that a particular site is affected or has been attacked. Unknown versions and missing configuration evidence remain explicit. For supported WordPress Core advisories, version matches are evaluated alongside backported fixes and applicability conditions. For supported Drupal advisories, matching uses the exact package name and version range, and permission and configuration conditions are preserved in the report. Neither means that every advisory from that vendor is covered.

In addition, the browser layer can load cross-origin subresources that the page itself references. Those loads follow the page's own resource list rather than any crawl decision made by the engine, but a request does leave the target origin.

What only a live run can measure

Some facts are simply not in the files: response headers, redirect chains, certificate and protocol posture, cookie attributes, domain and mail authentication records. A live run captures these with evidence, and the 53 live measurement bridges attach browser and performance tooling to the same layer. If the required tool is not installed, or the data is too thin, a bridge returns “tool not available” or “insufficient data”.

A missing measurement is never converted into a pass. Most of these bridges are laboratory measurements: a browser and a performance tool measure in a controlled run. Real-user field data can only come from the Chrome UX Report bridge, and that bridge returns nothing without an operator key.

A dated example — the live run of 19 October 2026, as counted by the collector layer: 531 requests, 166 seconds, 24,338,356 bytes, budget not exhausted, no address refused by robots (source: the run's LIVE_SIGNALS record). Requests made by the browser and measurement layers are not in that counter; they are counted separately. In the same run all 53 live bridges were attempted: 44 measured, 7 left open for insufficient data, 2 not applicable, 0 tool-absent, 0 errors.

Measured is not the same as passed — the outcome split was 35 pass, 8 fail, 9 unknown, 1 advisory. Of the 44 measured bridges, 34 are in the laboratory state; the field-data bridge returned no data in this run because no key was supplied.

Passive measurement is not active testing. WebTrustEngine is not a penetration-testing tool, and it issues no live pass grade.

THE AUTHORISATION GATE

The active-tool line: the preflight runs, external execution does not

Holding an authorisation document does not mean a tool runs. The engine's active-tool line is a separate command, it genuinely enforces its gates, and even when every gate is passed it still does not start the process. It is a deliberate, tested closed state.

The gates are real

An active-tool request goes through a command separate from the main audit, and we verify all of the following in order: the signed authorisation document checked against a trusted Ed25519 public key, every mandatory field present in the authorisation form, a date window that is valid right now, the target inside the written scope and outside the exclusion list, the target address matching the allowed exact-URL list one-for-one across scheme, host, port, path and query, an unbroken chain of authorisation records, and an explicit final confirmation. A full-scope ZAP scan requires a second, separate confirmation on top of all that.

Signature verification is on by default. A run that accepts unsigned authorisation is a separate, deliberate setting.

What happens next: BLOCKED

Once every one of those gates is passed, the external process is still not launched. The result is recorded as BLOCKED and carries three things in the open: the process was not started, egress isolation was not enforced, it is not ready. The reason sits inside the record too: there is as yet no process isolation that pins all of a tool's egress — down to redirects and sub-requests — to the one verified target.

No isolation, no run; no run, no claimed measurement. That is why the four adapters that exist for active web scanning — WPScan, OWASP ZAP, Nuclei and WhatWeb — produce a verifiable plan and a blocked record rather than findings.

The state contract consists of EXECUTED, UNAVAILABLE, BLOCKED and ERROR; in today's release all four active-tool paths end in BLOCKED, and the subprocess-execution path is disabled.

EXECUTED
Defined in the contract. Because the subprocess-execution path is disabled in this release, the active web tools never produce it.
BLOCKED
A gate is missing, or the isolation condition is unmet. In this release all four active web tools stop here.
UNAVAILABLE
Means the tool is not installed on the machine. Only the preflight path produces this value and that path is not called in this release, so an uninstalled tool also returns BLOCKED. Absence is never read as a pass.
ERROR
A process started but did not finish. Since the subprocess-execution path is disabled, this value is not produced today either.

The contract has no state called PASS at all. None of these values is read as a pass grade.

The one line that does execute among the active-tool lines

This count is limited to the active web tools (the wpscan/zap/nuclei class that starts an external process); the third exception above, the security advisory query, starts no external tool — it is an in-process HTTP query and a separate optional line. There is an exception: local dependency evidence. The dependency scanner (OSV-Scanner v2, scan source) reads source, lockfiles or an SBOM inside an explicitly named customer root. If the tool is installed and the operator supplies each required confirmation separately, it genuinely runs. If it is not installed, no run is fabricated. / and the user's home directory are rejected as roots; escapes above the root and symbolic links are blocked before anything executes.

With no dependency database present, a security result is never shown as zero issues or a full score, and no combined security score is produced without a coverage denominator.

Written authorisation is the legal precondition; until the technical precondition — egress isolation — is in place, the active web tools do not run in this product.

VERSION TRUTH

The frozen core is history; it is not the engine running today

The historical frozen core and the active engine running today are two different things. The frozen core is preserved, archived and can still be run on request — but it is not what performs the default audit. The active engine kept developing, and its current version is 0.8.1.

The active layer and the historical reference stay apart

The repository keeps them in separate folders: the current passive audit and reporting layer is the active one, while the older full engine is retained as an inactive historical reference. A version number addresses a claim: when a figure is questioned, we answer with which release and which evidence.

How the frozen core is run

The frozen core is not a default but an option: it runs only when the run command is given a separate switch, and it writes its own report folder. Every run summary records that state in a dedicated field — “not requested” when it was not asked for, or its own exit status when it was.

What actually improved

The clearest difference is in URL mode. By design the frozen core fetched a single page, which is why live runs used to end after a couple of small measurements. Today's layer mirrors the same-origin site into a local snapshot, separately records the signals only a live request can see — response headers, redirect chains, certificate data — and then runs the entire current check suite over that snapshot exactly as it would over a ZIP. We leave the frozen core itself untouched.

Today's contract

These are the current figures, and they are separate units that are never summed: 348 detectable checks (80 core + 268 granular), 68 security patterns, 53 live measurement bridges, 26 safe fixers and 24 external action recipes. None of these numbers is typed by hand: each is read from the engine's own capability report, declared and observed counts must match exactly, and when they do not, the site build stops.

The frozen core has not changed; the active engine that runs today kept developing. The two can even stand side by side in a single run, and the report states which one was in play.