搜索

PythonReactSEOPDF
GitHub Skill

security

Security validation, vulnerability scanning, and compliance checking.

aiskillstore☆ 124 仓库 Stars6 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Security Skill

Security validation, vulnerability scanning, and compliance checking.

Activation

Auto-activates on keywords: security, vulnerability, audit, OWASP, encryption, GPG, SSH, signing, secrets, scan, bandit

Workflows

Environment Validation
  • validate-env.md: GPG/SSH key validation
Scanning
  • scan.md: Security vulnerability scanning
Encryption
  • encrypt.md: Secret encryption and management

Commands

# Validate GPG key
gpg --list-secret-keys

# Validate SSH key
ssh-add -l

# Check git signing configuration
git config --get user.signingkey

# Run Bandit security scanner
uv run bandit -r src/ -c pyproject.toml

# Check dependencies for vulnerabilities
uv run pip-audit
uv run safety check

# Run Semgrep security rules
uv run semgrep scan --config auto src/

Security Checklist

Pre-Commit
  • No secrets in code (checked by gitleaks)
  • Dependencies scanned for vulnerabilities
  • Bandit security scan passes
Pre-Release
  • All known vulnerabilities addressed
  • Security advisory published (if applicable)
  • Dependencies updated to secure versions

OWASP Top 10 Considerations

  1. Injection: Use parameterized queries, validate input
  2. Broken Authentication: Use secure session management
  3. Sensitive Data Exposure: Encrypt sensitive data at rest and in transit
  4. XML External Entities: Disable external entity processing
  5. Broken Access Control: Implement proper authorization checks
  6. Security Misconfiguration: Use secure defaults
  7. XSS: Escape output, use Content Security Policy
  8. Insecure Deserialization: Validate and sanitize serialized data
  9. Using Components with Known Vulnerabilities: Keep dependencies updated
  10. Insufficient Logging: Log security events, monitor for anomalies

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!