{"success":true,"data":{"ext":"sav","name":"SPSS Statistics","description":"SPSS Statistics SAV is a binary data file format used by IBM SPSS Statistics, originally developed by SPSS Inc. It stores dataset values, variable definitions, labels, and metadata for statistical analysis and data management in research, business, and social science applications. The format is still in use, though older files may require compatibility handling in newer software; it is generally considered safe when opened from trusted sources.","mime":["application/x-spss-sav"],"risk_level":"Safe","signatures":[{"hex":"24 46 4C 32 40 28 23 29 20 53 50 53 53 20 44 41 54 41 20 46 49 4C 45","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_sav(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SAV by magic bytes.\"\"\"\n    signature = bytes([0x24, 0x46, 0x4C, 0x32, 0x40, 0x28, 0x23, 0x29, 0x20, 0x53, 0x50, 0x53, 0x53, 0x20, 0x44, 0x41, 0x54, 0x41, 0x20, 0x46, 0x49, 0x4C, 0x45])\n    with open(file_path, \"rb\") as f:\n        return f.read(23) == signature","node":"function isSAV(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x24, 0x46, 0x4C, 0x32, 0x40, 0x28, 0x23, 0x29, 0x20, 0x53, 0x50, 0x53, 0x53, 0x20, 0x44, 0x41, 0x54, 0x41, 0x20, 0x46, 0x49, 0x4C, 0x45]);\n  return buffer.subarray(0, 23).equals(signature);\n}","go":"func IsSAV(data []byte) bool {\n    signature := []byte{0x24, 0x46, 0x4C, 0x32, 0x40, 0x28, 0x23, 0x29, 0x20, 0x53, 0x50, 0x53, 0x53, 0x20, 0x44, 0x41, 0x54, 0x41, 0x20, 0x46, 0x49, 0x4C, 0x45}\n    if len(data) < 23 {\n        return false\n    }\n    return bytes.Equal(data[:23], signature)\n}"}}}