惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

www.infosecurity-magazine.com
www.infosecurity-magazine.com
D
DataBreaches.Net
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
F
Full Disclosure
V2EX - 技术
V2EX - 技术
N
News and Events Feed by Topic
Help Net Security
Help Net Security
L
LangChain Blog
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
B
Blog RSS Feed
N
Netflix TechBlog - Medium
N
News | PayPal Newsroom
TaoSecurity Blog
TaoSecurity Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Vulnerabilities – Threatpost
B
Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
I
Intezer
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
AI
AI
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
G
GRAHAM CLULEY
Vercel News
Vercel News
罗磊的独立博客
MyScale Blog
MyScale Blog
Last Week in AI
Last Week in AI
博客园 - 司徒正美
C
CERT Recently Published Vulnerability Notes
GbyAI
GbyAI
Scott Helme
Scott Helme
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Troy Hunt's Blog
A
About on SuperTechFans
P
Privacy International News Feed

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
What a Port State Control Inspection Actually Looks Like
VesselAPI · 2026-05-31 · via DEV Community

A ship arrives in port. Cargo comes off, cargo goes on, and a few days later it leaves. That's the visible part — the part you can photograph from a pier in Rotterdam or Singapore.

A cargo ship at a foggy berth with an inspection launch approaching

But somewhere on that ship, often within hours of arrival, a stranger in steel-toed boots and a hi-vis vest has climbed the gangway with a clipboard. They are not from the shipping company. They are not from the cargo owner. They work for the country the ship is currently floating next to, and they have the legal authority to keep that ship from leaving.

This is port state control. The paper trail it generates is one of the most underused datasets in maritime — partly because, until recently, you basically had to scrape it out of regional government websites one PDF at a time.

The thing you think it is

If you've heard of port state control at all, you probably think of it as a kind of safety check. A maritime MOT. The ship shows up, someone confirms the lifeboats work and the fire extinguishers haven't expired, and everyone moves on.

That's the surface. What's actually happening is a globally coordinated, regionally enforced, statistically targeted enforcement regime designed around one uncomfortable assumption: that flag states — the countries whose flags ships fly — cannot always be trusted to police their own vessels.

This is not a paranoid view. It's the foundational premise of the entire system. After the Amoco Cadiz ran aground off Portsall on the Brittany coast in March 1978 and discharged roughly 223,000 tonnes of crude into the sea, European maritime authorities were forced to ask the question nobody had really wanted to ask out loud: if a ship is registered in Liberia, inspected by a classification society contracted by its Liberian owners, and crewed under Liberian labor rules — who exactly is checking that any of it is real?

The answer they arrived at was: whoever the ship happens to be visiting. That country. Right now. With as little notice as possible — though which ships get boarded, and how thoroughly, is anything but random.

The Paris MOU didn't spring fully formed from the wreck. The Hague Memorandum had already been signed two months before the Cadiz grounded; the disaster accelerated and politically widened a process that was quietly underway. By 1982 it had become the Paris Memorandum of Understanding, and the cascade followed — Tokyo, Caribbean, Mediterranean, Indian Ocean, Black Sea, Abuja, Viña del Mar, the Riyadh MOU covering the Gulf. Nine regional MOUs depending on who's counting and which year you look, plus the US Coast Guard running its own parallel program entirely outside the MOU framework. Each operates a shared database. Each targets ships based on a risk profile. Each can detain a vessel that fails badly enough.

Inspector's checklist against corroded ship railing

What an inspection actually generates

When an inspector boards a ship, they're not just looking. They're filling out a structured report against a known taxonomy. Every finding gets coded. Not "the lifeboat looked rusty" but a specific deficiency code in the life-saving appliances category, paired with an action code that tells the ship what they have to do about it.

The action codes are the part with real teeth. Broadly, a deficiency can be noted and rectified on the spot, flagged for rectification before departure, formally passed to the next port of call for follow-up inspection, or — at the serious end — used as grounds for detention, where the ship is physically not allowed to leave until the problem is fixed. Each MOU has its own numeric scheme for these (Paris MOU code 30 means detention; Tokyo's classification looks different; the Black Sea and Indian Ocean MOUs use their own variants). The concepts line up. The code numbers do not. Anyone consuming this data across regions learns quickly that "action code 17" is not a universal noun.

A single inspection can generate zero deficiencies or fifty. Most generate a handful. A commercial vessel on busy multi-region trades can accumulate well over a hundred inspections in its operational life — each one a snapshot of how that ship was actually being maintained on a particular Tuesday in Algeciras or Yokohama.

Query our /vessel/{imo}/inspections endpoint — keyed on the IMO number, because it's the only identifier that survives a rename — for an older bulk carrier and you'll often see sixty, eighty, sometimes well into three figures of inspection records stretching back years. Each one an independent look inside the same hull, by a different inspector, in a different port, rendered as structured data: date, port, MOU region, deficiencies found, action codes, detention flag.

That is not a safety check. That is a longitudinal medical record.

Why this is hard to get at

All of this data is public. Every MOU publishes inspection results. Most have searchable web interfaces. Detention lists are released monthly, sometimes weekly. In principle, anyone can look up any ship.

In practice, it's fragmented across ten-odd separate authorities, each with its own schema, its own search interface, its own quirks about how vessel identifiers are formatted, its own approach to historical retention. The Paris MOU exposes things one way. Tokyo exposes them differently. Some regional databases have inconsistent historical coverage; some go back decades cleanly; some pre-2000s records from regional bodies weren't keyed on IMO number at all and have to be re-linked by triangulating vessel name, port, and date — which is exactly as fun as it sounds, and not always recoverable. IMO numbers persist by regulation across a vessel's entire lifetime, and for five years after scrapping, which means the database occasionally contains ghosts: clean inspection histories on hulls that no longer exist.

So the data is "public" in the same way that a library is public if the books are in eleven different buildings in eleven different cities and each librarian has different opening hours and a different cataloguing system. And one of the librarians has thrown away everything before 1998.

This is the gap a port state control API exists to close. Not by inventing new data — the inspectors are still doing the work, the MOUs are still publishing the results — but by normalizing what can be normalized and being honest about what can't. One vessel identifier. One output schema. Top-level fields — date, port, detention status — line up cleanly across regions. Deficiency codes are preserved with their source MOU intact, because there is no universal crosswalk between them and pretending otherwise produces lossy categorization that quietly misleads downstream consumers. A detention in Rotterdam and a detention in Yokohama become comparable as detentions. The individual deficiencies underneath stay in their native vocabulary.

Ships at anchor under floodlights at night

What this is actually for

The use case that pays for the infrastructure is chartering.

A fixture takes minutes on the phone and commits a ship to weeks of employment on terms worth millions, against cargo that may be worth significantly more. "I looked it up and it seemed fine" is not really adequate due diligence. Until recently, the alternative meant a frantic afternoon with nine browser tabs open and a colleague who could read French port reports.

Now it's a single call that returns a structured history all the way back. Chartering teams run this as a last check before confirming. Sometimes the check changes the answer. A ship with three detentions in the last two years is not the same commercial proposition as a ship with zero, regardless of what the broker says about it.

Insurers, financiers, journalists chasing sub-standard operators — they all use the same underlying records. But chartering is the case that demonstrates the real point: the difference between data being technically accessible and data being usable inside a decision that has to be made before lunch.

The thing that should bother you

A clean inspection record doesn't mean a well-maintained ship. It means a ship that hasn't yet been caught being poorly maintained.

The two are not the same, and you can fool yourself with this data quite easily if you forget the difference. Ships have passed inspections in one port and broken down in catastrophic ways shortly afterwards. Whole categories of deficiency — fatigue, falsified rest hours, structural problems behind fresh paint — are systematically under-detected because they're hard to see from a one-day visit. The reason port state control exists at all is that the people responsible for a ship's safety, when left to their own devices, sometimes don't keep it safe. Every detention in the database is a small piece of evidence that this judgment was correct. Every clean inspection is, at best, evidence that on one particular day, in one particular port, nothing visibly wrong was found.

Every inspection is a roll of the dice — a chance that an outside party with no commercial interest in the answer takes a hard look at reality. A hundred of those rolls, across a vessel's lifetime, in ports around the world, is about as close as the maritime industry gets to ground truth.

That's what's actually inside the API response. Not a compliance score. A long, structured record of every time the world checked.