Sonatype Platform Browser Extension

Sonatype Platform Browser Extension

Shift Security Left with the Sonatype Platform Browser Extension - Scan Open Source Repositories for known Vulnerabilities.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "name": "__MSG_extension_name__",
  "version": "2.17.0",
  "description": "__MSG_extension_description__",
  "icons": {
    "16": "images/sonatype-platform-icon-16x16.png",
    "32": "images/sonatype-platform-icon-32x32.png",
    "48": "images/sonatype-platform-icon-48x48.png",
    "128": "images/sonatype-platform-icon-128x128.png"
  },
  "default_locale": "en",
  "content_scripts": [
    {
      "matches": [
        "https://pkgs.alpinelinux.org/package/*",
        "https://anaconda.org/*",
        "https://cocoapods.org/*",
        "https://conan.io/center/*",
        "https://anaconda.org/conda-forge/*",
        "https://cran.r-project.org/*",
        "https://crates.io/*",
        "https://pkg.go.dev/*",
        "https://central.sonatype.com/*",
        "https://repo.maven.apache.org/*",
        "https://repo1.maven.org/*",
        "https://search.maven.org/*",
        "https://mvnrepository.com/*",
        "https://www.npmjs.com/*",
        "https://www.nuget.org/*",
        "https://packagist.org/*",
        "https://pypi.org/*",
        "https://rubygems.org/*"
      ],
      "css": [
        "/css/pagestyle.css"
      ],
      "js": [
        "/static/js/content.js"
      ],
      "run_at": "document_end"
    }
  ],
  "homepage_url": "https://github.com/sonatype-nexus-community/sonatype-platform-browser-extension/",
  "minimum_chrome_version": "102",
  "offline_enabled": false,
  "options_page": "options.html",
  "permissions": [
    "activeTab",
    "declarativeContent",
    "background",
    "scripting",
    "storage",
    "tabs"
  ],
  "short_name": "Sonatype",
  "background": {
    "service_worker": "extension_service_worker.js"
  },
  "action": {
    "default_popup": "popup.html",
    "default_title": "View the details of this Component",
    "default_icon": {
      "16": "images/sonatype-platform-icon-16x16.png",
      "32": "images/sonatype-platform-icon-32x32.png"
    }
  },
  "content_security_policy": {
    "script-src": "self",
    "object-src": "self"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "images/*",
        "static/*",
        "css/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "optional_host_permissions": [
    "https://*/*",
    "http://*/*"
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}