on-internet

Verifying payment webhooks from Indian gateways

In short Six gateways use five different ways to prove a webhook is real. What matters is what each proof covers. Razorpay and Cashfree sign the whole body. Only Cashfree also signs a timestamp, which stops old requests being replayed. PayU and Easebuzz hash only some fields. PhonePe and Juspay sign nothing in the body, so check the order with the gateway before you ship. Verify the raw bytes, de-duplicate on signed fields, and handle amounts as integer paise. Written for: Backend developers taking payments in India. A payment gateway tells your server that a customer paid by sending it a webh

Stop Pasting Production JWTs & Base64 Tokens Into Random Websites (And How Base64 Actually Works)

Every backend and frontend developer has done it at least once during a 2 AM incident: you copy a live JWT, an API webhook payload, or a Base64-encoded config string from your terminal, Google "base64 decoder" or "json formatter", click the first ad-heavy site, and hit Decode. Pause for a second and ask: where did that string just go? Many legacy online utilities send your input to a backend server via an HTTP POST request — where it can end up in reverse-proxy access logs, APM traces, or third-party analytics scripts. Even worse, plenty of developers still assume Base64 is "encrypted" and saf

Why HTTP 200 OK Hides Broken /llms.txt Files (And 3 Production Fixes for AI Search)

If you added /llms.txt and Allow: / in robots.txt and moved on, there is a high chance AI search crawlers (PerplexityBot, OAI-SearchBot, Claude-SearchBot) are still seeing a broken response — while your browser shows HTTP 200 OK. While auditing live domains with the free ProofOfCite /llms.txt Validator and AI Crawler Checker, three production failure modes kept showing up repeatedly behind valid-looking configurations. Failure 1: Soft-200 SPA HTML masquerading as /llms.txt Most single-page app hosts (Vercel, Cloudflare Pages, Netlify, custom nginx try_files) configure a catch-all rewrite to /i

Making a payment request safe to retry

In short After a network error, an app cannot know whether the payment went through, so retrying blindly can charge twice. An idempotency key lets the server recognise a retry and return the first result instead of charging again. The client has to create the key once, save it before sending, and let only one sender use it. idempotent-queue does this in the browser, Node and React Native, and is tested with random crashes and lost responses. Written for: Web and mobile developers who send payments from an app. A user taps Pay. The spinner turns for ten seconds, and then the app shows a network

DeepSeek V4 Pro Is HALF PRICE in US Daytime. Run Your Agent THEN 👇

DeepSeek V4 Pro Is HALF PRICE in US Daytime. Run Your Agent THEN 👇 Why now A price tracker logged a sharp move today. On November 26, olud.ai reported DeepSeek V4 Pro input at $0.59 per 1M tokens on one listing, down 54 percent from $1.28. A second tracker logged a smaller move the same day, from $1.28 to $0.888. The two trackers disagree, so treat the headline cut as a signal, not a quote. DeepSeek's own pricing page did not change. It still lists V4 Pro at $1.32 per 1M input tokens in peak hours and $0.66 off-peak. That split is the real story. Most US users already run in the cheap window a

How Does a UPI AutoPay Fraud Work — and How Do You Stop a Fake Mandate?

Arjun signed up for a cricket highlights pack one evening — ₹99 for the first month, or so the ad said. He tapped through the payment screen, entered his UPI PIN, and forgot about it. Three months later he was scrolling through his bank statement and stopped cold. The same unfamiliar merchant name had taken ₹499 out of his account every month, on the same date, without asking him again. It was UPI AutoPay fraud — and Arjun had no idea it was happening. That quiet monthly debit is the shape of UPI AutoPay fraud: one approval, given in a hurry, that keeps taking money long after you have forgott

Gaming Course Semantics: Caching Economics for Online Tutor Retrieval

Short answer: cache ranked content IDs against an explicit catalog revision, not the tutor's generated answer, and spend indexing work only when the searchable course content changes. For a gaming course catalog, that makes index cost visible without letting an old lesson survive behind a fast cache hit. I care about the revenue-per-hour trade here. A solo SaaS can spend a week tuning an elaborate cache hierarchy, or ship a small boundary that makes stale data impossible to confuse with current data. I would ship the boundary first. The concrete system is an online tutor that searches product

How a panel cutting optimiser works: guillotine cuts, kerf, grain, and why greedy fails

A carpenter has a list of 60 rectangles and a stack of 2800 × 2070 mm boards. "How many boards do I buy?" sounds like textbook bin packing, until you add the constraints of a real saw. The board optimiser of SyntaxFlow is a plain JavaScript file with no DOM and no dependencies. Here is what is in it and why. The constraint that defines the problem: guillotine cuts A beam saw or a sliding table saw cannot cut a hole in the middle of a board. Every cut runs from one edge of the piece on the saw to the opposite edge. A layout that respects this is called guillotine. A pinwheel arrangement (four r

Shopify to WooCommerce Migration in 2027: Costs, Risks and SEO

A Shopify store can work perfectly well for years, yet its owner may eventually wonder whether a growing stack of monthly subscriptions and apps still makes financial sense. Moving to WooCommerce is a serious option, but a successful transition is much more than copying a product spreadsheet. Your checkout, fulfillment, historical orders, customer access, payment integrations and Google visibility all depend on decisions made before launch. This guide explains how to evaluate a Shopify-to-WooCommerce migration in 2027, build a realistic scope, protect organic traffic and avoid expensive surpri

Tiny Robots Carried Chemo Across the Blood-Brain Barrier

The brain's best defense is also what makes it so hard to treat. A new Caltech nanorobot just found a way around that wall — in mice. The blood-brain barrier is a wall that blocks most medicines. That protection is usually a gift. For brain tumors, it is also a cruel tradeoff: chemotherapy that works in a dish can still fail if it never reaches the tumor. A 250-nanometer balloon with a chemo payload On November 25, 2026, a Caltech team led by Wei Gao published a peer-reviewed paper in Science Robotics: "Photothermally gated nanorobots for active blood–brain barrier transcytosis and brain deliv

Day 33/90: Your AI Agent Called a Tool — But Can You Trust What It Returned?

AI agents become more useful when they can use tools: search a knowledge base, create a ticket, query an API, send a message, or update a record. But tool calling introduces another important question that is often overlooked: Can the agent safely trust the data a tool returns? The answer is no. A tool response is external data. It may be malformed, incomplete, delayed, unexpectedly large, or influenced by an upstream system. In an MCP-based agent, it may even contain text that attempts to influence the model’s next decision. This article covers a practical approach to validating external tool

Is Maestro Cloud Worth It? A Month of Daily Runs on Android and iOS

Running mobile tests yourself takes a lot of work. One emulator per CI job. A 10-minute iOS run, mostly spent booting a simulator. Every new OS version means another device to set up and maintain. Maestro Cloud promises to take that away: upload your app and your flows and Maestro provides the devices. It costs $250 a month per device. I ran it every day for a month, on Android and iOS to find out whether it's worth it. Some of it matched the promise. iOS was the biggest win: a job that took 10 minutes on GitHub's macOS runner finished in under 2 minutes on Cloud. Every flow also starts on a f

Node.js Tenant File Exports with Signed Download Links — A 4-Step Storage Handoff

Short answer: In Node.js, export tenant files by authorizing the tenant-owned object keys first, then issue short-lived signed download links from a private storage bucket. Keep the signer behind a small interface; it should never decide who owns an image. The safest design is to make a tenant-scoped export a short-lived handoff, not a public object. Build the object key from a server-owned tenant identifier, verify every image belongs to that tenant, then ask the storage boundary for a signed GET URL with a narrow expiry. The browser downloads from that URL; your application never proxies the

Node.js SMS OTP API Integration: Login Evidence for Compliance Notice Access

Integration choice Pick this when Evidence your application still owns Hosted challenge verification Reducing challenge lifecycle implementation is the priority Binding the verification result to the account, session, and notice SMS transport with application verification You need control over challenge state and can maintain security controls Challenge expiry, attempt limits, single use, and notice access Existing authenticated session with an appropriate authenticator The recipient can already authenticate at the required assurance level Session authorization and the separate notice access e

My import said "successful". Every amount came back negative.

Most apps let you export your data and import it back. Browser tests check that the import shows a success message. They don't check whether your data survived the trip. That gap is real. Sure, an open-source finance app, shipped a bug where re-importing its own export flipped the sign of every amount. The screen said "Import successful". It was fixed in pull request #4754. So I built ReturnTrip for the KaneCLI hackathon, with Claude Code. It proves your app gives back the data it exported. How it works Kane CLI drives a real browser. It exports a workspace, creates an empty one, uploads the f

Connecting Claude to email without OAuth

The common route for connecting Claude to email starts with OAuth. You create a Google or Microsoft app, wait for review, and ask the user for a consent screen that can read their mail. That is a reasonable route for a big product. For a small one, the review is slow and the consent screen is broad. There is another route. Email has had a standard protocol for reading mail for decades: IMAP. Many providers let you create an app password, a credential for one application that you can revoke without changing your main password. Busymail connects over IMAP with that password, and exposes the same

A Privacy-Friendly Event Planner in JavaScript: Time Zones, Conflicts, and Budget

An event-discovery interface often starts with cards: a poster, a date, a category, and a ticket price. The difficulty appears when someone selects several cards. Two concerts may overlap, a free event may still require travel time, and an apparently affordable set of tickets may exceed the evening's total budget. You can solve a surprisingly useful part of that problem with a small, privacy-friendly JavaScript planner. It does not need a recommendation API, an account, a tracking pixel, or a database of personal behavior. It accepts a short list of events selected by the visitor and returns a

Rust vs Go for HighLoad Microservices: Tail Latencies (p999), Memory Footprint & Dev Velocity

Rust vs Go for HighLoad Microservices: Tail Latencies (p999), Memory Footprint & Dev Velocity All benchmarks below were produced on identical hardware (AMD EPYC 9654, 96C/192T, DDR5-4800, NVMe Gen4 RAID0, Linux 6.8, cgroup-v2 isolation, 30 runs, MAD reported ≤4%) unless otherwise noted. AI-inference infrastructure is the stress profile that punishes both runtimes hardest: gRPC streaming at sustained high fan-in, token-bucket rate limiting, KV-cache-aware routing, and zero-tolerance p999 SLOs. Executive Summary & Decision Matrix Metric Rust (1.82, tokio 1.40, hyper 1.4) Go (1.23, net/http + gRP

Install the Claude Agent SDK for Python and TypeScript

Originally published on ClueTrove. Install the Claude Agent SDK with npm install @anthropic-ai/claude-agent-sdk for TypeScript or pip install claude-agent-sdk for Python, then set ANTHROPIC_API_KEY. You need Node.js 18+ or Python 3.10+, and most installs need no separate Claude Code. The SDK gives you Claude Code’s “tools, agent loop, and context management” as a library. Anthropic’s docs list built-in tools, hooks, subagents, MCP, permissions, sessions, skills and plugins. Facts below come from Anthropic’s docs checked on 20 October 2026. I did not run the SDK. The short answer What it is: a

Let the model propose, let code decide: a tiny action gate for prompt-injection-prone AI workflows

If your app feeds customer emails, tickets, web pages or files to an LLM and then does something with the output, you have a prompt-injection problem whether or not you've seen an attack yet. OWASP lists prompt injection as LLM01 in its 2025 Top 10 for LLM applications and says it is "unclear if there are fool-proof methods of prevention." The UK NCSC argued in December 2025 that it isn't analogous to SQL injection: there's no parameterised-query equivalent, because inside the model "there is only ever 'next token'." So this tutorial doesn't try to detect injections. It assumes the model will

Older stories