Skip to main content

Security

Security

Security Policy

Reporting a vulnerability

Report security bugs and vulnerabilities to shain.singh@owasp.org — or use GitHub’s private vulnerability reporting: Report a vulnerability. Do not open a public issue for an unreported vulnerability.

Email reports may be encrypted to the OpenPGP keys below. Include a description of the issue, steps to reproduce, and the affected version or commit. Reports are triaged within a few days; accepted issues receive a fix and a release. Honour responsible disclosure until an advisory is published.

Scope and authorised use

pqscan is an active network scanner. It is for authorised security work only: engagements with written authorisation, research on systems the operator owns or is entitled to test, and defender-side configuration audits of one’s own estate. The scanning etiquette defaults are part of this contract (see the next section); deliberately circumventing them to attack systems you are not authorised to test is not a vulnerability in pqscan, and pqscan defects that let that happen are.

High-value vulnerability classes here:

  • Etiquette-default regression — the published safety posture (global rate caps, per-subnet concurrency ceilings, per-/24 and per-ASN circuit breakers, deadline ladder with jitter) silently loosened by a code path, config interpretation, or default change. Such a change is a security bug, not a preference.
  • Classifier integrity — verdicts, scores or flags (including pq_hybrid/pq_pure classification and the HNDL flag) that misstate a handshake observation; drift between IANA-derived tables and the engines that consume them.
  • Injection via hostile input — malicious or malformed handshake data, certificates (including crafted SANs and OIDs), or target lists causing memory unsafety, unbounded buffering, or incorrect parsing.
  • Credential exposure — anything that writes session keys, resumption material or certificates outside the explicitly requested output paths.
  • Input-grammar bypass — targets escaping dedupe, sharding, or blacklists in a way that breaks the rate/skip guarantees.

Deployment boundary

Scan only systems you own or are authorised to test. Australian users: the Cyber Security Act 2024 (Cth) and Criminal Code Act 1995 (Cth) Div 474 apply; other jurisdictions have their own equivalents.

Secret hygiene

  • Secret scanning and push protection stay enabled in repository settings.
  • detect-private-key runs on every change via the pre-commit hook set.
  • No capture material (keys, session tickets, exported PEMs) is ever committed; fixture certificates use throwaway, clearly-labelled material.

How this repository maintains security hygiene

  • Dependency Review — every PR is checked for licence and vulnerability differences versus its base (.github/workflows/dependency-review.yml).
  • All commits are GPG/SSH-signed; the ruleset rejects unsigned commits.
  • Pre-commit hooks run the CI hook set locally before every commit/push.
  • Registry-derived tables carry a snapshot date, provenance and regeneration command; engines must never hardcode codepoints.

Known boundary, stated plainly: the project is at the 2026.01-rc1 release-candidate cut; CI gates prove spec conformance on fixtures, not production readiness.

Open a general issue for non-sensitive questions; security reports follow the channels above.

OpenPGP key

Post-quantum certificate — preferred (RFC 9980 v6: ML-DSA-65+Ed25519 signing · ML-KEM-768+X25519 encryption subkey).

  • Fingerprint: 4782E4E6B734FCA0D5DA7EB134089DA2AA306113C755E8290C626905BA1E153E

  • Fetch, verify, then encrypt (the fingerprint comparison after download is mandatory: keyserver lookups by email are not authenticated, and keys.openpgp.org cannot serve v6 certificates by fingerprint URL at all — its by-fingerprint endpoint accepts 40-hex v4 fingerprints only):

    curl -fsSL https://keys.openpgp.org/vks/v1/by-email/shain.singh@owasp.org -o shain-singh-pq.asc
    sq inspect shain-singh-pq.asc   # fingerprint MUST match 4782E4E6… above
    sq encrypt --for-file shain-singh-pq.asc -o msg.pgp report.txt

    Do not send reports through clients that auto-fetch keys by email without fingerprint verification (e.g. Thunderbird’s automatic mode). Current v6-9980-aware verifiers: Sequoia (sq) and RNP 0.19 prerelease (Thunderbird’s post-quantum pilot). GnuPG cannot parse v6 certificates yet — use the classical key below there.

Classical fallback (RSA-4096, verifiable by GnuPG and all current OpenPGP tooling).

Both keys belong to the same maintainer; the classical key stays active while v6 support rolls out.