JSON Meta Application Protocol Specification (JMAP)
JMAP is the open protocol that replaces IMAP (and CardDAV and CalDAV). It’s faster, simpler, more powerful, and built for how email works today.
Public notes from activescott tagged with #code
All things code!
JMAP is the open protocol that replaces IMAP (and CardDAV and CalDAV). It’s faster, simpler, more powerful, and built for how email works today.
nip.io and sslip.io are a DNS (Domain Name System) service that, when queried with a hostname with an embedded IP address, returns that IP address.
nip.io and sslip.io have been in operation for over ten years. We have become so popular that our servers receive over 20k queries every second, so mainstream that Google Cloud Platform, Amazon AWS, Microsoft Azure, IBM, AMD, and many more refer to us!
Nice write up of the concepts in the video and repo.
We’re implementing watermarking to comply with the EU AI Act. Anthropic, along with several other major AI model providers and around 190 total signatories, signed the EU Code of Practice on Transparency of AI-Generated Content in July 2026. This requires AI system providers to use methods of “marking” AI-generated text. We’re applying watermarking globally at launch because we don't yet have a durable way to scope it by region. However, we will continue to evaluate different approaches, and will share updates when we have them.
We will soon be offering a watermark detection API. We’re in the process of working out the details of its implementation.
When Claude produces a file of a supported type (such as a .png, .jpg, or .svg), it will attach a content credential in the form of a small, cryptographically signed note in the file’s metadata, saying that the file was made or processed with Claude. This is an open industry standard called C2PA—the same used by camera manufacturers and in photo-editing software to record where an image came from. Any C2PA-aware tool can read it; we’ll be providing our own where you can drop a file and check.
This metadata label is very different from a watermark. Nothing in the file changes—it is not embedded or hidden. As with text, the credential only says Claude was involved in producing the file; it doesn’t include any identifying information.
AI detection software uses a different method, because the companies that provide it don’t have our key. Among other things, those services look at aspects of the text like the subtle (and not-so-subtle) “tells” that often appear in AI’s phrasing. For example, AI models appear to be fond of the construction “this isn’t [X], it’s [Y]”, and use the word “quietly” a lot more than you might expect. Picking up on these patterns is fundamentally different from checking for a watermark.
No. A watermark only helps test whether Claude might have produced or processed the content. It doesn’t say anything about ownership or authorship, and doesn’t change a user’s rights under our terms. We only apply the watermark when Claude was involved in processing the content or file.
Intuitiveness for the implementation details:
A useful analogy is to imagine you’re playing a game like Monopoly. On each turn, each player moves a random number of spaces around the board according to the roll of a die. Suppose that, instead of rolling the die to get this randomness, we decided to use a book of the digits of pi.2 We start from a randomly-chosen digit (say, the 1,012,845th after the decimal place, which happens to be a 6), and from that point on each player simply uses the next digit in the sequence as their next “roll."
For all intents and purposes, the moves are still random: it makes no difference to the players—or to the outcome of the game—whether the randomness comes from pi or from dice rolls each time. But if we could see the sequence of all the moves after the game (and we knew the value of pi), we could work out whether this was a game that likely used pi to determine its moves. The game that used pi is, in a sense, “watermarked."
Obsidian-style Live Preview for CodeMirror 6 — A modular plugin collection that hides Markdown syntax when you're not editing it.
CodeMirror 6 markdown editor with Obsidian-style inline live preview.
TLDR:
gh skill install github/gh-stack --agent claude-code --scope user
Use
--agentand--scopeto control placement, or--dirfor a custom directory. The default scope isproject, and the default agent isgithub-copilot(when running non-interactively).
In the spirit of openness, we are publishing our internal documentation for how we do open source at Google. We invite you to take a look behind the scenes at how we use, release, and support open source projects and communities.
Tauri is a framework for building tiny, fast binaries for all major desktop and mobile platforms. Developers can integrate any frontend framework that compiles to HTML, JavaScript, and CSS for building their user experience while leveraging languages such as Rust, Swift, and Kotlin for backend logic when needed.
zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!
⚡️ Docusaurus will help you ship a beautiful documentation site in no time.
💸 Building a custom tech stack is expensive. Instead, focus on your content and just write Markdown files.
flagd is a feature flag evaluation engine. Think of it as a ready-made, open source, OpenFeature-compliant feature flag backend system.
With flagd, you can:
- modify flags in real-time
- define flags of various types (boolean, string, number, JSON)
- use context-sensitive rules to target specific users or user traits
- perform pseudorandom assignments for experimentation
- perform progressive roll-outs of new features
- aggregate flag definitions from multiple sources
- expose aggregated flags as a gRPC stream to be used by in-process providers
- expose OFREP service for configured flags
It doesn't include a UI, management console or a persistence layer. It's configurable entirely via a POSIX-style CLI. Thanks to its minimalism, it's extremely flexible; you can leverage flagd as a sidecar alongside your application, an engine running in your application process, or as a central service evaluating thousands of flags per second.
Microsoft Threat Intelligence identified a large-scale npm supply chain attack affecting more than 400 packages across multiple unrelated publishers, including packages associated with major enterprise software ecosystems such as keyv, flat-cache, cache-manager, and others. The malicious releases contain a Mini Shai-Hulud variant, a self-propagating credential-stealing worm delivered through a large, heavily obfuscated Bun-based JavaScript payload. The malware typically executes automatically through an npm preinstall lifecycle hook before package installation completes.
Once executed, the malware searches developer workstations and continuous integration and continuous delivery (CI/CD) environments for npm, GitHub, cloud, and infrastructure credentials. It uses recovered identities to authenticate to npm, GitHub, Amazon Web Services (AWS), Kubernetes, and HashiCorp Vault, enabling it to enumerate packages, repositories, workflow secrets, cloud parameters, and secret-store values. Collected data is encrypted and transmitted through an attacker-controlled HTTPS endpoint, with GitHub repositories serving as a fallback exfiltration channel.
The payload’s most significant capability is automated propagation. After obtaining an npm publishing token, it enumerates packages available to the compromised identity, downloads their latest tarballs, inserts the malware and setup loader, adds a preinstall hook, increments the patch version, and republishes the modified packages. The malware can also use stolen GitHub credentials to inject Claude and Visual Studio Code configuration files into repositories, establishing persistence and creating an additional developer-to-developer infection path.
In this blog, we’re sharing our analysis of this supply chain attack, along with protection, detection, amd hunting guidance. Organizations that installed an affected package with lifecycle scripts enabled should treat the associated developer workstation or build runner as potentially compromised. Investigations should prioritize credentials accessible to the affected identity, unauthorized npm releases, unexpected repository or workflow modifications, suspicious cloud and secret-store access, and artifacts produced by affected build systems. Organizations should revoke and rotate exposed credentials from a known-clean environment and rebuild affected systems and downstream artifacts from trusted sources.
Evidence points towards stolen maintainer credentials as the attack vector for initial compromise. Later propagation used stolen npm publishing tokens and, in targeted workflows, GitHub Actions OIDC publishing access.
One worm took twelve unrelated organisations between 09:35 and 13:18 UTC on 4 August 2026, each republishing its whole namespace within seconds.
The confirmed footprint is 2,234 poisoned versions across 444 package names.
lateststill resolves to a poisoned version on most affected names, so upgrading is not a fix. The maintainers have since cleaned thekeyvandcacheablefamily and unpublished its poisoned releases, which does not help a lockfile pinned while they were live.Every poisoned release adds
"preinstall": "node setup.mjs", which runs on a barenpm install. Disable install scripts in CI, and treat any npm token used in CI during the window as compromised.The payload steals GitHub, npm, AWS, GCP, Azure, Stripe, Vault and Kubernetes credentials, scrapes GitHub Actions runner memory, and can republish packages with valid SLSA provenance.
It installs a dead-man’s switch that polls GitHub with the stolen token and executes a handler when that token is revoked. Hunt it before rotating anything, because rotation is the trigger.
Poisoned packages include the auth libraries
@or-sdk/auth,@or-sdk/api-tokens,@or-sdk/permissionsand@arv-bedrock/auth. The@ornikarpackages are mostly lint and build configs, which land on CI runners and developer laptops as dev dependencies.There is no C2 host. Exfiltration rides GitHub dead-drop repositories and Actions artifacts under RSA-4096 encryption, and stage one pulls its runtime from the official Bun releases, so no attacker domain appears at either stage.
546 dead-drop repositories described
Shai-Hulud: Here We Go Againappeared on 4 August 2026, and the same marker appears on the TanStack compromise dated 11 May 2026.The
keyvrepository also ships.claude/settings.jsonand.vscode/tasks.jsonhooks that execute when the project opens in an IDE or agent session. Both are still onmain.The commit that added those hooks shows as verified by GitHub with its author spoofed to
github-actions[bot], and the poisonedkeyvrelease carries intact OIDC and SLSA attestation. Trust neither signal here.
Hosts TSConfigs for you to extend in your apps, tuned to a particular runtime environment. Owned and improved by the community. Basically Definitely Typed for TSConfigs.
Mailpit - email & SMTP testing tool with API for developers
Mailpit is a small, fast, low memory, zero-dependency, multi-platform email testing tool & API for developers.
It acts as an SMTP server, provides a modern web interface to view & test captured emails, and contains an API for automated integration testing (read more).
FlyDrive is a file storage library for Node.js. It provides a unified API to interact with the local file system and cloud storage solutions like S3, R2, and GCS.
Drive can be an excellent fit for applications that use cloud storage services to manage user-uploaded files. With Drive:
- You get a unified API for various storage services, including S3, R2, Digital Ocean spaces, GCS, and your local file system.
- Extensible API to add custom storage drivers.
- Unified exception handling.
- Baked-in security primitives to prevent common attacks like Path travesal.
A simulated bash environment with virtual filesystem