{"success":true,"data":{"ext":"cal","name":"SuperCalc worksheet","description":"The SuperCalc worksheet (CAL) is a spreadsheet file format used by the SuperCalc application, originally developed by Sorcim and later maintained by Computer Associates. It was used to store worksheets containing cell data, formulas, and basic spreadsheet layout for business, accounting, and personal calculations. The format is now largely legacy and may require older software or converters to open, but it does not present notable security risks beyond the usual caution for untrusted documents.","mime":[],"risk_level":"Safe","signatures":[{"hex":"53 75 70 65 72 43 61 6C 63","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"73 72 63 64 6F 63 69 64 3A","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"B5 A2 B0 B3 B3 B0 A5 B5","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_cal(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CAL by magic bytes.\"\"\"\n    signature = bytes([0x53, 0x75, 0x70, 0x65, 0x72, 0x43, 0x61, 0x6C, 0x63])\n    with open(file_path, \"rb\") as f:\n        return f.read(9) == signature","node":"function isCAL(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x53, 0x75, 0x70, 0x65, 0x72, 0x43, 0x61, 0x6C, 0x63]);\n  return buffer.subarray(0, 9).equals(signature);\n}","go":"func IsCAL(data []byte) bool {\n    signature := []byte{0x53, 0x75, 0x70, 0x65, 0x72, 0x43, 0x61, 0x6C, 0x63}\n    if len(data) < 9 {\n        return false\n    }\n    return bytes.Equal(data[:9], signature)\n}"}}}