New:Socket for Asana Is Now Available.Learn more
Get Started

altweb

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

altweb

CLI for ALTWEB signed context capsules: compile markdown into self-contained, verifiable, optionally encrypted artifacts — and verify them offline. Verify before you inject.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

altweb — CLI

Signed context capsules for AI agents — Markdown compiled into self-contained, verifiable, optionally encrypted artifacts + an MCP loader that refuses unsigned or untrusted context. Verify before you inject.

This is the command line. Full docs: altweb.software · Source: github.com/danielsoimu/altweb · MCP loader: altweb-context

Quick start

# verify a capsule — file, #hash URL, or raw hash; fully offline, no network
npx altweb verify page.altweb.html

# create your signing identity (a passphrase IS a keypair — nothing stored)
npx altweb keygen --save

# markdown in, signed self-contained artifact out
npx altweb compile notes.md --sign

Commands

CommandWhat it does
compile <input.md>Markdown → capsule (--sign, --encrypt, --format html|hash|url|json)
verify <source>Check the signature; exit code makes it a build step (--expect-fingerprint, --expect-key)
decode <source>Capsule → markdown
keygenDerive the deterministic identity (Argon2id) from your passphrase

Signatures are deterministic ECDSA P-256 (RFC 6979): recompiling the same file produces the same artifact byte for byte. Verification is pure cryptography — offline, no key server, no registry.

License

AGPL-3.0-or-later + commercial — see the repository.

Keywords

ai-agents

FAQs

Package last updated on 22 Aug 2026

Related posts