-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add TruffleHog secret-leak warnings for uploaded skills #2431
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.security
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.security
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Backlog
Problem
Publishers can accidentally upload live API keys, tokens, private keys, or other credentials inside
SKILL.mdor bundled skill files. ClawHub currently has artifact security scanning, but leaked secrets need a narrower response: warn the publisher so they can rotate/remove the credential.This should not become a ClawScan signal, moderation verdict, or install-blocking policy in v1.
Goal
Add async TruffleHog-based secret scanning for uploaded skill versions. When ClawHub detects a likely leaked secret, notify the publisher through owner-facing UI; when the secret is verified/live, also email the publisher so they see it quickly.
For a comparable implementation pattern, Hugging Face added TruffleHog to their automated scanning pipeline for uploaded repository content: https://huggingface.co/blog/trufflesecurity-partnership
Scope
Non-goals
Proposed implementation notes
secretLeakScanJobs/result path rather than reusingsecurityScanJobs.skillVersionId.Acceptance criteria