AIToday
Large Language ModelsZenn AI/MLPublished: Oct 25, 2026, 13:01 JST

OKPN/OMPV as a security lens: 4 recent incidents all trace to data shapes

Send on LINE
OKPN/OMPV as a security lens: 4 recent incidents all trace to data shapes

3 Key Points

  1. What happened

    The author matched four incidents to the principles — Next.js middleware auth bypass (CVE-2025-29927) and React2Shell (CVE-2025-55182) to OKPN, OttoKit's auth bypass to OMPV, and Google Cloud's global outage to the Null Trap — with Claude checking primary sources.

  2. Why it matters

    None of the incidents had a single cause, but in each, a muddled data shape appears to have served as the trigger or entry point, suggesting these questions can help reviewers spot risky shapes earlier.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The piece follows up on an earlier post that gave names to two code-review lenses. OKPN asks whether a single name carries only one kind of value, while OMPV asks whether a single value carries only one meaning; the bonus "null trap" rule says a missing value should be omitted rather than represented as null.

The author deliberately frames the exercise narrowly. Rather than claim these principles would have prevented the four incidents, the post argues that disordered data shapes were the trigger or entry point in each case. Next.js packed a call history into a colon-separated internal header, React2Shell packed a reference and a property path into one string like "$3:constructor:constructor," and OttoKit treated an empty string as a valid API key, making "no key configured" indistinguishable from a match. Google Cloud's June 12 outage came from blank fields in policy data that a new check did not anticipate.

Notably, the author used Claude to check the four cases against primary sources. The closing observation is that letting AI write code tends to produce colon-packed values and returned nulls readily, and that the most convenient shape in the moment often turns out to be the most expensive later.

FAQ
What do OKPN and OMPV actually mean?
OKPN means one name should hold one kind of value — not two values packed into one string. OMPV means one value should carry one meaning, so a special value like an empty string isn't quietly given a second meaning.
What is the Null Trap?
It is the rule that if a value is absent, you should omit it rather than send null. In practice it asks whether the spec defines how omitted and null values differ, and whether the implementation follows that.
How did the Google Cloud outage relate to this?
Policy data sent to its quota-management Service Control contained unintended blank fields. A newly added check did not expect blanks and crashed on a null pointer, and because data spreads to all regions within seconds, every region went into a crash loop.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleSpaceX eyes $1 trillion run rate by 2027 as AI revenue tops Starlink