TL;DR — GSC (Git Security Checker) is a self-learning AppSec platform that doesn't stop at detecting a vulnerability. It proves it with a sandboxed exploit, fixes it with a minimal patch, verifies the fix by re-running the exploit, and heals the repo with an automated PR — then learns from your TP/FP verdicts to cut false positives over time. This post is a technical tour of the whole system: the detection engine, the proof/fix/verify loop, the adversarial AI-judging layer, and the closed-source/core split that ships it as a GitHub Action and an MCP server. A typical static analyzer hands you a snapshot: a flat list of findings that you then triage, verify, and fix by hand. Three pains follow immediately: No proof. "Possible SQL injection" is a hypothesis, not evidence. You still have to write the exploit yourself to know if it's real. False-positive fatigue. When every run surfaces hundreds of medium/low findings, developers learn to ignore the tool entirely. No loop closure. The scanner never learns which of its findings were right, so its precision never improves for your codebase. GSC is built around closing exactly this loop. The pipeline is detect → prove → fix → verify → heal → learn, and every stage has a concrete mechanism behind it. Three entry points, depending on how you want to run it. Local CLI: git clone https://github.com/poliakarmai/gsc.git && cd gsc pip install -e . gsc external-scan https://github.com/user/repo --profile audit With exploit proof and verified fixes: gsc external-scan ./repo --profile audit --with-poc --with-chains No LLM key? It still runs — GSC degrades to regex-only detection (finds vulnerabilities, just without confirmed verdicts). Add DEEPSEEK_API_KEY (or OPENROUTER_API_KEY, or LLM_BASE_URL for any OpenAI-compatible endpoint including a local Ollama) to switch on the adversarial judge. GitHub Action — drop into any repo's CI: - uses: poliakarmai/gsc@v1 with: deep_scan: true with_poc: true fail_on_critical: true Scans every PR/p
Whenever you search for a simple utility like "Merge PDF" or "Convert WebP to PNG", you are usually greeted by the same frustrating experience: A 15MB file upload limit behind an aggressive paywall. A subscription pop-up asking for $12/month. Your sensitive personal documents (tax returns, signed contracts, medical records) getting uploaded to an untrusted remote server. As developers, we know that modern browsers have hardware-accelerated GPUs, multi-threaded Web Workers, and WebAssembly. There is zero technical justification for uploading a document to a cloud server just to merge two pages or change an image format. So I decided to build SwiftUtils — a suite of 100% client-side, zero-upload web utilities that process everything directly in browser memory. Here is the exact technical architecture behind how it works. Most online PDF services transmit your PDFs across the wire to a backend running poppler or pdfcpu. Instead, we can load the document structure directly into browser memory using pdf-lib: javascript import { PDFDocument } from 'pdf-lib'; async function mergePDFsInBrowser(fileList) { // 1. Create a fresh document in browser memory const mergedPdf = await PDFDocument.create(); for (const file of fileList) { const arrayBuffer = await file.arrayBuffer(); // 2. Parse the PDF structure locally const pdf = await PDFDocument.load(arrayBuffer); const copiedPages = await mergedPdf.copyPages(pdf, pdf.getPageIndices()); // 3. Append pages to the merged document copiedPages.forEach((page) => mergedPdf.addPage(page)); } // 4. Save and generate a local memory blob const pdfBytes = await mergedPdf.save(); const blob = new Blob([pdfBytes], { type: 'application/pdf' }); return URL.createObjectURL(blob); }
What a build provenance attestation verifies, and what it leaves open Supply chain security has a verification problem. Teams sign artefacts, publish software bills of materials and generate provenance, then treat a signed attestation as evidence that the artefact can be trusted. That inference reaches further than the evidence supports. A provenance attestation is a signed statement about how an artefact was produced. In the SLSA model, the statement is an in-toto attestation wrapped in a DSSE envelope, and the provenance is the predicate inside it. Two field groups carry the meaning. The most useful sentence about this subject comes from a SLSA community write-up of a real supply chain incident: build platforms can accurately record what ran within their trust boundary, but they cannot vouch for whether what ran produced an uncompromised artefact. The boundary of observability is the boundary of the trust context. Given the boundary, provenance is still worth deploying, and the reasons are specific. Sign what consumers will actually verify. Generating an attestation that nobody validates adds cost and no control, and this is stated plainly in the platform documentation. Attestation coverage is uneven across ecosystems, and many consumers still install artefacts without verifying anything. Transparency logs are append-only records rather than correctness proofs. SLSA levels describe the strength of the build platform and the provenance it issues. A high level next to an unenforced verifier on the consumer side delivers paperwork instead of assurance. SLSA provenance specification: https://slsa.dev/spec/v1.0/provenance GitHub Actions artifact attestations: https://docs.github.com/en/actions/concepts/security/artifact-attestations Supply chain provenance tooling survey: https://www.infoq.cn/article/2o6QVN6CMU8DsiO6ZM4F Packer SLSA provenance support: https://www.infoq.cn/article/v3VX3eqmROVDJ38rQOh0 Framework survey with SLSA community quote: https://m.toutiao.com/ar
I have been building an MCP server called Bridgekit, and the part that took the longest was not exposing tools. Exposing tools is easy. The hard part was making sure a tool could only ever touch what a specific client was allowed to touch, and being able to prove afterward what it did. This tutorial walks through that technique on a minimal server so you can lift the pattern into your own. The Model Context Protocol lets a host (say, a Claude client) discover and call tools you define. The naive version of this is dangerous: you hand the model a read_file tool with a path argument and it will happily read anything the process can read. What we want instead is a server where every tool has a strict input schema, every call is checked against a per-client boundary, and every call is logged. There are three things I want you to take away, independent of my project: Tools declare narrow, typed input schemas so bad calls fail before your code runs. Authorization is a boundary the tool cannot escape, not a suggestion in a prompt. Every effectful call leaves an audit record. Let me build a tiny server that does all three. We use the official TypeScript SDK and Zod for schemas. npm install @modelcontextprotocol/sdk zod Here is the key structural decision: I never let a tool receive a raw filesystem path. Instead a client is bound to a root directory, and the tool takes a path relative to that root. The boundary lives in code, not in the argument. import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { z } from "zod"; import { promises as fs } from "node:fs"; import path from "node:path"; // Per-client boundary. In a real server this comes from auth, // not a constant. The point is that the tool closes over it. interface ClientContext { clientId: string; root: string; // absolute directory this client may touch canWrite: boolean; // scope: read-only vs read-write } const a
Public NHTSA vPIC endpoints do not give you a private SLA. When your free VIN tool, a marketplace embed, and a cron job all refresh at once, naive retries make outages worse. Every client wakes up, fails, sleeps the same 500ms, and hits DecodeVinValues together again. This post covers a small TypeScript retry helper with exponential backoff and jitter, plus product rules so retries do not lie to users or stampede the upstream API. Retry transient failures: Network resets and timeouts HTTP 429 (rate limited) HTTP 502 / 503 / 504 Empty body or parse errors that look like a blip (use caution; count them) Do not retry as if they were transient: Local validation failures (length, I/O/Q, check digit) Clear 400-style "bad VIN" responses if you can classify them HTTP 200 with sparse fields (that is success with incomplete data) Business logic you invent ("Make was blank, try again") Blindly retrying sparse 200s wastes quota and delays the honest empty-field UI. Collapsing duplicate in-flight requests for the same VIN matters more than fancy backoff curves. If ten React components mount and all decode 1HG..., you want one upstream call. const inflight = new Map >(); export function singleFlight (key: string, fn: () => Promise ): Promise { const existing = inflight.get(key) as Promise | undefined; if (existing) return existing; const p = fn().finally(() => inflight.delete(key)); inflight.set(key, p); return p; } Wrap the whole fetchWithRetry in singleFlight(vin, ...), not each attempt separately. AWS-style "full jitter" picks a random delay uniformly between 0 and the current cap. That spreads load better than everyone sleeping exactly 2^attempt seconds. export type RetryOpts = { maxAttempts?: number; // inclusive of first try baseMs?: number; maxMs?: number; retryOn?: (err: unknown) => boolean; }; function sleep(ms: number) { return new Promise((r) => setTimeout(r, ms)); } function fullJitter(cap: number) { return Math.floor(Math.random() * Math.max(0, cap)); } export async
From the Streaming CDN team. The original, kept up to date, is at streaming-cdn.ewin888.com/guides/react-native-incoming-call-screen. A calling app has to ring when it is not running: on a locked iPhone, on an Android phone in a pocket, after the system has reclaimed the process. That takes a push that wakes the app and a system incoming-call screen, on each platform in its own way. This guide shows how the Streaming CDN calling SDK does it for React Native and Expo. The caller starts a call; the call service sends a push with the call id, caller and mode (audio or video). iOS: a VoIP push (PushKit) wakes the app, which reports the call to CallKit. Android: an FCM message wakes the app, which shows a full-screen incoming-call notification. The person answers from the lock screen. The app accepts the call with its client token. The service makes the accept atomic — the first device to answer wins — and returns the media credential to that device only. Every other device signed in as the same person stops ringing. The push itself carries no media token and no server key; the media credential is returned only after the accept succeeds. { "callId": "rtc_call_...", "callerId": "user-17", "callerName": "Alex", "mode": "video", "expiresAt": "2026-07-26T04:00:00Z" } npm install @streaming-cdn/rtc-react-native react-native-webrtc Bare React Native apps rebuild the native project as usual. Expo apps need expo prebuild and a development build or EAS Build — Expo Go cannot load a native WebRTC runtime. Add @streaming-cdn/rtc-react-native to the Expo plugins list so the camera and microphone usage descriptions are generated. Upgrading from a version without the native call layer means rebuilding the native project; until then native calls report that the module is unavailable. Your backend keeps the server API key and hands the app a short-lived credential: import { ReactNativeRtcClient } from "@streaming-cdn/rtc-react-native"; const identity = await fetch("https://your-backend.
canonical_url: https://arielchangdev.github.io/angelina-finance-agent/ Building a hybrid local+cloud AI system under two hard rules — $0 cost and never break production. The interesting part wasn't the happy path; it was the 9 production bugs and what each taught me about where reliability actually lives. A war-stories write-up. The system was fun to design. The interesting part was the nine ways it quietly broke — and what each one taught me about where reliability actually lives. I spent a few months building and operating a small AI agent under two rules that never moved: It must cost exactly $0. Every component lives inside a provider's always-free tier, with a $1 budget alert sitting on top as a tripwire. It must never regress the running production service. There's a live daily job that real usage depends on. Every change had to ship without breaking what was already working. Those two constraints turned out to be the whole story. When you can't throw money or a staging cluster at a problem, you're forced to get the boring details right. This post is about the boring details — specifically, the nine production bugs I had to fight, written up so you can skip the ones I didn't. If you want the full architecture and trade-off write-up, that's in a separate case study (linked at the bottom). Here I'll keep the system context short and spend the words on the failures. It's a self-hosted AI agent (Python + FastAPI, a hosted LLM on its free tier, a vector DB for retrieval, SQLite for state). A cron job runs a scheduled daily task, logs results to a shared spreadsheet, and keeps a small knowledge base in sync. Over three iterations, it grew from one home-lab VM into a hybrid topology: a local VM is the primary and does all the real work; a cloud always-free VM sits passive and only takes over if the local node goes dark. Coordination happens through a heartbeat written to a shared sheet; data moves through a token-gated HTTPS sync endpoint. That's it. Everything below
Most "redact PDF" tools draw a black rectangle on top of the text and save. The text is still I build Drible, a free set of file tools where most of the work happens in PDF editor, I wanted it A PDF page is a content stream: a list of drawing operators like "move here, show these glyphs, text extraction (and Ctrl+A, Ctrl+C) still returns them search still finds them the original objects can still be read from the file even if nothing on the page draws them So removing the visible text is not enough. You have to remove every object that could still Rewriting a content stream to delete exactly the glyphs under a box is hard in general (text can a page with redactions is replaced by an image of Render the original page with PDF.js to a canvas at about 200 DPI (longest side capped at 5000 px so phones don't run out of memory). Fill each redaction box on the canvas in solid black. Encode the canvas as a JPEG and embed it on a fresh page of the same size with pdf-lib. Remove the old page. The new page contains only an image, so there is nothing to select, search or extract under the Removing a page in pdf-lib takes it out of the page tree, but its objects (content streams, Scrub the old page. Before it is dropped, its content, resources and annotations are deleted Garbage-collect unreachable objects. Walk the object graph from the trailer (the document /** Delete every indirect object not reachable from the trailer. */ function collectGarbage(pdf: PDFDocument): void { const ctx = pdf.context; const seen = new Set (); const stack = [ctx.trailerInfo.Root, ctx.trailerInfo.Info].filter(Boolean); while (stack.length) { const o = stack.pop(); if (o instanceof PDFRef) { const key = o.toString(); if (seen.has(key)) continue; seen.add(key); const target = ctx.lookup(o); if (target) stack.push(target); } else if (o instanceof PDFDict) { for (const [, v] of o.entries()) stack.push(v); } else if (o instanceof PDFArray) { for (const v of o.asArray()) stack.push(v); } else if (o instan
The cheapest log search system is the one that preserves enough evidence to explain why a marketplace notification failed without making every retry look like a new incident. Fix the event shape, cardinality, and retention tiers first; then compare self-hosted search, a managed search cluster, and a hosted logs API against the same workload. Otherwise the vendor comparison measures noise. TL;DR: emit one structured delivery-attempt event per provider call, keep stable identifiers searchable, collapse retries when calculating alerts, and separate short-lived diagnostic payloads from longer-lived outcome records. For a small team, the decisive trade-off is signal quality versus operational noise. Hosting model comes after that. A marketplace notification service has a deceptively simple job: accept an intent, ask a delivery provider to send it, retry failures, and record the final outcome. Search gets messy because one buyer action can generate several attempts. An alert on every failed attempt pages on recoverable retries; an alert only on terminal failure can hide provider degradation until the retry window closes. Define the investigation question before selecting storage: "Which delivery intents failed permanently, for which channel and failure class, during this release window?" That wording forces a useful distinction between an intent and an attempt. It also keeps message contents out of the primary index. GDPR Article 5 requires personal data to be adequate, relevant, and limited to what is necessary, so indexing an email address or full message body by default needs a purpose stronger than convenience. The useful flow is small enough to explain plainly. The service creates a stable notificationId, records every provider attempt with an attemptNumber, normalizes the provider response into a bounded failure class, and emits a terminal outcome when retry policy finishes. Searchable storage receives the normalized envelope. A separately controlled diagnostic tier
Pennyforge Studio · 2026-10-06 · cohort n=78 · $0 · reproducible (probe script + raw JSON available on request, 16-second wall) Last week we published a compatibility probe of 78 public MCP endpoints: the servers in the registry's first alphabetical slice that answered an initialize. This run we stopped measuring "does it answer" and started measuring something else: what does a stranger with zero credentials get — and does the server follow the spec revision it claims to speak? Same cohort, same day window, new questions. measure result endpoints that answer initialize anonymously (no credentials, no headers) 76/78 (97%) endpoints that then expose their FULL tool inventory to that stranger 74/78 (95%) tools a stranger with zero credentials can see 793 — 100% carry a description string endpoints that gate anything at the protocol level 2 — both with NO WWW-Authenticate header endpoints that ever send a WWW-Authenticate header (the OAuth 2.1 + RFC 9728 discovery the 2026-07-28 revision standardizes when authorization is on) 0/78 endpoints on the 2026-07-28 revision 7/78 (9%) — unchanged across our three dated points endpoints that still issue Mcp-Session-Id headers — a header the 2026-07-28 revision removed from the spec entirely (SEP-2567) 9/78 (12%) 1. A 401 you cannot discover. agentxray.ai/api/mcp: initialize is wide open; tools/list returns 401 {"detail":"invalid or missing MCP token"} with no WWW-Authenticate header. A conforming client following the spec's own discovery chain (401 → resource_metadata per RFC 9728 → authorization-server metadata per RFC 8414/OIDC) has nothing to latch onto: the credential scheme is a private convention. The spec even shows the 401 shape this server skipped: WWW-Authenticate: Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-protected-resource" 2. A revision-mix interop wall. 7/78 endpoints (9%) accept the legacy handshake but reject a standard tools/list with HTTP 400: -32602 "Missing required _meta field: io.
Last month I walked through building an order fulfilment workflow with the workflow engine: signals arriving from webhooks, timeouts bounding the wait, retries with backoff, branching, and saga compensation when the whole thing falls over. It was a long article and it left one question completely unanswered. How do you test the bit where it sleeps for three days? That is not a rhetorical flourish. Take an abandoned cart reminder. Somebody adds a product to a basket and wanders off. You send a nudge, wait three days, send a final one, and give up. Most of that workflow is waiting. If your suite cannot cover the waiting, it is covering the boring quarter of the process and leaving the interesting three quarters to production. The good news is that you never have to wait. Not once, not for a second. A sleeping instance is a database row with a wake time on it, and rows do not care what the clock says. Getting a seven day process to run in ten milliseconds is entirely a matter of who owns the clock, and it is not the workflow. Here is the workflow. Two steps, one of which sleeps. final class AbandonedCartReminder implements WorkflowDefinitionContract { public static function name(): string { return 'abandoned_cart_reminder'; } public function steps(): array { return [ SendFirstReminder::class, SendFinalReminder::class, ]; } } final class SendFirstReminder implements WorkflowStepContract { public function __construct( private readonly CartRepository $carts, ) {} public function execute(WorkflowContext $context): StepResult { $cart = $this->carts->find($context->get('cart_id')); Mail::to($cart->email)->queue(new FirstReminder($cart)); return StepResult::sleep(259_200, ['first_reminder_sent_at' => now()]); } public function timeoutSeconds(): ?int { return null; } public function maxAttempts(): int { return 3; } } And here is the test almost everybody writes first, because it is the one the tooling nudges you towards. it('sleeps for three days', function (): void { $result
Vue 3.6 is not stable yet. As of October 6, 2026, the latest version is 3.6.0-rc.10 (September 30), and the stable release is still 3.5.43 (September 17). I checked both on npm and in the vuejs/core releases on that date. Vue Vapor Mode is the headline feature of 3.6: a compilation mode that skips the Virtual DOM and generates code that updates the DOM directly. It is opt-in, so you pick which components use it and you don't rewrite your app. This article covers how Vapor works, how to enable it in Vue and in Nuxt 4.6, what it doesn't support yet, and when it's worth a try. In the traditional mode, when reactive state changes, Vue runs the render function, builds a new tree of VNodes (plain JavaScript objects that describe the UI), compares it with the previous tree, and only then touches the real DOM. In Vapor Mode, the compiler analyzes the template and generates code that manipulates the DOM directly. Vapor components don't create VNodes or diff trees at runtime. When a reactive value changes, only the part of the DOM bound to it is updated. According to the official Vue 3.6 release notes, the goal is a smaller baseline bundle and better performance. The same notes say Vapor reached the same level of performance as Solid and Svelte 5 in third-party benchmarks (js-framework-benchmark). As with any benchmark, the result depends on the scenario measured. Vue 3.6 also ships a major refactor of @vue/reactivity based on the alien-signals library. The rc.1 notes say it improves the reactivity system's performance and memory usage. It's an internal change: ref, reactive, computed and watch keep the same API. Since it's part of Vue 3.6, you get it whether or not you use Vapor. Vapor works with SFCs that use or only a template. You mark the component with the vapor attribute: import { ref } from 'vue' const count = ref(0) count is {{ count }} Outside Nuxt, @vitejs/plugin-vue compiles Vapor SFCs (the plugin's changelog records Vapor component support, including template-onl
A filtered vector query that asks for 10 results can come back with 2, and nothing errors. AWS's own launch post shows exactly that on a CLASSIC index: a query scoped to one tenant "returns two of the ten results requested". The rest of that tenant's matching documents just aren't in the answer. On Sep 30, 2026, AWS launched metadata pre-filtering for Amazon S3 Vectors (the ENHANCED index mode), saying it fixes exactly this failure on selective filters. I wanted to know what really changes, so I measured it. I loaded 50,000 vectors into a real ENHANCED index, ran 6,900 logical query requests (6,000 of them filtered, across 10 filters, one of which matches nothing) at 4 values of K, and scored every result against exact nearest neighbors computed locally. The scope is narrow: one synthetic index in one region, 50 query vectors, and no real CLASSIC measurement (AWS doesn't allow CLASSIC on new buckets). The short version: ENHANCED returned the exact answer on every filter with 1 to 5 matches, where a post-filtering approach collapsed. Between 50 and 135 matches, its recall dipped measurably below the unfiltered search. On broad filters, ENHANCED and a large-budget post-filter agreed. I could not get CLASSIC at all on a new bucket. In CLASSIC mode, S3 Vectors applies the metadata filter during the vector search, so a selective filter "may return fewer than top K results". In ENHANCED mode, it finds the vectors that match the filter first and then searches only those. Buckets created on or after Sep 30, 2026 create ENHANCED indexes, and older buckets keep CLASSIC until you change them. AWS reports that on highly selective filters, pre-filtering "returns up to 5x more of the matching vectors than the same query returned before on CLASSIC indexes" (AWS News Blog). That's a ratio of result counts. It isn't a Recall@K multiplier. This article doesn't re-explain the feature; it measures it. Figure 1. Three query paths. Only the first and third were run on AWS. The CLASSIC ro
Earlier this month, a critical vulnerability showed up in GitLab's AI Gateway — CVE-2026-90970, CVSS 9.9, letting a logged-in user with agent platform access run commands on the gateway itself. I read the advisory the way most people probably did: nodded, thought "glad that's not us," and moved on. Then I actually thought about our own setup for about ten more seconds, and the "glad that's not us" feeling evaporated. We'd wired an internal AI agent into our infra for the usual reasons — it could read logs, query our internal APIs, open PRs, restart a flaky worker, that kind of thing. It talked to our systems through a small internal gateway service that translated the model's tool calls into real actions. The gateway wasn't exposed to the internet. No inbound port, internal DNS only, behind our VPN. That was the entire safety argument: it's not reachable from outside, so it's fine. I went looking for whether our gateway had the same class of bug — unauthenticated or under-authenticated command execution reachable by an agent session. My first assumption was that the risk, if any, was purely about network exposure, the same shape as the GitLab issue. I checked our network path twice, confirmed there was no route in from outside our VPC, and almost closed the investigation there. The second assumption nearly stopped me too: I assumed that because our tool-calling layer had a permissions.yaml file listing which tools each agent role could call, that file was actually being enforced at the point where commands executed. It read like enforcement. It had role names, tool names, an allowed: true/false column. Surely something was checking it. Nothing was checking it at the layer that mattered. The permission check lived in the orchestration layer — the code that decided which tools to offer the model in the first place. If a role wasn't supposed to have restart_service, that tool simply wasn't included in the list sent to the model for that session. But the gateway's actua
Your last engineering review probably included a code coverage number. Someone reported it, a chart trended up and to the right, and everyone nodded. Coverage is the most-reported testing metric in the industry. It's also one of the least useful, and the gap between those two facts is costing you. Code coverage measures one thing: what percentage of your code executed while your tests ran. That's it. It says nothing about whether those tests would actually catch a bug. You can write a test that calls a function, asserts nothing, and you've "covered" that code. Teams do this constantly—sometimes deliberately to hit a coverage gate, sometimes because AI generated tests optimized for coverage rather than correctness. The number goes up. The quality does not. A metric you can game without improving quality is a vanity metric. And if your team is steering by vanity metrics, you're optimizing for a dashboard instead of for outcomes. Let's separate the numbers that flatter you from the numbers that tell you the truth. Coverage is seductive because it's easy to compute, easy to chart, and feels like rigor. But it measures execution, not verification—and that distinction is everything. Consider what high coverage doesn't tell you. It doesn't tell you whether your assertions are meaningful or whether they'd notice a regression. It doesn't tell you whether you tested the right code—you can have 95% coverage and zero coverage on the one payment path that actually matters. And in 2026 it's actively misleading, because AI can generate tests that maximize coverage while verifying almost nothing. We've reviewed suites at 90%+ coverage that would have caught maybe a third of realistic bugs. This doesn't mean coverage is worthless. Low coverage on critical code is a genuine red flag—it tells you something is untested. But high coverage is not a green light. It's the absence of one specific problem, not the presence of quality. Treat it as a floor to investigate, never a goal to celeb
Version 10.6 of OpenSSH has been released. The announcement notes that the OpenSSH team has been receiving a large number of AI-assisted security bug reports. "We very much welcome these reports, especially when combined with human triage, analysis, test-cases and particularly when accompanied by proposed fixes". As a result, the project expects to be making more frequent releases to get updates to users more quickly rather than batching the bug fixes until the next planned release. Notable changes in this release include enabling the hybrid post-quantum ssh-mldsa44-ed25519 signature algorithm, addition of a -p option for sftp's lmkdir/mkdir commands, as well as disabling the LZ77 dictionary coder in ssh and sshd to mitigate side-channel leaks (which will result in reduced effectiveness of the Compression option). The scp -R option, which allows copies between two remote hosts, is being deprecated due to security risks; the option will be ignored in the future. See the announcement for full details of all changes and bug fixes.
You rotate to a fresh residential IP, open Google in a real browser, type a query - and get a captcha. Again. We assumed that was the proxy. We measured it, and it mostly wasn't: what mattered most was whether that exit had done anything before the search. Every attempt below opens google.com in a real, headful browser (Chromium 151 The cold arm searches straight away. The warm arm first browses six ordinary served cold 20% (46 of 232) warm, six pages 87% (409 of 471) That is four runs on two machines. Inside every run the cold and warm arms are One run tried more depths side by side: warm-up depth 0 2 4 7 served 11% 24% 33% 82% Depth 7 is the six-page warm-up above. A separate test of a single page of Four of the six warm-up pages are Google's own. So two explanations fit every The same code, the same gateway and the same parameters, in overlapping hours: Warm-up is not free. In a smoke run of six queries, warming one exit took about Don't send a search from a cold exit. Give it a few ordinary pages first, keep the sticky session, and reuse a warm exit for as many queries as Google keeps serving it. Rotating to a new IP on every request is the most expensive way to get captchas. Everything is public: the harness, the run files and the scripts that turn rows Harness and raw rows: https://github.com/nodemaven/proxy-benchmark The scraper we built on it: https://github.com/nodemaven/google-browser-scraper pip install google-browser-scraper patchright install chromium google-browser-scraper search "best running shoes" --proxy "http://USER-session-{session}:PASS@your-gateway:port" {session} is where your provider expects a session id. It works with any provider; I work at one (NodeMaven), which is why we had the pool to measure this on. If you re-run it and get different numbers, I'd happy to see them.
I once kept a shell script called pre-destroy.sh in a repo for far longer than I'd like to admit. It took a final backup, poked an external inventory system, and only then let the pipeline run terraform destroy. Everyone on the team was a little scared of it, and nobody ever fully trusted it. Terraform 1.16 lets a lot of that logic move into the configuration, where the plan can see it. HashiCorp's release post covers two headline changes. Actions can now fire on before_destroy and after_destroy events. Import blocks can also live inside child modules, so the root module no longer has to own every import. The release post opens with the cases you'd expect: taking a final backup, deregistering an asset, or cleaning up an external system before the infrastructure goes away. You attach an Action to a resource through action_trigger in its lifecycle block and list the destroy event in events. The shape from HashiCorp's example looks like this: action "example_cleanup" "archive" { config { resource_id = caller.id } } resource "example_service" "payments" { name = "payments" lifecycle { action_trigger { events = [before_destroy] actions = [action.example_cleanup.archive] } } } For anyone who has wired up cleanup steps in a pipeline, this is the nice part. The cleanup step sits next to the resource it belongs to, it shows up at plan time, and you stop relying on whoever runs the destroy job to remember the wrapper script. The second change is quieter, and I think more people will feel it day to day. Until now, an import block could target a resource inside a child module, but the block itself had to sit in the root module. HashiCorp calls that "an awkward exception" for modules that are supposed to hide their implementation details. In 1.16 the module can carry its own import: variable "existing_bucket_name" { type = string } resource "aws_s3_bucket" "this" { bucket = var.existing_bucket_name } import { to = aws_s3_bucket.this id = var.existing_bucket_name } The consumer p
Running an open-source LLM on AWS sounds straightforward at first. Pick a model, deploy it, send requests, and you're done. But once you start thinking about production, things become more complicated. Where should the model run? Who manages the GPUs? How much control do you actually need? What happens when traffic increases? Two approaches that caught my attention are Amazon SageMaker with vLLM and Amazon Bedrock with custom or supported models. Both can be useful, but they solve the problem at different levels. The biggest lesson for me is that the decision isn't really about choosing between two AWS services. It's about deciding how much of the LLM infrastructure you want your team to own. With SageMaker, you can deploy an open model and use vLLM as the inference engine. This gives you much more control over the serving layer. You can choose the model, configure the inference environment, select the underlying compute, and tune the serving configuration based on your workload. The basic architecture looks like this: Application | v SageMaker Endpoint | v vLLM | v Open LLM | v GPU This approach becomes interesting when the model and inference performance are important parts of your application. For example, your application can invoke a SageMaker endpoint using boto3: import boto3 import json runtime = boto3.client("sagemaker-runtime") response = runtime.invoke_endpoint( EndpointName="my-vllm-endpoint", ContentType="application/json", Body=json.dumps({ "inputs": "Explain Apache Spark in simple terms.", "parameters": { "temperature": 0.2, "max_new_tokens": 200 } }) ) result = response["Body"].read().decode("utf-8") print(result) The application only needs to know about the endpoint. The model and GPU infrastructure are behind it. One of the reasons vLLM is interesting for LLM serving is its focus on efficient inference and request handling. Techniques such as continuous batching can help the server handle multiple requests efficiently instead of treating every requ
A few days ago I wrote up a test that passed on Windows and failed on Linux, and one of its three lessons was: give every negative probe a control arm. A probe that asserts "nothing is listening on this port" cannot, on its own, tell "the listener is gone" from "I built the probe wrong" — so you stand up a second listener you know is running, and check the probe reports it. That advice is right. It is also not enough, and I know because my control arm lied to me. This is the follow-up: the control is a probe too, and it is subject to every rule you wrote for the thing it is controlling. True for the wrong reason The probe asks a question — is nothing listening on this port? — and answers by trying to connect: def nothing_is_listening(port): with socket.socket() as s: try: s.connect(("127.0.0.1", port)) return False # the connect succeeded: something is there except ConnectionRefusedError: return True # the refusal: nothing is there The control stands up a listener and asserts the probe reports it: srv = socket.socket() srv.bind(("127.0.0.1", 0)) srv.listen(1) # the whole bug lives in this argument port = srv.getsockname()[1] assert nothing_is_listening(port) is False With a listener sitting right there, the control returned True — "nothing is listening". listen(n) does not mean "accept up to n connections". It sets the backlog: how many fully-handshaken connections the kernel will hold in the accept queue on your behalf before it stops completing new ones. The control's listener was one listen(1) socket that nothing ever calls accept() on — a control arm is usually a bare listen() with no server behind it — and the probe was exercised against it more than once, once per spelling under test. The first connect() was handed to the kernel and parked in the queue, filling it. The second connect() found no room, was refused, and the probe dutifully reported "nothing is listening". A listener with a full accept queue is still a listener; the probe just cannot tell. So the
TL;DR: When llama-server runs with speculative decoding (a draft model with -md, MTP, or one of the n-gram types), every token that comes out of the speculative loop is sent with logprob: 0.0 and an empty top_logprobs list. The code sets the probability to 1.0 with the comment // set later and never sets it. With a draft model that is every token after the first. On b11430, the current release, the mean logprob of 64-token samples at temperature 1 was -0.48 without speculation and -0.0011 with it. The generated text looked normal, and nothing in the response or the log says the numbers are fill-ins. There is no per-request switch: the request fields that used to tune speculation are compiled out and ignored. Send logprob requests to an instance started without speculation. The tokens themselves are fine: on a small fixture, the server's speculative output had the same next-token distribution as plain sampling. The llama-speculative example program did not. The toolkit's check-spec-logprobs.sh checks a running server. Upstream: ggml-org/llama.cpp#27972 and #29975. Debian 13 LXC, CPU only, llama.cpp b11430 from the release tarball (the current release, SHA-256 matching the release digest), gemma-3-1b-it-Q4_K_M. A draft model normally has to be smaller than the target to save time; using the same file as its own draft is enough to put every token through the speculative path, and needs no extra download. The request is the one from the report: curl -s http://127.0.0.1:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{ "messages": [{"role": "user", "content": "Explain how a CPU branch predictor works."}], "max_tokens": 24, "temperature": 1.0, "seed": 1, "logprobs": true, "top_logprobs": 3}' Without speculation: 'Okay' logprob=-0.00813608 top_logprobs=3 ',' logprob=0 top_logprobs=3 ' let' logprob=-2.38419e-07 top_logprobs=3 '’' logprob=-2.60903 top_logprobs=3 's' logprob=0 top_logprobs=3 ' break' logprob=-0.0479959 top_logprobs=3 Same server started with
If an agent can trigger a business action, the most important design question is where each check runs. In the Claude Agent SDK, hooks give you two points around every tool call. Only one of them can stop the action. A check that must prevent a side effect belongs in PreToolUse. It runs before the tool executes and returns a decision. PostToolUse runs after execution. It can add context, replace the result the agent sees, or record an event, but it cannot undo what the tool already did. Decision Use it when What happens deny Required data is missing or a business rule fails The tool does not run. Return a reason the agent and the operator can act on ask The request is valid but needs a person's approval Your approval handler (canUseTool in TypeScript, can_use_tool in Python) gets the decision. Returning ask alone does not create an approval screen allow The request meets the hook's policy The call continues to the tool service A PreToolUse hook can also return changed input. Use that sparingly and log it, because the tool then runs something the agent did not ask for. Async hooks cannot gate. A callback that returns async: true (async_: True in Python) cannot block the tool or change its input. A hook that gates an action must return its decision before execution. The hook is not the last line. The hook does not own the business record. The tool service must repeat authorization and business validation, and use an idempotency key so a retry cannot create a duplicate. Passing the hook shows the request looked acceptable, not that the action is correct. The event names overlap, but the owners differ. Agent SDK hooks are registered by the application running the agent, through ClaudeAgentOptions in Python or the SDK options in TypeScript. Claude Code hooks are configured in the Claude Code environment. Exam questions and real incidents both turn on this difference. Send a valid, below-limit request. Confirm the tool receives unchanged input. Remove a required field, ch
Short answer: put byte validation and one review-sized derivative before publication, then defer the full compression matrix until approval. Model the workflow as explicit state transitions, and make telemetry answer queue-age and failure questions without turning every upload ID into a permanent label. That boundary matters for a developer tool that accepts screenshots and captions. A rejected item should not trigger six encodes, while an approved item should not make the first reader wait for a cold codec path. I count storage and cardinality together: a log line is bytes retained, and a label is a future index with a potentially unbounded value set. The architecture record starts with invariants, not a vendor choice. Original bytes are immutable and private. A moderation decision covers the image and its caption as one revision. Only an approved state can reach a public serving key. Retries are idempotent. Every generated derivative names the source hash, transformation policy, and output format so a policy change can replay from one source. There are three placement choices. Their failure boundaries are different. Placement Useful property Failure boundary All derivatives at upload Predictable reads after approval CPU and storage are spent on items that may be rejected All derivatives on demand Small upload critical path First approved read can encounter a timeout, stampede, or codec failure Review derivative at upload; final derivatives after approval Bounded review latency and regenerable outputs Requires two queues and explicit state transitions The third row is the decision rule here. It keeps the quarantine path small while preserving a replay point for future formats. It also makes the public read path simpler: a missing derivative is a build state, not permission to inspect a pending object. Keep that boundary boring. The API acknowledges an upload only after it has a durable object address and an idempotency key. The worker checks the bytes, not the file
The page says a marketplace experiment is breaching its error-budget policy, but the on-call view contains a pile of failed work with no reliable way to separate treatment tenants from control tenants. For Postgres-backed cron worker error tracking, including a Node.js background job runner, the least complex useful fix is to capture one immutable record per attempt, keyed by a stable job ID and carrying the experiment cohort, then alert when terminal outcomes diverge between cohorts. TL;DR: Capture the first attempt, every retry decision, and the terminal outcome as separate events. Put cohort identity and a sanitized error class beside them, not inside an unstructured message. Alert on a sustained cohort delta with enough completed work in both groups; page on terminal impact, while retry spikes remain a warning. This preserves the evidence needed to reconstruct an incident after a worker has retried and overwritten its immediate error state. A useful page should answer three questions before anyone opens a trace: which cohort is affected, how many jobs reached a terminal failure, and what deploy or experiment version bounds the change. A raw exception count cannot do that. One customer action may create several attempts, so counting exceptions can make a retry policy look like user impact. Start there. For a marketplace, take a catalog-enrichment experiment split across tenant cohorts. A task reads an item, calls a downstream classifier, and writes the result. The alert should compare terminal outcomes per completed job in treatment and control, while retaining attempt counts for diagnosis. If treatment has 40 terminal failures among 2,000 completed jobs and control has 5 among 2,100, those are example inputs to the decision rule, not a claim about a production incident. The page payload needs the observation window, cohort counts, experiment version, and a link or query key for the underlying attempts. It should not contain item descriptions, access tokens, conn
There are plenty of open-source AI code review tools today, and at first glance, they all seem to do more or less the same thing. But they don’t. Some are pretty simple and handle the basics inside CI. Others go further by pulling context from the codebase, applying team-specific rules, and giving you more control over the model and where the review runs. Once you start comparing them properly, differences show up that aren’t always obvious in a demo. Some tools have more context, others give you more control over the model, some are easier to maintain, and others start making more sense as the number of repositories grows. And that changes the decision quite a bit. That’s why I put this guide together. I compared seven AI code review tools based on license, maintenance, Git platforms, execution model, model support, context, team rules, and cost per PR. The goal here isn’t to say one tool works for everyone. It’s to show where each one makes more sense and what I would look at before choosing. Updated: October 5, 2026 TL;DR Open-source AI code review tools let you review PRs using a model chosen by your own team and, in most cases, your own API key. They range from bots that run directly in CI to platforms with a UI, shared rules, and centralized configuration. The software may be free, but inference still costs money. In CodeReviewBench, cost per PR varied by more than 20x across models with similar F1 results. None of them found half of the known bugs, so AI code review works better as an additional review layer than as a replacement for human reviewers. For a single repository, a CI integration is usually enough. Things get more complicated once you have dozens of repositories, different Git platforms, shared rules, SSO, and audit requirements. In this guide, we compare Kodus, PR-Agent, Shippie, Gito, ai-code-review, Open Code Review, and ChatGPT-CodeReview by license, maintenance, Git platforms, and deployment model, and show what to evaluate before choosing on
A proper Well-Architected review has always had the same cost: a day or two of the team answering a long questionnaire, someone pulling evidence from five consoles, and a report that's stale within weeks. Trusted Advisor helps with point checks, but it has no idea which application matters or what your business is optimizing for this quarter. On October 1, 2026, AWS launched AWS Well-Architected Agent in public preview. It continuously analyzes your accounts and returns cost, security, resilience, and performance recommendations ranked against goals you write yourself, and it hands you the fix: console steps, CLI commands, or the change to your infrastructure code. AWS positions it as the next step after Trusted Advisor and the Well-Architected Tool, delivered through AWS Support. Here's how it works, how to wire it up with read-only cross-account roles, how to point it at an EKS Terraform repo before you deploy, and what to check before granting it access to your whole organization. Profile → read-only role chaining → analysis → recommendations with remediation. (Diagram labels in Spanish, from the original article.) Public preview since Oct 1, 2026. The service runs in us-east-1, us-east-2, and us-west-2, but can analyze resources in any commercial Region. You create a profile: up to 100 accounts, their Regions, the pillars you care about, and a goal per pillar. First recommendations land within 24 hours. It reads resource configuration across 65+ services, utilization metrics, and application topology via read-only roles. Recommendations come at three levels (resource, application, architecture) with priority, effort, impact, ROI, and explicit trade-offs. IaC review: upload a .zip of Terraform, CloudFormation, or CDK and get findings before anything is deployed. Remediation via console, updated IaC, CLI, SDK, SSM runbooks, and MCP. In what AWS showed, it doesn't change resources on its own. Requires an AWS Support plan. No published preview pricing. It's an AWS S
I build Pooka, a Pokémon card collection app for iOS, Android and web. Until version 2.0, scanning a card meant uploading a photo: the server turned it into a CLIP embedding and ran a vector search over every card image. It worked, but every scan waited on the network and cost server time. For 2.0 the whole pipeline runs on the phone, in Flutter. This is what that took, including the parts that went wrong. A corner detector finds every card in the camera frame and its four corners, so a binder page with nine cards becomes nine upright crops. An embedding model turns each crop into a 256-dimensional vector. That vector is matched against an index of about 47,000 English and Japanese cards that ships inside the app. An accept rule decides whether to add the card straight away or show a short list to pick from. No OCR anywhere. Card text is small, often Japanese, and frequently behind a glossy sleeve; the artwork carries far more signal. The hardest part wasn't the model, it was data. There is no labelled set of real phone photos covering 47,000 cards, and there never will be. So I wrote a simulator that turns clean catalog scans into fake phone photos: perspective, tables and playmats as backgrounds, lighting changes, shadows, glare and blur, single cards, overlapping piles and binder pages. Every training image comes out of it, with the exact card and its corners as free labels. To check the model against something closer to reality, I rendered cards in Blender: in sleeves, in toploaders, in binder pockets, under different lights. That gave 605 evaluation images with 992 cards whose exact identity is known. A small set of hand-labelled real photos sits on top of that. Honest caveat: the evaluation is mostly synthetic. Only 39 of the test cards are real photos, so one real photo moves that sub-score by 2.6 points. I trained three candidates under the same 60-minute budget: DINOv2-small, a Perception Encoder model and MobileNetV4. DINOv2-small and the PE model tied on
Over a two-and-a-half-year engagement I migrated 42 financial workflows from a legacy Visual FoxPro system to C# and .NET Core, as the sole engineer. The old system carried two decades of business logic and had no written specification. The domain layer was rebuilt on Entity Framework Core with 42 T-SQL stored procedures against SQL Server, the FoxPro reports were replaced with reporting workflows in a Blazor application, and the old system was retired. This is the order of work I would recommend to anyone facing the same kind of migration. Visual FoxPro mixes data, logic and screens in one place. A form can hold validation, calculations and direct table updates, so there is no layer to lift out. Microsoft ended support for it years ago, which means the people who understand the system are often the only documentation left. The risk is not the new code. The risk is losing a rule that nobody remembers is there. Start from what the business does: each task a user completes from start to finish, such as posting a payment or closing a period. List them, name an owner for each, and note which screens, tables and reports each one touches. That list becomes the plan and the definition of done. In my case there were 42. When there is no written spec, the running system is the spec, including its oddities. For each workflow, read the FoxPro code and write down the rules in plain language, then confirm them with someone who uses the system. Record real inputs and the outputs they produce. Those pairs become the tests that the new system must pass. FoxPro tables are loosely typed, often without enforced keys. Moving to SQL Server is the moment to add what was missing: primary and foreign keys, proper date and decimal types, and constraints for rules that used to live only in forms. Do not copy the old structure column for column. Redesign it, and write a repeatable script that loads the legacy data into the new shape, so the load can be rehearsed many times before the real cut
One morning our marketing site's homepage started failing with ERR_TOO_MANY_REDIRECTS. Every other page was fine. The cause turned out to be a perfectly reasonable cache setting meeting a perfectly reasonable SEO plugin. Here's the chain, because it's an easy one to walk into. 1. The SEO plugin strips tracking parameters. Our WordPress site (bytephase.com) uses Yoast, which can 301-redirect /?fbclid=abc or /?utm_source=x to the clean URL /. That's good for duplicate-URL hygiene. 2. The CDN ignores tracking parameters in the cache key. In CloudFront we excluded utm_*, gclid, fbclid and msclkid from the cache policy. Otherwise every ad click creates a fresh cache entry and a cache miss. Also good. A visitor arrives at /?fbclid=abc. CloudFront drops fbclid from the cache key, so the request maps to the cache entry for /. But the origin request policy still forwards fbclid to WordPress. WordPress sees the parameter and answers 301 → /. CloudFront caches that 301… under the key for /. The next visitor requests /, gets the cached 301 → /, follows it, and gets the same 301. Loop. The homepage was the only victim because it's where ad and social traffic lands. The cache key and the origin request must agree on which parameters exist. If CloudFront ignores a parameter for caching, it must also not forward it to the origin. We switched the origin request policy from "all viewer query strings" to all except the same list the cache policy excludes: utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, gclid, fbclid, msclkid Now WordPress never sees fbclid, so it never issues the redirect, and nothing poisonous gets cached. Analytics still works, because GA reads the parameters client-side from the browser URL, not from the server. Then we invalidated /*. Your browser caches 301s too. After the edge was fixed, Chrome kept looping from its own redirect cache. Test with a fresh profile, or fetch(url, {cache: 'reload'}), before declaring it still broken. The loop can
You've finished your .NET application, run it through an obfuscator, and everything looks great. The Day Reflection Meets Obfuscation A Real-World Example Reflection Is Everywhere, Even When You Don't Think It Is The Wrong Solution: Disable Obfuscation Everywhere Think in Terms of Contracts How to Find Reflection Risks Before They Become Bugs Serialization Can Fail Too WPF Developers Face an Additional Challenge The Production Checklist I Recommend A Simple Rule to Remember If the runtime must discover a component by name, that name is no longer an implementation detail. It's a contract. Successful .NET protection isn't about hiding every identifier. It's about preserving the metadata your application needs while aggressively hardening the code that attackers want to understand. When you treat reflection targets as contracts instead of obfuscation candidates, you can keep dynamic loading, serialization, plugins, and WPF functionality working while still gaining meaningful resistance against reverse engineering. The source article demonstrates this selective-protection philosophy as the recommended solution for reflection-dependent .NET applications.