SShortSingh.
Back to feed

Why You Should Never Trust the Frontend for Server-Side Verification

0
·4 views

Earlier today, I was booking a train ticket online. The platform required NIN (National Identification Number) verification before letting me continue. I entered a valid NIN. The verification call failed with a 500 and a generic SOMETHING_WENT_WRONG. Not an invalid-NIN error — an actual server failure.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How to organize a large OpenAPI spec: multi-file structure, $ref rules, and CI checks

Every OpenAPI document starts as one clean file. Then it reaches forty operations and the file is 2,000 lines, then a hundred operations and pull requests conflict on every merge, then nobody edits it without a full afternoon of context. The standard advice is "split it with $ref," which is true and unhelpful — split how, along which boundaries, and what breaks in tooling when you do? This is the layout and rule set that survives 200+ operation APIs. Organize by artifact kind first, domain second.

0
ProgrammingDEV Community ·

Gev: Gmail label suggestions with an embedded inference engine.

I wanted a simpler way to sort email without sending message text to an AI service. So I started building Gev: a browser extension that reads my Gmail messages and automatically labels them into categories like Receipts, Personal, Updates, or Newsletters. https://github.com/receptron/laya model. The model and ONNX runtime are bundled with the extension. There’s no inference API or hosted model involved and no data is ever sent to an external service or host(except gmail).

0
ProgrammingDEV Community ·

Monte seu Detector de Deepfakes em 4h com Python e Docker

Detector de Deepfakes DIY 2026 – Crie seu filtro anti‑desinformação em poucas horas Introdução Você já recebeu um vídeo suspeito no WhatsApp ou viu uma “declaração” de um candidato que parecia falsa? Neste guia prático você vai montar, em menos de 4 h, um detector local de deepfakes usando Python, TensorFlow e Docker – sem precisar de infraestrutura na nuvem. Nos últimos 12 meses, a quantidade de deepfakes nas principais redes subiu 250 % (relatório DeepMedia Lab, 2026). Veja alguns casos que fizeram a diferença: Data Plataforma Tema Alcance Como foi descoberto 03/02/2026 X (Twitter) Declaraçã