vulns.co
/
GKData.io MCP
AP / Application

JavaScript and client trust

Review browser code as an untrusted-data consumer: preserve origin, context, serialization, and server-authorization boundaries.

Guide 06 / 154 review notesUpdated 2026-10-11

The review

What to look for

Defensive study and review of artifacts supplied by their owner. Record missing evidence as an open question.

  1. Map data contexts

    Identify where server data, URLs, messages, and generated content enter HTML, script, navigation, or framework rendering contexts.

  2. Review message authority

    Require an explicit sender origin, message shape, and allowed action before a listener changes state or reveals data.

  3. Check serialization

    Ensure data remains data across server rendering, hydration, logs, and client components.

  4. Keep authorization server-side

    Confirm browser controls do not substitute for a server decision about protected resources.

What to produce

  • Source-to-context map
  • Message contract review
  • Rendering control notes

Common mistakes

  • Treating client checks as access control
  • Using generic sanitization without knowing the output context
  • Trusting all same-window messages

Continue the study

Reading & source context

Editorial notes above connect these references. Open each record for its original source and review date.

Visual models

Connected disclosures

From the field toolkit

Guide by GK Data · Research snapshot 2026-10-04.
Sources and review dates are preserved in the library provenance.

Next skillCache deception and cache poisoning →