MSA
application/vnd.msa-disk-image
Magic Bytes
Offset: 0
0E 0F
Magic Shadow Archiver (MSA) is a legacy disk image format originally developed for the Atari ST computing platform. This format primarily serves to archive floppy disk contents into a single compressed file, enabling software preservation and usage within modern Atari system emulators like Steem or Hatari. Although currently obsolete for general computing, the format remains significant in retro-computing communities for maintaining vintage software collections, with no inherent executable security risks associated with the file structure itself.
Validation Code
How to validate .msa files in Python
Python
def is_msa(file_path: str) -> bool:
"""Check if file is a valid MSA by magic bytes."""
signature = bytes([0x0E, 0x0F])
with open(file_path, "rb") as f:
return f.read(2) == signature
How to validate .msa files in Node.js
Node.js
function isMSA(buffer: Buffer): boolean {
const signature = Buffer.from([0x0E, 0x0F]);
return buffer.subarray(0, 2).equals(signature);
}
Go
func IsMSA(data []byte) bool {
signature := []byte{0x0E, 0x0F}
if len(data) < 2 {
return false
}
return bytes.Equal(data[:2], signature)
}
API Endpoint
GET
/api/v1/msa
curl https://filesignature.org/api/v1/msa