Promises, not limits
An app's description says where your data goes. The app itself can do something else, and you usually can't tell.
Altru.dev / Apps / Privacy / Open source
Experimental · Research preview
PWX, the Progressive Web eXecutable, is a signed app in a single file that runs in any modern browser and can only do what it declares. Anyone can check who made it and that it hasn't changed, and the runtime enforces its limits, so you don't have to rely on the publisher's promise. Installed apps work offline and keep their data on your device.
Experimental: not ready for production. PWX has a working, security-tested implementation and a public demo, but the format is still a draft and some protections are not built yet (listed under Honest limits). Try it, test it and break it, but don't keep data you can't lose in the demo.
A privacy policy is a promise, not a limit. Nothing stops an app from sending your data somewhere it didn't mention, changing after you install it, or disappearing along with your data. And as more apps are made quickly, by small teams or with AI, "who made this and what can it do?" gets harder to answer.
An app's description says where your data goes. The app itself can do something else, and you usually can't tell.
An update can quietly add tracking or ask for more, and a stolen publisher key can ship an "update" that isn't from the publisher at all.
Apps live on someone's platform. When it shuts down, changes its terms or loses your account, your data can go with it.
PWX moves trust from the publisher to something anyone can check. It's an open format and a runtime, not an app builder and not a store: build your app however you like, then pack and sign it.
Every file in the app is hashed and the whole package is signed by its publisher. A changed byte, an extra file or a quietly widened permission is refused before the app runs.
The app declares up front which hosts it may contact and what it may store. The runtime turns that into browser-enforced rules, so an app can't send your data to a host it didn't declare.
You see who published the app (their key fingerprint) and exactly what it can do, in plain words, before anything installs.
Installed apps run with no network and make no calls home. Their data stays on your device, in a space no other app can reach.
The same file runs on phones, tablets and computers, in Chrome, Firefox and Safari, from a link or from a file.
The format, runtime and tools are open source under Apache-2.0. Anyone can build a loader, a checker or a packer.
The author drops an app folder into the packer, writes a short manifest (name, version, what the app may do) and signs it. Out comes one .pwx file.
Each release is recorded in a public, append-only log that witnesses check (ALTRU's own today; independent ones are being invited), and the package carries a receipt proving it's in the log. A release that was published in secret stands out.
The loader verifies the signature, every file and the receipt, fully offline, every time the app opens, not just at install. Older versions and swapped content are refused.
The app runs in a sandbox with only the capabilities its manifest declared: no popups, no navigation away, no hosts it didn't name. Strict apps get storage only if they asked for it.
Go to pwx.altru.dev and choose Try the Notes app.
The install screen shows the publisher's key fingerprint, whether the release is in the public log, and exactly what Notes can do: send data to no host at all.
Write a note, turn off your connection and open Notes again. It still works, and your note never left the device.
Add Notes to your home screen (on iPhone the demo shows you how). It opens full screen, as the app alone. Tap What it can do any time to see its limits and when its release status was last checked.
Use any tools you like for the app itself. PWX only needs a folder, a manifest and a key. The tools are plain Node.js scripts with no dependencies.
git clone -b spike https://github.com/altrudev/PWX.git
cd PWX/spike
node tools/pack.mjs keygen ~/my-pwx-key.json # keep this key private, outside your app folder
node tools/pack.mjs pack my-app/ my-app/manifest.template.json ~/my-pwx-key.json my-app.pwx.json
The manifest says what the app is and what it may do. This is the one Notes uses: no network at all, and storage on the device.
{
"pwx": "0",
"id": "org.example.notes",
"name": "Notes",
"version": "1.0.0",
"runtime": "strict",
"entry": "app/main.js",
"capabilities": {
"network": { "connect": [], "webrtc": "none" },
"storage": { "local": true, "persistent": true }
}
}
Then open the demo, choose Install from a .pwx file and pick your package: it goes through the same checks and install screen as any app. The specification covers the package format, every capability and both runtimes (Standard for ordinary web pages, Strict for apps that never touch the page directly).
Every claim on this page is backed by a test that runs in Chromium, Firefox and WebKit (the engine behind Safari).
A full audit wrote ten working attacks: websites hijacking an app, apps reading each other's data, apps rewriting the runtime, links switching protections off. After the fixes, 0 of 10 succeed in any engine, and they run as regression tests.
One changed byte, an extra file, a widened permission, an older version or a package re-signed by someone else is refused, online and offline.
The demo's releases are recorded in a public log at pwx.altru.dev/log, in open, standard transparency-log formats. Other people's code (Go's transparency-log libraries) verifies it.
If a publisher withdraws a version, people see their message; if a release is revoked as unsafe, it won't start, and the data is kept. Offline, the app shows when its status was last checked.
Releases are logged, but the loader only shows that today; it doesn't yet refuse unlogged releases or check a publisher's key history. Two-device signing and independent witnesses come next.
On the hosted demo, whoever controls the server could replace the loader's background code. The loader notices and locks, and apps accept only genuine packages, but app data on that host isn't fully protected yet. The local loader (pwx-local) doesn't have this gap, and the fix for every browser is in progress.
For ordinary web-page apps, some browsers can't fully block WebRTC (and Safari's engine lets link preconnects through). Strict apps aren't affected: their code never touches the page.
Apps anyone can make, share, update and branch, that run on everything, and where you always know who made them and what they can do. These are directions, not shipped features.
Anyone can branch an app; the new version is signed by its new author and shows where it came from, so a branch asking for more than the original stands out.
Buy, gift, lend or earn an app through signed licenses you can check offline, with no store in between.
Invitations, menus, receipts and forms as signed, offline apps that still work in decades.
Apps passed by USB, Bluetooth or QR code that can still be verified, for humanitarian work and places without reliable connections.
When AI builds an app on demand, PWX keeps it inside what its manifest declares and records who or what made it.
Drop in a folder, get a signed app: on the command line today, and as a web page next.
Every app in its own sealed sandbox, a loader core that never changes so any swap is caught at once, and app data encrypted with your device unlock or a passphrase.
Signing that needs two of the author's devices, publisher key history with a 7-day waiting period, independent witnesses for the log, then refusing anything that isn't logged.
Signing keys kept in each device's security chip, and a simple Signer app to approve releases, get alerts and revoke with one tap.
PWX is © 2026 Valentyn Rukhaylo (Altru) / Altru.dev and contributors, released under the Apache License 2.0. The names "PWX" and "Progressive Web eXecutable" aren't covered by the license; forks are welcome under a different name.
Contributions are welcome, especially a second demo app, signed folders, a packer web page and running a witness for the public log. Report security issues privately through the repository's security tab.