원클릭으로
secret-type-template
Template for creating new secret-type-specific verification guides.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Template for creating new secret-type-specific verification guides.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Effective usage of GitHub API tools for fetching secret scanning alerts and locations.
Guidelines for setting up isolated testing environments for secret validation scripts.
Techniques for analyzing code context around secret locations to understand usage and intent.
Strategies for cloning repositories with full history into the workspace for analysis.
Use the validate-secrets tool for deterministic secret validation when a matching validator is available.
Verification guide specific to HTTP Basic Authentication credentials.
| name | secret-type-template |
| agent | analysis |
| description | Template for creating new secret-type-specific verification guides. |
| phase | 3-verification |
| secret-type | _template |
Note: This is a template. Copy this file and customize for a specific secret type.
Describe the format of this secret type:
| Format | Example |
|---|---|
| Pattern | prefix_xxxxxxxxxx |
| Length | 32 characters |
| Charset | alphanumeric |
How this secret type appears in code:
# Pattern 1
SECRET_KEY = "..."
# Pattern 2
export SECRET_KEY="..."
| Attribute | Value |
|---|---|
| Provider | [Provider name] |
| Documentation | [URL to docs] |
| Rotation URL | [URL to rotate] |
| Validity Check API | [If available] |
Description of first verification step.
# Command or code
Description of second verification step.
# Command or code
# Test command
#!/usr/bin/env python3
"""Validate [Secret Type] credentials."""
import sys
import json
def validate_secret(secret: str) -> dict:
"""
Validate the secret.
Returns:
dict with validation results
"""
result = {
"secret_type": "[secret_type]",
"secret_preview": secret[:8] + "..." if len(secret) > 8 else secret,
"valid": False,
}
# TODO: Implement validation logic
# Example:
# - Check format
# - Test against API
# - Verify scope/permissions
return result
if __name__ == "__main__":
SECRET = "your-secret-here"
result = validate_secret(SECRET)
print(json.dumps(result, indent=2))
sys.exit(0 if result.get("valid") else 1)
| Result | Meaning | Verdict |
|---|---|---|
| [Result 1] | [Meaning] | [TRUE/FALSE_POSITIVE] |
| [Result 2] | [Meaning] | [TRUE/FALSE_POSITIVE] |
| [Result 3] | [Meaning] | [INCONCLUSIVE] |
Include in your report: