Only the latest release gets security fixes. The runtime can update itself (pwa-runtime self-update), so please update before reporting.
Please do not open a public issue for security problems.
Report privately through GitHub: open the repository's Security tab and choose Report a vulnerability. Please include:
- the version (
pwa-runtime --version) and Windows version - what an attacker controls (a website, a manifest, a browser extension, a local file, ...)
- steps to reproduce, and what happens compared with what you expected
You should get a first reply within 7 days. Once a fix is released, the advisory is published and you are credited unless you ask not to be.
pwa-runtime runs untrusted web content and installs software on the user's machine. These areas matter most:
- Self-update: release download, ed25519 signature check, binary replacement (
crates/installer/src/self_update.rs) - Native messaging host: messages from the browser extension, caller checks, install confirmation (
crates/installer/src/native_host.rs,crates/cli/src/bin/pwa-native-host.rs) - App windows: navigation and new-window policy, IPC from pages (
crates/runtime/src/policy.rs,crates/runtime/src/lib.rs) - Install and update of apps: manifest and icon fetching, shortcut and file paths (
crates/installer/src) - Manager window: its IPC commands and bundled UI (
crates/manager)
Bugs in WebView2 itself should go to Microsoft. Problems inside the web apps you install should go to the site that publishes them.