TL;DR: SiteGround’s SGCaptcha returns HTTP 202 with a JavaScript proof-of-work challenge that can make tools like Nuclei and WPScan finish cleanly with zero findings, according to Sprocket Security. The issue is not blocking access, but suppressing scanner visibility and distorting what security teams think they have validated.
At a glance
What this is: Sprocket Security documents how a WordPress proof-of-work CAPTCHA can make automated scanners report clean results while never reaching the protected content.
Why it matters: This matters because security teams may mistake blocked visibility for validated security, so testing workflows need a way to detect challenge pages, cookies, and silent scan failure.
Context
A proof-of-work CAPTCHA is a browser challenge that forces the client to spend computation before access is granted. In this case, the security gap is not credential theft or exploitation, but tooling blindness: the scanner sees a successful HTTP exchange while the server has already diverted it into a challenge flow.
That matters for WordPress assessments because automated scanners often assume a 2xx response means progress. When a protection layer returns 202 Accepted plus JavaScript-driven gating, the issue becomes governance of test evidence, scanner interpretation, and whether the organisation can trust a clean scan result as proof of exposure absence.
Key questions
Q: What breaks when a WordPress site returns 202 Accepted instead of blocking bots outright?
A: The assessment pipeline breaks because many scanners interpret 2xx responses as successful delivery. When the server hands back a challenge page instead of the protected content, the tool can finish cleanly while never reaching the surface it was supposed to test. That creates false assurance, not real access. The key failure is scanner interpretation, not network connectivity.
Q: Why do proof-of-work CAPTCHAs hide risk from automated scanners?
A: They hide risk because the gate shifts from simple HTTP retrieval to JavaScript execution and nonce solving. If the tool cannot run the challenge, it never receives the session cookie that unlocks the page. The scanner may still record a valid request path, but it has not actually validated the application content. That makes challenge awareness essential for trustworthy testing.
Q: What are the signs that a scanner has been blinded by a challenge page?
A: Common signs include repeated HTTP 202 responses, challenge headers, redirects to a CAPTCHA URL, and scan runs that end with zero findings against a target that should have content. Another clue is when browser-based access works but raw request tooling does not. Those signals show the test reached a gate, not the application surface.
Q: Should teams trust a clean scan if the target uses browser-side access challenges?
A: No, not without verifying what the scanner actually executed. A clean scan against a challenge-protected target may only mean the tool handled the transport layer successfully. Teams should confirm whether the workflow solved the challenge, captured the cookie, and retried the request before treating the result as evidence. Otherwise the assessment can understate exposure.
Technical breakdown
How the 202 challenge masks blocked access
The core mechanic is simple: instead of denying the request with a 403 or throttling it with a 429, the site returns HTTP 202 Accepted and points the client toward a challenge page. Many scanners treat 2xx responses as successful transport, not as evidence that content was actually delivered. That creates a false positive for coverage because the scanner continues operating against a control flow it does not understand. The security control is not meant to hide an exploit, but to shift the client into a JavaScript challenge path that automated request engines do not execute.
Practical implication: confirm whether your scanner can distinguish challenged responses from real page delivery before trusting a clean result.
Why proof-of-work CAPTCHAs defeat non-browser tooling
Proof-of-work CAPTCHAs require the client to brute-force a nonce until the hash meets a difficulty target. Verification is cheap, but solving requires JavaScript execution and repeated hashing, which changes the problem from network automation to browser emulation. Tools that make raw HTTP requests can see the challenge page yet still miss the browser-side solve logic, the session cookie issuance, and the retry step. That is why a proof-of-work gate can suppress scanner visibility without needing to block all traffic outright.
Practical implication: use a browser-capable test path or a challenge-aware proxy when validating sites that rely on browser-side proof-of-work.
How session cookies restore access after the challenge
Once the nonce is solved, the server issues a cookie that marks the client as cleared for subsequent requests. The important detail is that the access control is session-scoped, not a permanent allowance at the IP level. A scanner that never solves the puzzle keeps repeating the same blind request pattern and receives the same 202 response. That means the detection gap sits at the boundary between transport success and application authorization, where a tool can be alive, connected, and still functionally locked out.
Practical implication: capture and replay the post-challenge cookie in automated workflows if you need accurate authenticated or gated scanning.
Threat narrative
Attacker objective: The objective is to suppress automated visibility and distort the tester’s view of the target, not to steal credentials or exploit the site directly.
- Entry begins when a scanner or bot requests a protected WordPress endpoint and is diverted into the 202 Accepted challenge flow instead of receiving the real page.
- Credential access is replaced by challenge acquisition, because the server hands back JavaScript and a nonce puzzle rather than content the scanner can parse.
- Impact is scanner blindness, since the tool completes its run with zero findings while never having reached the intended application surface.
Breaches seen in the wild
- Shai Hulud npm malware campaign: Shai Hulud campaign: npm malware exposed secrets on GitHub.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Challenge visibility is now a governance problem, not just a bot problem. A control that returns 202 Accepted while redirecting the client into a browser puzzle can make defensive and offensive scanners report a false sense of coverage. The issue is not whether the site is protected from bots, but whether the security team can prove what the scanner actually saw. For practitioners, challenge handling must be part of validation design, not an afterthought.
Scanner success metrics are increasingly unreliable in gated web environments. Many tools still equate transport success with assessment success, which breaks down when a server uses JavaScript execution and session cookies as part of access control. That is a visibility failure mode, and it can mislead red team, pentest, and assurance workflows alike. The practical conclusion is that test evidence needs challenge-awareness, not just response-code logging.
PoW CAPTCHA creates a scanner blind spot that looks like clean security posture. The article shows that the challenge is deterministic and therefore solvable, but only if the tester recognises the gate and adapts the workflow. This is a strong example of security theatre only when teams treat automation output as ground truth. The practitioner lesson is to validate the validation path itself.
WordPress protection that depends on browser-side computation can complicate identity and access assumptions around test traffic. While this is not an IAM incident, it does touch the boundary between access decision, session state, and client proof. When a challenge issues a cookie after JavaScript execution, the effective access path is no longer just HTTP reachability. Teams should treat that path as a governed control surface, especially where external scanners are part of assurance evidence.
Challenge pages need to be observable in the same way auth failures are observable. If a security program cannot identify when a scan was challenged, it cannot distinguish blocked analysis from a clean bill of health. That is the named concept here: scanner visibility collapse. The right response is to instrument testing so that challenge responses are explicit, logged, and reviewed as part of assurance sign-off.
What this signals
Scanner visibility collapse: The real risk here is not the CAPTCHA itself but the confidence gap it creates in assurance workflows. If a security team cannot distinguish a challenged response from a delivered page, the scan result becomes a control signal with no integrity.
The operational fix is to make challenge detection part of the testing pipeline, then require a browser-capable or cookie-aware validation path for gated sites. That is especially important when external scanning is used as evidence for remediation, reporting, or exception closure.
For practitioners
- Instrument scanner challenge detection Flag HTTP 202 responses, challenge headers, and JavaScript redirects as a distinct scan state so a run cannot be mistaken for a clean assessment.
- Validate with a browser-capable test path Use tooling that can execute JavaScript and follow cookie issuance when testing gated WordPress targets, especially where proof-of-work challenges are present.
- Compare raw requests with gated responses Run the same check with and without cookie replay so you can see whether the challenge is suppressing content visibility rather than blocking the service outright.
- Treat 2xx responses as evidence, not proof Require the assessment workflow to record whether the page body, challenge page, or post-solve content was actually reached before accepting results.
Key takeaways
- PoW CAPTCHA challenges can turn automated scanning into a visibility problem, because the tool may complete successfully without ever reaching the protected page.
- HTTP 202 responses and JavaScript challenge flows are strong indicators that a clean scan result may not mean the target was actually tested.
- Security teams need challenge-aware validation, cookie replay, and browser-capable tooling before they trust scan outcomes on gated WordPress sites.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API8 — Security Misconfiguration | The challenge flow is a security control pattern that can mislead request-based tooling. |
| Recommendation — Treat gated response handling as a security misconfiguration risk and test whether scanners can detect it. | ||
| NIST CSF 2.0 | DE.CM-01 — Networks and network services are monitored to find potentially adverse events | The article shows monitoring and validation gaps when scanners cannot observe the true page state. |
| PR.AA-05 — Access Permissions, Entitlements and Authorizations | Access is effectively granted after a challenge cookie is issued, so authorization state matters. | |
| Recommendation — Verify that monitoring distinguishes challenge responses from real application delivery. Align test workflows with the actual authorization state established by challenge cookies. | ||
| MITRE ATT&CK | TA0001 — Initial Access | The challenge is used at the access boundary to prevent automated entry into the target surface. |
| TA0005 — Stealth | The gate obscures what scanners can see, producing low-visibility outcomes that resemble success. | |
| Recommendation — Map challenge-triggered blocking to initial access controls and validate the boundary behavior. Use stealth-oriented detection logic to flag scan runs that terminate inside challenge pages. | ||
Key terms
- Proof-Of-Work CAPTCHA: A proof-of-work CAPTCHA asks the client to spend computation before access is granted. The server can verify the result quickly, which makes it effective against simple automation but also creates risks when security tools cannot execute the same browser logic.
- Scanner Visibility: The degree to which security tools can recognise, classify, and assess a container image and its component packages. Good visibility is essential for trustworthy vulnerability reporting, because an unrecognised distribution or opaque package set can hide exposure rather than eliminate it.
- Challenge Cookie: A challenge cookie is a temporary session token issued after a client completes an access challenge. It marks the requester as cleared for subsequent requests, which means assessment tools must preserve and replay it if they want to see the protected content.
- Proof Of Work: A control that requires a client to spend computation before the server accepts a request. In identity and bot defence, it raises the cost of automated abuse while keeping verification cheap for the defender. It is a deterrence mechanism, not proof of who is behind the session.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and workload identity in the context of real operational controls. It helps practitioners connect identity governance to the way access decisions are actually enforced across modern environments.
Published by the NHIMG editorial team on August 19, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org