Skip to content

ClientVault is a lightweight, in-page web security tool that lets you inspect, analyze, and manage all client-side storage used by a website — including cookies, localStorage, sessionStorage, and more. Built for developers, pentesters, and bug bounty hunters.

License

Notifications You must be signed in to change notification settings

URDev4ever/clientvault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔐 ClientVault

🇺🇸 English | 🇪🇸 Español

ClientVault is a lightweight, in-page web security tool that lets you inspect, analyze, and manage all client-side storage used by a website — including cookies, localStorage, sessionStorage, and more. Built for developers, pentesters, and bug bounty hunters.


📋 QUICK START

You can either paste ClientVault directly into DevTools (F12 → Console → Ctrl+V → Enter) OR install it as a persistent userscript so it runs automatically on every site.

The recommended way is using Tampermonkey, so you don’t have to keep pasting the script every time.

Using Tampermonkey:

  1. Copy the ClientVault script
  2. Open Tampermonkey
  3. Click Create new script (+)
  4. Paste the code
  5. Save (Ctrl+S)
  6. Enable the script
  7. Reload any page (F5)
  8. Done! ClientVault UI appears automatically

🚀 INSTALLATION INSTRUCTIONS

Step-by-Step

1. Install Tampermonkey


2. Create New Script

  • Click the Tampermonkey icon
  • Click Create a new script
  • Delete all default content

3. Paste this header

// ==UserScript==
// @name         ClientVault – Storage & Cookie Inspector
// @namespace    https://urdev.carrd.co/
// @version      1.0
// @description  Inspect, analyze and manage cookies, localStorage and sessionStorage in real time
// @author       URDev
// @match        *://*/*
// @grant        none
// @run-at       document-end
// ==/UserScript==

// PASTE THE ENTIRE ClientVault SCRIPT BELOW THIS LINE

Paste your full ClientVault code under that.


4. Save & Enable

  • Press Ctrl+S
  • Make sure the toggle is ON
  • Reload any webpage

🎯 HOW TO USE

Once installed:

  1. Open any website

  2. ClientVault UI appears in the top-right corner

  3. Use the sidebar to switch between:

    • Local Vault (localStorage) image

    • Session Vault (sessionStorage) image

    • Cookie Jar (cookies) image

  4. Click 👁 View to inspect any value (JSON is auto-formatted and highlighted)

    image
  5. Click 🗑️ to delete a specific entry

    image
  6. Click 🗑️ Clear All to wipe everything and kill the session

    image image

🔍 WHAT YOU CAN SEE

ClientVault lets you inspect:

  • Cookies accessible by JavaScript
  • localStorage keys & values
  • sessionStorage keys & values
  • Storage size per item
  • Total storage usage per site

Perfect for:

  • JWTs
  • Session IDs
  • Feature flags
  • Tracking tokens
  • App state objects

🧠 SMART JSON VIEWER

ClientVault automatically detects JSON values and:

  • Formats them with indentation
  • Applies syntax highlighting
  • Makes large tokens readable (JWTs, auth objects, etc.)

If the value is not JSON, it is shown as raw text.


⚙️ KEYBOARD SHORTCUTS

Shortcut Action
ESC Close the detail viewer
Ctrl + R Refresh current vault
Ctrl + Shift + X Close ClientVault

🔄 LIVE REFRESH

ClientVault automatically refreshes the active vault every 5 seconds, so:

  • Tokens changing
  • Sessions expiring
  • Cookies updating

…are reflected in real time.


⚠️ LIMITATIONS

  • HttpOnly cookies cannot be accessed (browser security)

  • Some data may live in:

    • IndexedDB
    • Cache API
    • Service Workers (planned for future versions)

🛣️ ROADMAP

Planned features:

  • 🔍 IndexedDB inspector
  • 🗃️ Cache & Service Worker storage
  • 🔐 Automatic detection of auth tokens
  • 📤 Export & copy storage snapshots
  • 📊 Session & token analysis
  • 🧪 Advanced JSON tree viewer

🛡️ PRIVACY

ClientVault runs entirely inside your browser. No data is sent anywhere. No servers. No tracking. No logging.


⚖️ DISCLAIMER

ClientVault is for:

  • Development
  • Security research
  • Debugging
  • Educational use

Only use it on sites you own or have permission to test.


Made with <3 by URDev.

About

ClientVault is a lightweight, in-page web security tool that lets you inspect, analyze, and manage all client-side storage used by a website — including cookies, localStorage, sessionStorage, and more. Built for developers, pentesters, and bug bounty hunters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published