{
  "author": "Denis Podgurskii",
  "name": "OWASP Penetration Testing Kit Automation",
  "short_name": "PTK Auto",
  "description": "OWASP Penetration Testing Kit Automation",
  "version": "9.9.9",
  "manifest_version": 3,
  "icons": {
    "128": "ptk/browser/assets/images/ptk_auto_icon_128.png"
  },
  "action": {
    "default_icon": {
      "128": "ptk/browser/assets/images/ptk_auto_icon_128.png"
    },
    "default_title": "PTK Auto",
    "default_popup": "ptk/automation/popup.html"
  },
  "incognito": "split",
  "background": {
    "service_worker": "app_automation.js",
    "type": "module"
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' http: https: ws: wss:;"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "ptk/packages/browser-polyfill/browser-polyfill.min.js"
      ],
      "all_frames": true,
      "run_at": "document_start",
      "match_about_blank": true
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "ptk/content_shared.js"
      ],
      "all_frames": true,
      "run_at": "document_start",
      "match_about_blank": true
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "ptk/content/iast_agent_bootstrap.js",
        "ptk/content/iast.js"
      ],
      "all_frames": true,
      "run_at": "document_start",
      "world": "MAIN",
      "match_about_blank": true,
      "match_origin_as_fallback": true
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "ptk/content_automation.js"
      ],
      "all_frames": false,
      "run_at": "document_start",
      "match_about_blank": true
    }
  ],
  "permissions": [
    "cookies",
    "storage",
    "unlimitedStorage",
    "tabs",
    "webRequest",
    "offscreen",
    "debugger",
    "scripting",
    "declarativeNetRequestWithHostAccess"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "ptk/automationBridge.js",
        "ptk/ptkAgentAutomation.js",
        "ptk/content/spa_hash_hook.js",
        "ptk/content/dialog_suppressor.js",
        "ptk/content/iast.js",
        "ptk/content/iast_agent_bootstrap.js",
        "ptk/content/iast_comprehensive_bootstrap.js",
        "ptk/content/iast_runtime_plan.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "ptk-automation-agent@ptklabs.com",
      "strict_min_version": "102.0"
    }
  }
}
