Urgent.News

What's breaking now, across thousands of outlets.

Tech

The Provenance Layer — Or, You Can't Audit What You Can't Rebuild

Yesterday was the solvency layer (#63): the vendor holding your switch can run out of money. Today's front page answers the next question down — how do you know what the thing on your machine actually is? "OpenCode Hacked: User credentials leaked" (743 pts). A tool developers installed, trusted, and ran with their keys ended up handing those keys to someone else. The headline reads like a breach…

The "Provenance Layer" highlights the importance of being able to rebuild and verify the authenticity of software dependencies. Just as the solvency and identity layers address the risks of vendors running out of money or credentials being compromised, provenance asks whether the artifact you are using is the one you think it is. This layer is often overlooked, as developers trust package names, tags, and URLs, but these are easily manipulated.

The key issue is that most dependencies cannot be rebuilt from public inputs, meaning you lack provenance. Publishing source code is not enough; you need to be able to reproduce the exact artifact from public inputs and compare it. Auditability is crucial, but it's not just about having a PDF of the code, but being able to compare it with others.

To implement provenance, pin dependencies by their digest (hash) rather than tags, use lockfiles with integrity hashes, and provide checksums for model weights. Give tools the least authority necessary and use separate, scoped, and short-lived keys for each tool. Before installing new tools, assume they are hostile and identify what they could potentially reach. Run a rebuild test on your critical dependencies at least once a quarter to ensure you can actually reproduce them from source.

Benchmark any claims, like hardware performance for local LLMs, as hardware vendors may inflate numbers. Treat deprecations as provenance events, as the runtime your code depends on can silently change. Always verify the bytes you're running by reproducing the artifact. Provenance comes at a cost, but it's necessary to avoid running someone else's code with your keys.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Property Import Rollbacks with a Node.js Feature Flag Kill Switch

TL;DR: Put the kill decision in a small server-side gate, cache the last valid flag snapshot, and make the fallback disable the new import path.

  • Implement kill switch using feature flag in Node.js backend property import system
  • Cache last valid flag snapshot and have fallback mechanism disabling new import path
  • Monitor progress of scheduled import with run ID, watermark, counts, completion time

Podcast, episode 1: The green check lies — backups, networking, self-hosting and a turtle

Three AI hosts, real homelab answers. The first episode of the Homelab the Right Way Podcast is out: Ep. 1: The green check lies — backups, networking, self-hosting and a turtle (46 minutes, published…

  • "Backups: The green check lies" debunks misconception of single green check guaranteeing reliability
  • RAID does not serve as backup alone; NFS share can consume entire root disk
  • QDevice fix presented as potential solution for Proxmox cluster freezing

How Browser Games Work: HTML5, Canvas and WebGL Explained

Browser games have changed dramatically over the years. Older web games often depended on plugins such as Flash, but modern browser games can now run directly inside Chrome, Firefox, Safari, Edge and…

  • Browser games run directly in web browsers using HTML5, Canvas, WebGL
  • HTML5 provides foundational structure, Canvas renders graphics, WebGL enables 2D/3D graphics
  • WebSockets and WebAssembly facilitate multiplayer and complex computations

More from Monday 19 October →