{"success":true,"data":{"ext":"one","name":"Microsoft OneNote note","description":"Microsoft OneNote note is a file format developed and maintained by Microsoft for storing notebook content in the OneNote ecosystem. It is used for personal and collaborative note taking, including text, images, drawings, audio, and embedded files, and is opened and synchronized by Microsoft OneNote across desktop and cloud-based services. The format is generally considered safe, though files from untrusted sources can contain active content or attachments that should be reviewed before opening.","mime":["application/onenote;format=one"],"risk_level":"Safe","signatures":[{"hex":"7B 5C 52 E4","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"E4 52 5C 7B 8C D8 A7 4D AE B1 53 78 D0 29 96 D3","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_one(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ONE by magic bytes.\"\"\"\n    signature = bytes([0x7B, 0x5C, 0x52, 0xE4])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isONE(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x7B, 0x5C, 0x52, 0xE4]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsONE(data []byte) bool {\n    signature := []byte{0x7B, 0x5C, 0x52, 0xE4}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}