openclaw-secret-scanning-maintainer
Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs.
Skill by openclaw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/openclaw-openclaw-secret-scanning-maintainer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/openclaw-secret-scanning-maintainer
What's inside
- Skill name
openclaw-secret-scanning-maintainer- Description
- Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs.
- License
- MIT
- Instructions
- 233 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- secret-scanning.mjs · scripts/
SKILL.md (first lines)
# OpenClaw Secret Scanning Maintainer **Maintainer-only.** This skill requires repo admin / maintainer permissions to edit or delete other users' comments and resolve secret scanning alerts. Use this skill when processing alerts from `https://github.com/openclaw/openclaw/security/secret-scanning`. **Language rule:** All notification comments and replacement comments MUST be written in English. ## Script All mechanical operations (API calls, temp file management, security enforcements) are handled by: ``` $REPO_ROOT/.agents/skills/openclaw-secret-scanning-maintainer/scripts/secret-scanning.mjs ``` The script enforces: - `hide_secret=true` on all alert fetches (no plaintext secrets in stdout) - `mktemp` with random UUIDs for all temp files - `-F body=@file` for all body uploads (no inline shell quoting) - Notification templates branched by location type - Never prints `.secret` or `.body` to stdout ## Overall Flow Supports single or multiple alerts. For multiple alerts, process in ascending order. For each alert: 1. **Identify** — `fetch-alert` + `fetch-content` to get metadata and body 2. **Decide** — Agent reads the body file, identifies whether plaintext secrets remain, and produces a redacted version only when needed 3. **Redact** — `redact-body-if-needed` for issue/PR body; skip for comments (delete directly) 4. **Purge** — `delete-comment` + `recreate-comment` for comments; cannot purge body history 5. **Notify** — `notify` posts the right template per location type, unless the current issue/PR body is already redacted 6. **Resolve** — `resolve` closes the alert 7. **Summary** — `summary` prints formatted results ## Step 1: Identify ```bash # List all open alerts node secret-scanning.mjs list-open # Fetch specific alert metadata + locations node secret-scanning.mjs fetch-alert <NUMBER> # Fetch content for each location (saves body to temp file) node secret-scanning.mjs fetch-content '<location-json>' ``` The `fetch-content` output includes: - `body_file`: path to temp file with full body content - `author`: who posted it - `issue_number` / `pr_number`: where it is - `edit_history_count`: number of existing edits - `type`: location type for routing - For `discussion_comment`, it also includes `comment_node_id`, `discussion_node_id`, and `reply_to_node_id` when the original comment was a reply. ### Location type routing | type | Flow | | ----------------------------- | --------------------------------------------- | | `issue_comment` | Comment: delete+recreate | | `pull_request_comment` | Comment: delete+recreate | | `pull_request_review_comment` | Comment: delete+recreate | | `discussion_comment` | Discussion comment: delete+recreate (GraphQL) | | `issue_body` | Body: redact in place | | `pull_request_body` | Body: redact in place | | `commit` | Notify only | | _other_ | Skip and report | ## Step 2: Decide (Agent) The agent reads the body file from `fetch-content` output and: 1. Identifies ALL secrets in the content (there may be more than the alert flagged) 2. Determines whether any plaintext credential remains in the current body 3. Replaces each remaining secret with `[REDACTED <secret_type>]` — **no partial values, no prefix/suffix** 4. Saves the redacted content to a new temp file This is the only step that requires semantic understanding. Everything else is mechanical. For `issue_body` and `pull_request_body`: if the current body has already been redacted by the author and no plaintext credential remains, **do not post a public notification comment**. Resolve the alert with a maintainer-only resolution comment such as: ```bash node secret-scanning.mjs resolve <ALERT_NUMBER> revoked "Current issue/PR body is already redacted; no public notification posted." ``` This avoids creating a fresh public pointer to historical sensitive content. ## Step 3: Redact ### For comments (issue_comment / PR comments) **Do NOT redact.** Skip directly to Step 4 (delete + recreate). PATCHing before DELETE creates an unnecessary edit history revision. ### For issue_body / pull_request_body ```bash node secret-scanning.mjs redact-body-if-needed <issue|pr> <NUMBER> <current-body-file> <redacted-body-file> <result-file> ``` Use the `body_file` from `fetch-content` as `<current-body-file>`. The command writes `notify_required` to `<result-file>` and only PATCHes the body when the redacted file differs from the current body. ## Step 4: Purge Edit History ### Comments — Delete and Recreate For issue/PR comments: ```bash # Delete original (all edit history gone) node secret-scanning.mjs delete-comment <COMMENT_ID> # Recreate with redacted content node secret-scanning.mjs recreate-comment <ISSUE_NUMBER> <body-file> ```
From openclaw/openclaw, MIT.
More from openclaw/openclaw
- 0.767score
openclaw-live-updater
openclaw
Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.766score
feishu-doc
openclaw
Feishu document read/write workflows.
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
slack-e2e
openclaw
Test Slack with Convex-leased user OAuth or QA bots; check credentials, exercise owned messages, prove Gateway behavior, and distinguish API evidence from…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
openclaw-release-validation
openclaw
Guide human release testing on an isolated OCM copy or approved in-place gateway, collect feedback, or refresh the release campaign.
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
auto-qa
openclaw
Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
proof-video
openclaw
Capture and annotate PR screenshots and videos with measured arrows, outlines, alignment guides, spacing brackets, captions, zoom, and speed cues.
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
discord-e2e
openclaw
Test Discord with Convex-leased QA bots: check credentials without a Gateway, exercise owned messages, or prove OpenClaw replies, files, threads, reactions…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
plugin-sdk-impact
openclaw
Count Plugin SDK consumers across live ClawHub releases and bundled OpenClaw plugins before deprecation, removal, or behavior changes; supports public…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
claw-score
openclaw
Audit or refresh OpenClaw maturity scorecard docs from root taxonomy, maturity scores, and QA evidence artifacts without using maintainer discrawl data or…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
openclaw-pr-maintainer
openclaw
Review, triage, repair, or land OpenClaw issues and pull requests with current-source evidence and the native maintainer workflow.
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
prototype-openclaw-tui
openclaw
Build throwaway, fixture-driven OpenClaw Clack or Pi TUI prototypes and compare multiple interactive variants side by side in tmux without running the full…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
solid
openclaw
Write, refactor, review, or test Solid 2 UI in OpenClaw (Control UI, plugin views, Canvas hosts), including state ownership, native custom elements, overlays…
SkillAFreshness: A★ 392.9KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 392,925
- Forks
- 82,585
- Open issues
- 4,992
- Last commit (this folder)
- Sep 27, 2026 (1 month ago)
- Last release
- Oct 24, 2026 (3 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/openclaw/openclaw
- Website
- openclaw.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.314score
openclaw-secret-scanning-maintainer
rudofopelomi-cell
Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs.
SkillBFreshness: BClaude Code +9 - 0.294score
openclaw-secret-scanning-maintainer
chenxingqiang
Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs.
SkillCFreshness: C★ 1Claude Code +9 - 0.294score
openclaw-secret-scanning-maintainer
JEROME-PRAKASH-L
Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs.
SkillCFreshness: C★ 1Claude Code +9 - 0.294score
openclaw-secret-scanning-maintainer
niroopn2005-art
Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs.
SkillCFreshness: C★ 1Claude Code +9 - 0.281score
openclaw-secret-scanning-maintainer
AmirulAndalib
Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs.
SkillCFreshness: CClaude Code +9
More from openclaw
- 0.767score
openclaw-live-updater
openclaw
Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.766score
feishu-doc
openclaw
Feishu document read/write workflows.
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
auto-qa
openclaw
Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
claw-score
openclaw
Audit or refresh OpenClaw maturity scorecard docs from root taxonomy, maturity scores, and QA evidence artifacts without using maintainer discrawl data or…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
discord-e2e
openclaw
Test Discord with Convex-leased QA bots: check credentials without a Gateway, exercise owned messages, or prove OpenClaw replies, files, threads, reactions…
SkillAFreshness: A★ 392.9KClaude Code +9 - 0.764score
openclaw-pr-maintainer
openclaw
Review, triage, repair, or land OpenClaw issues and pull requests with current-source evidence and the native maintainer workflow.
SkillAFreshness: A★ 392.9KClaude Code +9
Cite this page
openclaw-secret-scanning-maintainer skill. Agent Mart. https://agentmart.dev/skills/openclaw-openclaw-secret-scanning-maintainer (last updated 2026-10-24)