{"success":true,"data":{"ext":"mks","name":"MKS","description":"MKS is a Matroska-based media container format developed by the Matroska project and maintained by the Matroska community. It is used to store video, audio, subtitles, and metadata in a single file, and is supported by many media players, editors, and streaming tools, including WebM-related workflows. As a container format, it is generally safe, though embedded tracks and metadata can still carry malicious content in untrusted files.","mime":[],"risk_level":"Safe","signatures":[{"hex":"1A 45 DF A3","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["mk3d","mka","mkv","webm"],"usage":{"python":"def is_mks(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MKS by magic bytes.\"\"\"\n    signature = bytes([0x1A, 0x45, 0xDF, 0xA3])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isMKS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x1A, 0x45, 0xDF, 0xA3]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsMKS(data []byte) bool {\n    signature := []byte{0x1A, 0x45, 0xDF, 0xA3}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Video"}}