{"success":true,"data":{"ext":"plist","name":"Binary property list","description":"Binary property list (plist) is Apple’s binary encoding of the property list data format used by macOS, iOS, iPadOS, watchOS, and tvOS. It is used to store structured configuration data, application preferences, and serialized objects in system files and app bundles. The format is not inherently unsafe, but untrusted plist files should be validated before parsing, especially because it is often encountered in legacy preferences and archive files.","mime":[],"risk_level":"Safe","signatures":[{"hex":"62 70 6C 69 73 74","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"}]}],"related":[],"usage":{"python":"def is_plist(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PLIST by magic bytes.\"\"\"\n    signature = bytes([0x62, 0x70, 0x6C, 0x69, 0x73, 0x74])\n    with open(file_path, \"rb\") as f:\n        return f.read(6) == signature","node":"function isPLIST(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x62, 0x70, 0x6C, 0x69, 0x73, 0x74]);\n  return buffer.subarray(0, 6).equals(signature);\n}","go":"func IsPLIST(data []byte) bool {\n    signature := []byte{0x62, 0x70, 0x6C, 0x69, 0x73, 0x74}\n    if len(data) < 6 {\n        return false\n    }\n    return bytes.Equal(data[:6], signature)\n}"}}}