Skip to content

Security: drsamonline/a2z

Security

SECURITY.md

Security Policy

Supported versions

The current release and the main branch are supported. Older tags are not maintained, and fixes are not backported to them.

Reporting a vulnerability

Please do not open a public issue.

Report privately to sohilmomin2000@gmail.com, or use GitHub's private security advisory on this repository (Security → Report a vulnerability). A private advisory is preferred: it keeps the report, the fix and the release in one place.

Please include:

  • what the issue is, and which version or commit it affects;
  • the steps to reproduce, or a proof of concept;
  • the impact you believe it has;
  • any suggested fix.

What to expect

Stage Target
Acknowledgement within 48 hours
Initial assessment within 7 days
Fix or a written explanation within 30 days

What is in scope

The app processes files it did not create, so the interesting surface is the parsers:

  • dr-inspect.js — a CHCE v8 stream is attacker-controlled bytes. Every read is bounds-checked, a varint longer than ten bytes is refused, a u64 above 2^53 is refused rather than rounded, and a stream that does not parse returns a message instead of throwing into the UI. A crafted header claiming an enormous block count is refused by arithmetic before anything is allocated.
  • compression.js — ZIP archives are read with fflate. Entry names are stripped of leading slashes and .. segments before they become download names, so an archive cannot choose where a file lands.
  • The image and PDF paths — canvas decoding and pdf-lib. A malicious PDF or image is a browser-vendor issue first; report it there too.

What is not in scope

  • A file that is large enough to exhaust the tab's memory. There is no server to protect; the limit is your device, and the app does not claim otherwise.
  • The absence of a .dr decoder. Payload decoding needs the native engine; dr-inspect.js verifies structure and the manifest digest and says plainly that it does not decode.
  • Anything requiring the app to make a network request. It makes none.

Disclosure

Once a fix is released, the advisory is published with credit to the reporter unless you ask otherwise.

There aren't any published security advisories