
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
staticvault
Advanced tools
StaticVault lets you create an encrypted, client-decryptable file system that can be hosted on static web platforms like S3, GitHub Pages, or any CDN. Ideal for secure, private content delivery, and easily hosted on static blogs (Hugo, Jekyll, etc).
You encrypt and manage your files locally, then deploy the encrypted vault. A lightweight browser-based app (included) allows in-browser decryption and previews of text and images.
Demo vault (password: hello).
Client features:
You don't need to install anything globally - just use npx:
npx staticvault init path/to/vault
npx staticvault ingest path/to/vault path/to/files
Then upload the contents of path/to/vault to your static site host.
Your newly created vault includes the client, index.html, and library index.min.js, which you
can access on your site.
npx staticvault <command> [arguments]
chpassChange vault password.
npx staticvault chpass <vault> [-p password] [-n newpassword]
dumpDecrypt the vault into a directory.
npx staticvault dump <vault> <destination> [-p password]
initInitialize a new vault.
npx staticvault init <vault> [-p password] [-d difficulty]
ingestEncrypt and add files to an existing vault. Use -i to ignore files/folders based on a pattern
(*, **, and ? supported).
npx staticvault ingest <vault> <source> [-i ignore]+ [-p password]
rekeyGenerates new encryption keys. By default, this will rotate the metadata keys. Use -a to rotate
the file keys as well, but this will mean re-encrypting all files, which could be expensive.
Useful for revoking access to all shared links.
npx staticvault rekey <vault> [-p password] [-a]
rmRemove a file or folder from the vault.
npx staticvault rm <vault> <path> [-p password]
testRun internal tests.
npx staticvault test
treeList the contents of the vault.
npx staticvault tree <vault> [-p password]
versionOutput version.
npx staticvault version
npx staticvault init myvault
npx staticvault ingest myvault ./blog-attachments
npx staticvault tree myvault
Then upload the contents of myvault/ to your static host.
FAQs
Encrypt, host, and share files on a static website
The npm package staticvault receives a total of 7 weekly downloads. As such, staticvault popularity was classified as not popular.
We found that staticvault 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.