{"success":true,"data":{"ext":"vbx","name":"VisualBASIC application","description":"The VBX format is a Visual Basic application file associated with Microsoft Visual Basic, originally created and maintained by Microsoft. It is used to store executable program components and related resources for Windows applications built with Visual Basic. VBX files are legacy components from earlier versions of the platform and should be treated cautiously when obtained from untrusted sources, as they may contain executable code.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4D 5A","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_vbx(file_path: str) -> bool:\n    \"\"\"Check if file is a valid VBX by magic bytes.\"\"\"\n    signature = bytes([0x4D, 0x5A])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isVBX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4D, 0x5A]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsVBX(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}"}}}