security

Validates GPG/SSH keys, scans dependencies for CVEs, and encrypts secrets with GPG.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/ByronWilliamsCPA/plugin --skill security-byronwilliamscpa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security
Source: https://github.com/ByronWilliamsCPA/plugin/tree/main/plugins/wff-code/skills/security
Command: npx skills add https://github.com/ByronWilliamsCPA/plugin --skill security-byronwilliamscpa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security checks are often skipped or done inconsistently: developers forget to verify commit signing, miss CVEs in non-Python dependency trees, suppress vulnerabilities incorrectly, or expose services with a port binding but no authentication. This Skill provides a repeatable audit workflow covering environment validation, vulnerability scanning, dependency auditing, and secrets detection. ## Core Features & Use Cases - Environment Validation: Verify GPG secret keys, SSH agent keys, Git commit signing configuration, and user identity before committing signed work. - Vulnerability Scanning: Run bandit, semgrep, and ruff security rules against source code, plus pip-audit for Python dependencies, with correct CVE suppression via the --ignore-vuln CLI flag. - Multi-Ecosystem Dependency Audit: Enumerate every package ecosystem (pip, npm, cargo, go) and run each ecosystem's audit tool so Dependabot alerts are triaged against the right tree. - Secrets Encryption & Detection: Encrypt .env files with GPG AES256 and detect leaked secrets with gitleaks and trufflehog. - Use Case: Before a release, run a full audit to confirm signing keys work, no known CVEs remain in any dependency ecosystem, no secrets are committed, and every exposed port has both scoped binding and authentication. ## Quick Start Ask the AI to run a full security audit of this repository covering environment validation, dependency scanning, and secrets detection.

Frequently Asked Questions about security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan Python dependencies for known vulnerabilities?▼

Run pip-audit via `uv run pip-audit` to check installed dependencies against known CVE databases. Exit code 0 means clean, 64 means an advisory was found, and 1 indicates a tool error.

How do I suppress a false-positive CVE in pip-audit?▼

Use the `--ignore-vuln ID` CLI flag, for example `uv run pip-audit --ignore-vuln PYSEC-2022-42969`. A `[tool.pip-audit]` section in pyproject.toml is documentation only and has no functional effect.

Does pip-audit cover npm or cargo dependencies?▼

No, pip-audit only sees the Python dependency tree. In polyglot repos you must enumerate every ecosystem and run each one's audit tool, such as `npm audit` for npm packages, then reconcile results against Dependabot alerts.

How do I encrypt a .env file with GPG?▼

Run `gpg --symmetric --cipher-algo AES256 .env` to produce .env.gpg, then add .env to .gitignore and commit only the encrypted file. Decrypt with `gpg --decrypt .env.gpg > .env` and set permissions to 600.

Why is a security fix unsatisfiable with my requires-python floor?▼

A blanket version floor can conflict with an old requires-python range during `uv lock`. Add the floor with an environment marker like `python_full_version >= '3.10'` so the real runtime gets the patch while older interpreters keep a compatible fallback.

What makes an exposed service audit fail?▼

A service fails when its port is bound to all interfaces and no authentication middleware is configured, which is HIGH severity. Port binding and auth are independent controls, so both the binding format and labels like Traefik's must be checked together.