sensitive-information-review

Inspect outgoing commits, PR text, and document attachments for secrets and personal data before publication.

Updated Jun 13, 2026
One-click install
npx skills add https://github.com/rapucha/moon-service --skill sensitive-information-review-rapucha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sensitive-information-review
Source: https://github.com/rapucha/moon-service/tree/main/.agents/skills/sensitive-information-review
Command: npx skills add https://github.com/rapucha/moon-service --skill sensitive-information-review-rapucha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Before pushing code or publishing a pull request, it is easy to accidentally leak credentials, API keys, or unexpected personal information hidden in commit messages, Git history, PDFs, office documents, images, or archives. This Skill performs a fresh, read-only pre-publication review so sensitive content is caught before it becomes public. ## Core Features & Use Cases - Git Publication Reconstruction: Rebuilds the exact commits, blobs, tags, and LFS payloads in a push or PR range using Git object reachability, catching secrets added and later removed in history. - Document and Attachment Inspection: Applies bounded static inspection to PDFs, OOXML/ODF files, images, archives, and binaries, including metadata, OCR of rendered pages, and recursive embedded-content checks. - Context-Aware Triage and Safe Reporting: Distinguishes realistic credentials from test fixtures using multiple signals, redacts candidate values, and returns a strict verdict of clear, review_required, or block. - Use Case: Before an agent pushes a feature branch and opens a PR with a PDF attachment, run this review to verify no private key, token, or personal data is present in the commit range, PR body, or attachment bytes. ## Quick Start Use the sensitive-information-review skill to inspect my pending push and the proposed pull request text for any secrets or personal data before I publish.

Frequently Asked Questions about sensitive-information-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check a Git push for secrets before publishing?

Run a pre-push review that reconstructs the exact refspec, source and destination object IDs, and inspects every commit message and blob in the range via Git object reachability. This catches credentials even if they were added and removed across commits.

How to scan PDF and Office documents for sensitive data?

Detect the real format with magic bytes, then statically inspect metadata, extracted text, hidden content, embedded files, and rendered pages with OCR inside a redacting local process. Never execute macros or embedded objects, and treat unsupported or encrypted content as requiring review.

Does this review modify files or Git history?

No, the review is strictly read-only. It reports findings and a verdict to the primary agent and never edits files, rewrites history, rotates credentials, or changes the pull request.

What happens when a scan cannot inspect part of the content?

Any inaccessible, encrypted, oversized, or unsupported required surface yields a review_required verdict instead of clear. The gap must be resolved by the owner or tooling restored before the gate can pass.

How are test credentials distinguished from real secrets?

A value is treated as synthetic only when multiple independent signals agree, such as explicit dummy wording, low-entropy placeholders, reserved example domains, or runtime generation. Realistic entropy or valid credential structure stays suspicious even under test paths.