Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

security-scanner安全扫描仪

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

15,277

周安装

397

GitHub Stars

公开资料未说明

下载量

2,833
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:security-scanner(安全扫描仪)
来源仓库:https://github.com/bizshuk/llm_plugin
仓库路径:skills/security-scanner
安装命令:
npx skills add https://github.com/bizshuk/llm_plugin --skill 'Security Scanner'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bizshuk/llm_plugin --skill 'Security Scanner'

简介

security-scanner 检测代码中的硬编码凭证、API 密钥与敏感信息泄露风险。

  • 适用于安全审计、预提交检查或第三方依赖漏洞扫描场景。
  • 使用时扫描工作区文件,输出潜在凭据位置与修复建议,支持多种平台 token 格式。
  • 安装需通过 npx 添加指定仓库,建议确认最小权限原则与生产环境隔离要求。
  • 注意:分类为研究检索,结果仅为风险提示,不能替代人工复核与密钥轮换操作。

SKILL.md

Security Scanner

This skill helps you identify potential security vulnerabilities in your workspace by scanning for hardcoded credentials, API keys, tokens, and other sensitive information that should not be committed to version control.

What It Scans For

The security scanner looks for common patterns of sensitive data:

Credentials & Authentication

  • Passwords (hardcoded, plaintext)
  • Usernames in authentication contexts
  • Private keys (RSA, SSH, PGP)
  • Authentication tokens
  • Session IDs
  • PIN codes

API Keys & Tokens

  • AWS Access Keys (AKIA...)
  • GitHub Personal Access Tokens (ghp*, gho*, ghu_)
  • Slack Tokens (xox[baprs]-)
  • Google API Keys
  • Stripe API Keys (sk*live*, pk*live*)
  • JWT tokens
  • OAuth tokens
  • Bearer tokens

Database & Service Credentials

  • Database connection strings
  • MongoDB URIs
  • PostgreSQL connection strings
  • MySQL credentials
  • Redis URLs with passwords

Cloud Provider Secrets

  • AWS Secret Access Keys
  • Azure Storage Keys
  • Google Cloud Service Account Keys
  • Heroku API Keys
  • DigitalOcean Access Tokens

Generic Patterns

  • Base64 encoded secrets (suspicious patterns)
  • Hexadecimal keys (32+ chars)
  • Environment variable assignments with sensitive keys
  • Configuration files with credentials

How to Use

Basic Scan

Scan the entire workspace for all security risks:

# The assistant will:
# 1. Search for common secret patterns
# 2. Check for hardcoded credentials
# 3. Identify suspicious files (e.g., .env not in .gitignore)
# 4. Report findings with file locations and line numbers

Simply ask: "Run a security scan" or "Check for exposed secrets"

Targeted Scans

You can also request specific scans:

  • "Scan for API keys" - Focus on API key patterns
  • "Check for passwords" - Look for password patterns
  • "Find AWS credentials" - Search for AWS-specific secrets
  • "Scan database connection strings" - Find DB credentials

Custom Pattern Scan

Request a scan for specific patterns:

  • "Search for tokens matching pattern X"
  • "Find all base64 encoded strings longer than 40 characters"

Scan Process

When you invoke this skill, the assistant will:

  1. Identify Scan Scope

- Determine workspace boundaries - Exclude common directories (node_modules,.git, vendor, dist, build) - Respect.gitignore patterns

  1. Pattern Matching

- Use regex patterns to find sensitive data - Check file contents using grep/ripgrep - Flag suspicious variable names and comments

  1. Contextual Analysis

- Examine surrounding code for context - Identify if secrets are in test files (lower risk) - Check if files are tracked in git

  1. Report Generation

- List all findings with severity levels - Provide file paths and line numbers - Suggest remediation steps

Example Patterns Detected

High Severity

# ❌ Hardcoded AWS credentials
AWS_ACCESS_KEY_ID = "example"
AWS_SECRET_ACCESS_KEY = "example"

# ❌ Database password in connection string
DATABASE_URL = "postgresql://user:MyP@ssw0rd@localhost:5432/db"

# ❌ Private API key
STRIPE_SECRET_KEY = "example"

Medium Severity

// ⚠️ Suspicious base64 string
const token = "example";

// ⚠️ Hardcoded password variable
let password = "example";

Lower Risk (But Still Flagged)

# ℹ️ In test files or examples
export TEST_API_KEY="test_abc123"

# ℹ️ Placeholder patterns
password = "YOUR_PASSWORD_HERE"

Remediation Recommendations

For each finding, the assistant will suggest:

  1. Move to Environment Variables # Instead of hardcoding: API_KEY = "abc123" # Use: API_KEY = os.getenv("API_KEY")
  2. Use Secret Management

- HashiCorp Vault - AWS Secrets Manager - Azure Key Vault - Google Secret Manager

  1. Update.gitignore

- Ensure.env files are ignored - Add patterns for credential files

  1. Rotate Compromised Secrets

- If secrets are in git history, rotate them immediately - Use tools like git-secrets or truffleHog for history scanning

  1. Use Git Hooks

- Install pre-commit hooks to prevent secret commits - Tools: pre-commit, detect-secrets, git-secrets

Files and Directories

This skill uses a scanning script located at:

  • scripts/scan_secrets.sh - Main scanning logic

Exclusions

The scanner automatically excludes:

  • node_modules/, vendor/, .git/
  • dist/, build/, target/
  • Binary files and large data files
  • Test fixtures with placeholder credentials
  • Documentation with example credentials (marked as such)

Best Practices

  1. Regular Scans: Run security scans regularly, especially before commits
  2. CI/CD Integration: Add secret scanning to your CI/CD pipeline
  3. Developer Education: Ensure team knows not to commit secrets
  4. Secret Rotation: Regularly rotate credentials and API keys
  5. Least Privilege: Use minimal permissions for API keys and tokens

Limitations

  • False Positives: May flag test data or examples - use judgment
  • Encoded Secrets: May not catch all obfuscated or encrypted secrets
  • Custom Patterns: Very custom secret formats may not be detected
  • Performance: Large codebases may take time to scan

Security Note

⚠️ This skill scans local files only and does not transmit secrets anywhere. However, findings are shown in the assistant's output, so be cautious when sharing scan results.

Getting Started

To run your first security scan, simply say:

"Scan my workspace for security risks"

The assistant will scan your workspace and provide a detailed report of any potential security issues found.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.88%
按下载量换算1,016

Claude

29.86%
按下载量换算846

Cursor

20.36%
按下载量换算577

Gemini CLI

9.66%
按下载量换算274

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills