{"success":true,"data":{"ext":"ax","name":"Library cache file","description":"The AX file format is a Windows executable and library container based on the MZ program format, originally created for MS-DOS and maintained through Microsoft’s Windows loader conventions. It is used for application components, shared libraries, and system modules loaded by Windows-based software and related development tools. As a legacy format with broad historical compatibility, AX files should be obtained from trusted sources, since they can contain executable code and may pose the same risks as other Windows binaries.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4D 5A","offset":0,"sources":[{"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":"4D 5A 90 00 03 00 00 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_ax(file_path: str) -> bool:\n    \"\"\"Check if file is a valid AX by magic bytes.\"\"\"\n    signature = bytes([0x4D, 0x5A])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isAX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4D, 0x5A]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsAX(data []byte) bool {\n    signature := []byte{0x4D, 0x5A}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}