
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@orangecheck/lock-device
Advanced tools
Device-key binding and Nostr kind-30078 directory publication for OC Lock.
Device-key binding and Nostr kind-30078 directory publication helpers for OC Lock.
npm i @orangecheck/lock-device
d: oc-lock:device:<btc-address>.This package is WebCrypto-free: it works in Node and in the browser.
generateDeviceKey() — new (device_sk, device_pk, device_id, created_at).buildBindingStatement({ address, device_pk, device_id, created_at }) — exact bytes per SPEC §3.2.buildRevocationStatement({ address, device_id, revoked_at }) — for explicit revocation.deriveNostrKey(deviceSk) — deterministic nostr_sk from device_sk (HKDF).finalizeDeviceEvent({ ... bindingSigBase64, ... }) — returns a fully signed kind-30078 NostrEvent.parseDeviceEvent(event) — extracts { address, device_pk, device_id, bindingStatement, bindingSigBase64, revoked }.The caller is responsible for obtaining the BIP-322 signature from the user's wallet and for publishing / querying Nostr relays. See SPEC.md §3 for the normative device-binding rules.
FAQs
Device-key binding and Nostr kind-30078 directory publication for OC Lock.
The npm package @orangecheck/lock-device receives a total of 34 weekly downloads. As such, @orangecheck/lock-device popularity was classified as not popular.
We found that @orangecheck/lock-device demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.