Skip to content

Security: alam00000/bentopdf-hyper-compress

SECURITY.md

Security

The engine parses untrusted PDF input. The native SDK and CLI run the parser in a separate worker process with a timeout, so a crash on hostile input kills the worker, not the host; the WebAssembly build runs in the runtime sandbox. Inputs over 2 GB are refused, decoded images are capped at 256 megapixels, and every buffer writer uses overflow-checked arithmetic.

Fuzzing runs through ClusterFuzzLite: five minutes against the changed code on every pull request that touches the engine, and an hour every night against the whole corpus. The configuration lives under .clusterfuzzlite/, and make fuzz runs the same libFuzzer harness locally. Crashes found by fuzzing are pinned as regression seeds in fuzz/corpus/.

Reporting a vulnerability

Report vulnerabilities privately to contact@bentopdf.com; do not open a public issue. Include a minimal reproducing PDF where possible. You should hear back within a few days.

You can also use GitHub's private vulnerability reporting: the Security tab of this repository, then "Report a vulnerability".

There aren't any published security advisories