{"success":true,"data":{"ext":"qcow","name":"QCOW","description":"QCOW (QEMU Copy On Write) is a disk image file format created by Fabrice Bellard and maintained by the QEMU project for virtual machine storage. It is used to store guest operating system disks, support snapshots, and enable sparse allocation in virtualization environments and emulators. QCOW files are generally safe, but like other disk images, they should be obtained from trusted sources because they may contain malicious or unexpected data.","mime":[],"risk_level":"Safe","signatures":[{"hex":"51 46 49","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["adf","bin","dmg","g64","img","iso"],"usage":{"python":"def is_qcow(file_path: str) -> bool:\n    \"\"\"Check if file is a valid QCOW by magic bytes.\"\"\"\n    signature = bytes([0x51, 0x46, 0x49])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isQCOW(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x51, 0x46, 0x49]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsQCOW(data []byte) bool {\n    signature := []byte{0x51, 0x46, 0x49}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"},"category":"Disk Images"}}