enclawed-secret-scanning-maintainer

Triage and remediate GitHub secret scanning alerts by redacting exposed secrets.

2|Updated May 23, 2026
One-click install
npx skills add https://github.com/enclawed/enclawed-oss --skill enclawed-secret-scanning-maintainer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enclawed-secret-scanning-maintainer
Source: https://github.com/enclawed/enclawed-oss/tree/main/.agents/skills/enclawed-secret-scanning-maintainer
Command: npx skills add https://github.com/enclawed/enclawed-oss --skill enclawed-secret-scanning-maintainer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps maintainers respond to GitHub Secret Scanning alerts by identifying leaked credentials, removing exposed content, and closing the alert with a clear remediation trail.

Core Features & Use Cases

  • Alert Triage: Fetches alert metadata and associated locations without exposing plaintext secrets in output.
  • Content Redaction: Redacts issue and pull request bodies in place, and deletes plus recreates comments to remove edit history.
  • Discussion Support: Handles GitHub discussion comments, including replies, through GraphQL-based delete and recreate flows.
  • Maintainer Notification: Posts English warning comments that tell the author which secret types were exposed and to rotate them immediately.
  • Compliance Workflow: Supports multi-alert processing, resolution updates, and a final summary for incident tracking.

Quick Start

Use this skill to process an open secret scanning alert in the Enclawed repository, remove every exposed secret, notify the author, and resolve the alert.

Frequently Asked Questions about enclawed-secret-scanning-maintainer

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

FAQPage Schema
How do I remediate GitHub secret scanning alerts without exposing plaintext secrets in the output?

Remediate GitHub secret scanning alerts by fetching alert metadata and associated locations without exposing plaintext secrets. The Skill triages exposures, removes content, and resolves the alert safely without printing sensitive values.

How do I remove exposed secrets from GitHub issue and pull request comments while clearing edit history?

Remove exposed secrets from GitHub comments by deleting and recreating the comment. This workflow eliminates the secret from the current content and removes the edit history that previously stored the exposed plaintext.

Does this secret scanning remediation workflow support GitHub discussions and replies?

Yes, this secret scanning remediation workflow supports GitHub discussions and replies. It uses GraphQL-based delete and recreate flows to remove exposed credentials from discussion comments and their nested replies.

Can I process multiple GitHub secret scanning alerts and generate a compliance summary?

Yes, you can process multiple GitHub secret scanning alerts. The workflow supports multi-alert processing, updates alert resolutions, and generates a final summary to track the remediation incident for compliance purposes.

What is the best way to notify a repository author that a leaked secret needs rotation?

The best way to notify an author is by posting an English warning comment. This alert triage workflow automatically posts a comment telling the author which secret types were exposed and to rotate them immediately.

How do I redact exposed secrets directly in GitHub issue and pull request bodies?

Redact exposed secrets in GitHub issue and pull request bodies by performing in-place body redaction. The Skill modifies the existing content directly to remove the leaked credentials while preserving the surrounding text.