Skip to content

Security: chinmay29hub/CacheCat

Security

SECURITY.md

Security

Security Measures

CacheCat implements the following security measures:

✅ Implemented Security Features

  1. No Dangerous Code Execution

    • No eval(), innerHTML, or Function() constructor
    • Safe JSON parsing with error handling
  2. Message Security

    • Origin validation for all messages
    • Message type whitelist enforcement
    • Message structure validation
  3. Input Validation

    • Key/value size limits (10KB keys, 10MB values)
    • Type checking for all inputs
    • Prevents DoS attacks
  4. Content Security Policy

    • Restricts script sources to extension only
    • Prevents XSS attacks
  5. Sender Validation

    • Cookie operations validate sender is from dashboard
    • Prevents unauthorized access

Privacy & Data Handling

  • 100% Local Operation - All data stays on your device
  • No Data Collection - We don't collect any information
  • No Data Transmission - Nothing is sent to external servers
  • No Analytics - No tracking or analytics
  • No Third-Party Services - No external API calls

Permissions

All permissions are necessary for the extension to function:

  • <all_urls>: Required to access storage on websites (only used when you click extension icon)
  • cookies: Required for cookie management
  • scripting: Required to inject scripts for storage access
  • activeTab: Required to attach to websites
  • alarms: Required to keep service worker active (ensures attachments persist, no data access)

Security Best Practices

  • ✅ Manifest V3 compliance
  • ✅ Strict mode in all scripts
  • ✅ Error handling for all operations
  • ✅ Request timeouts (30 seconds)
  • ✅ No external dependencies

Reporting Security Issues

If you discover a security vulnerability, please do not open a public issue. Instead:

  1. Email the maintainer or create a private security advisory on GitHub
  2. Provide details about the vulnerability:
    • Description of the issue
    • Steps to reproduce
    • Potential impact
    • Suggested fix (if any)

We take security seriously and will respond promptly to all security reports.

GitHub Security Advisory: https://github.com/chinmay29hub/CacheCat/security/advisories/new

Overall Security Rating

Status: Excellent

The extension follows security best practices and is published on the Chrome Web Store.

There aren’t any published security advisories