{"success":true,"data":{"ext":"mb","name":"MB","description":"MB is a Mathematica-related file format associated with Wolfram Research, the developer and maintainer of Mathematica and the Wolfram Language. It is used for storing computational documents, symbolic expressions, and data intended for processing within Mathematica-compatible environments, including scientific analysis, notebook workflows, and programmatic computation. The format is generally considered safe, though files from untrusted sources may contain content that is only fully interpreted by compatible Wolfram software.","mime":["application/mathematica"],"risk_level":"Safe","signatures":[{"hex":"28 2A 2A","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"}]},{"hex":"28 2A 20","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"}]}],"related":["ma","nb"],"usage":{"python":"def is_mb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MB by magic bytes.\"\"\"\n    signature = bytes([0x28, 0x2A, 0x2A])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isMB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x28, 0x2A, 0x2A]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsMB(data []byte) bool {\n    signature := []byte{0x28, 0x2A, 0x2A}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"}}}