Pompelmi

Pompelmi

Pompelmi

软件

软件描述

适用于 Node.js 的 RFI 安全文件上传 —— 支持 Express/Koa/Next.js 的中间件,具备深度 ZIP 检查、MIME/大小验证以及可选的 YARA 扫描功能。

官方网站

访问软件的官方网站了解更多信息

官方认证

pompelmi.github.io

安全链接HTTPS

什么是 Pompelmi?

Fast file-upload malware scanning for Node.js. Optional YARA, ZIP deep-inspection, MIME/size guards. Express · Koa · Next.js. Pompelmi scans untrusted file uploads before they hit disk. A tiny, TypeScript-first toolkit for Node.js with composable scanners, deep ZIP inspection, and optional signature engines.

Private by design — no outbound calls; bytes never leave your process Composable scanners — mix heuristics + signatures; set stopOn and timeouts ZIP hardening — traversal/bomb guards, polyglot & macro hints Drop-in adapters — Express, Koa, Fastify, Next.js Typed & tiny — modern TS, minimal surface

Highlights:

Block risky uploads early — classify uploads as clean, suspicious, or malicious and stop them at the edge. Real guards — extension allow-list, server-side MIME sniff (magic bytes), per-file size caps, and deep ZIP traversal with anti-bomb limits. Built-in scanners — drop-in CommonHeuristicsScanner (PDF risky actions, Office macros, PE header) and Zip-bomb Guard; add your own or YARA via a tiny { scan(bytes) } contract. Compose scanning — run multiple scanners in parallel or sequentially with timeouts and short-circuiting via composeScanners(). Zero cloud — scans run in-process. Keep bytes private. DX first — TypeScript types, ESM/CJS builds, tiny API, adapters for popular web frameworks.

下载与相关链接

安全提示
⚠️

安全提醒

点击下方链接将跳转到第三方网站,请确保来源安全,建议优先从官方网站下载。