Under the hood
Direct answer
Use the Inspect hub. For PDFs it runs file type, authorship, PDF security, tracking and attachment-size checks on your device. Authorship scans Info fields and string bytes for usernames, paths and related leaks. PDF security grades encryption, permissions, Info metadata and incremental saves, and can export the earliest recoverable revision when multiple %%EOF markers exist.
This page does not claim to find white-on-white text or text under black redaction boxes. Those checks are planned, not live. If your job is “what identity strings or earlier revisions are still in this file?”, Inspect is the right tool today.