{
  "name": "KeyFinder",
  "description": "Passively discovers API keys, tokens, and secrets leaked in page scripts, DOM, network responses, and browser storage. Available for Chrome and Firefox.",
  "version": "2.2.1",
  "manifest_version": 3,
  "browser_specific_settings": {
    "gecko": {
      "id": "keyfinder@momenbasel.com",
      "strict_min_version": "128.0",
      "data_collection_permissions": {
        "required": ["none"]
      }
    }
  },
  "action": {
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    },
    "default_popup": "popup.html"
  },
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": ["js/patterns.js", "js/content.js"],
      "run_at": "document_idle",
      "all_frames": true
    },
    {
      "matches": ["<all_urls>"],
      "js": ["js/interceptor-loader.js"],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "background": {
    "scripts": ["js/background.js"]
  },
  "web_accessible_resources": [
    {
      "resources": ["js/interceptor.js"],
      "matches": ["<all_urls>"]
    }
  ],
  "permissions": ["activeTab", "storage"]
}
