{"success":true,"data":{"ext":"crx","name":"Google Chromium patch update","description":"Google Chromium patch update (CRX) is a package format created and maintained by Google for Chrome and other Chromium-based browsers. It is used to distribute browser extensions and packaged applications, allowing users to install add-ons and web app components. CRX files are generally safe, but they should be obtained from trusted sources because malicious extensions can request broad browser permissions and affect browsing privacy or security.","mime":["application/x-chrome-package"],"risk_level":"Safe","signatures":[{"hex":"43 72 32 34","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"43 72 4F 44","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_crx(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CRX by magic bytes.\"\"\"\n    signature = bytes([0x43, 0x72, 0x32, 0x34])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isCRX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x43, 0x72, 0x32, 0x34]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsCRX(data []byte) bool {\n    signature := []byte{0x43, 0x72, 0x32, 0x34}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}