{"success":true,"data":{"ext":"vcf","name":"vCard file","description":"vCard (VCF) is a standardized electronic business card format maintained by the Internet Engineering Task Force (IETF) through the vCard specifications. It is used to store and exchange contact information such as names, phone numbers, email addresses, addresses, and organization details, and is supported by email clients, address books, and mobile devices. vCard files are generally safe, though imported contact data can be used for unwanted social engineering or spam.","mime":["text/vcard","text/x-vcard"],"risk_level":"Safe","signatures":[{"hex":"42 45 47 49 4E 3A 56 43 41 52 44","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"},{"name":"Neil Harvey FileSignatures","url":"https://raw.githubusercontent.com/neilharvey/FileSignatures/master/src/FileSignatures/Formats/Vcard.cs"}]},{"hex":"42 45 47 49 4E 3A 56 43 41 52 44 0D 0A","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["ics","ifb","vcs"],"usage":{"python":"def is_vcf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid VCF by magic bytes.\"\"\"\n    signature = bytes([0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A, 0x56, 0x43, 0x41, 0x52, 0x44])\n    with open(file_path, \"rb\") as f:\n        return f.read(11) == signature","node":"function isVCF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A, 0x56, 0x43, 0x41, 0x52, 0x44]);\n  return buffer.subarray(0, 11).equals(signature);\n}","go":"func IsVCF(data []byte) bool {\n    signature := []byte{0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A, 0x56, 0x43, 0x41, 0x52, 0x44}\n    if len(data) < 11 {\n        return false\n    }\n    return bytes.Equal(data[:11], signature)\n}"}}}