{"success":true,"data":{"ext":"bdr","name":"MS Publisher border","description":"Microsoft Publisher border (BDR) is a border file format associated with Microsoft Publisher, a desktop publishing application developed and maintained by Microsoft. It is used to store decorative border elements that can be applied to newsletters, flyers, brochures, and other page layouts. As a legacy Publisher-related format, it is generally safe to open, though support may be limited in modern software.","mime":[],"risk_level":"Safe","signatures":[{"hex":"58 54","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_bdr(file_path: str) -> bool:\n    \"\"\"Check if file is a valid BDR by magic bytes.\"\"\"\n    signature = bytes([0x58, 0x54])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isBDR(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x58, 0x54]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsBDR(data []byte) bool {\n    signature := []byte{0x58, 0x54}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}