{"success":true,"data":{"ext":"attachment","name":"1Password 4 Cloud Keychain encrypted attachment","description":"1Password 4 Cloud Keychain encrypted attachment is a proprietary file format used by 1Password, developed and maintained by AgileBits, for storing encrypted attachment data. It is used within 1Password vaults and synced keychain-based environments to preserve files associated with saved items such as documents, images, and records. The format is considered safe in normal use, but its contents remain encrypted and are intended to be accessed only through compatible 1Password software.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4F 50 43 4C 44 41 54","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_attachment(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ATTACHMENT by magic bytes.\"\"\"\n    signature = bytes([0x4F, 0x50, 0x43, 0x4C, 0x44, 0x41, 0x54])\n    with open(file_path, \"rb\") as f:\n        return f.read(7) == signature","node":"function isATTACHMENT(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4F, 0x50, 0x43, 0x4C, 0x44, 0x41, 0x54]);\n  return buffer.subarray(0, 7).equals(signature);\n}","go":"func IsATTACHMENT(data []byte) bool {\n    signature := []byte{0x4F, 0x50, 0x43, 0x4C, 0x44, 0x41, 0x54}\n    if len(data) < 7 {\n        return false\n    }\n    return bytes.Equal(data[:7], signature)\n}"}}}