Libraries tagged by magic-bytes

tinram/file-identifier

9 Favers
333 Downloads

A simple library to identify files through MIME types and file signatures.

Go to Download


twstec/kit-uploads

0 Favers
17 Downloads

Uploads seguros do TWS Laravel Starter Kit, sem telas: validação pelo conteúdo real (magic bytes), allowlist e limite por tipo, recusa de executável, script embutido e PDF com ações automáticas, reprocessamento de imagem, nome seguro, entrega por URL assinada com validade, foto de perfil e o POST /api/v1/uploads.

Go to Download


sugarcommerce/file-inspect

0 Favers
1 Downloads

Look at the bytes a file actually contains: executable signatures refused whatever the name, contents that disagree with the extension, archives carrying what you would not accept directly, and double extensions that hide the real one. Pure functions, no I/O, zero dependencies.

Go to Download


laravelplus/content-security

0 Favers
4 Downloads

Defense-in-depth content security for Laravel: malware scanning, MIME/magic-byte verification, archive/image/PDF inspection, HTML sanitization, URL/SSRF checks, quarantine, audit trail and a Vue 3 security console.

Go to Download


rikudou/mime-type-detector

0 Favers
2 Downloads

Detects mime types using magic bytes / magic numbers

Go to Download