Skip to content
Back to skills

Security Ops

ASecurity

Audit dependencies, code, secrets, privacy, access. Use for CVE scans, registry provenance, vulnerability audits, pen tests, least privilege, LGPD/GDPR, and auditing third-party MCP servers, extensions and plugins (prompt injection, data exfiltration, unpinned npx). Trigger on 'is this secure', 'run a security audit', 'leaked a key', 'are we LGPD compliant', 'trust this plugin'.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 21, 2026
securitypythonrustgoshellbashnodedockercode-reviewgitapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 21, 2026

npx -y skills add juninmd/skills --skill security-ops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Ops?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Ops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/juninmd-security-ops/badge)](https://www.skillsdirectory.com/skills/juninmd-security-ops)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-ops
description: |
  Audit dependencies, code, secrets, privacy, access. Use for CVE scans, registry provenance, vulnerability audits, pen tests, least privilege, LGPD/GDPR, and auditing third-party MCP servers, extensions and plugins (prompt injection, data exfiltration, unpinned npx). Trigger on 'is this secure', 'run a security audit', 'leaked a key', 'are we LGPD compliant', 'trust this plugin'.
---

# Security Operations

**Not this skill:** general defect review with no trust-boundary angle (`code-review`), or infrastructure rollout (`cloud-devops`).

## Preflight

```bash
git status --short
rg --files -g '*lock*' -g '*requirements*' -g '*gitleaks*' -g '*Dockerfile*' -g '*permissions*'
gitleaks version
```

Establish scope, permitted targets, repository visibility and installed scanner versions. Run only relevant tools. Prefer redacted file reports and bounded summaries; remote URLs, manifests and scanner findings can contain secrets. Never put a secret fragment in command arguments or shell history.

## Workflow

1. Identify assets, trust boundaries, attacker capability and data sensitivity. Select code, dependency, authorization or plugin assessment; use the matching reference below.
2. Run non-destructive scans and inspect changed paths in context. Preserve exit codes: findings, unsupported inputs and scanner failure are different outcomes.
3. Triage evidence by exposure, exploit preconditions, privilege, reachability and confidence. Unknown reachability is not proof that a vulnerability is harmless.
4. For a suspected live credential, report redacted evidence and prepare revocation/rotation using the incident owner's process. Use existing authority or request it before credential or infrastructure mutations; history rewriting cannot revoke an exposed credential.
5. Remediate the control failure with scoped patches, then exercise the original exploit path and relevant denial cases against an isolated environment.
6. Report blocking findings, deferred findings with reason/owner, and verification gaps. Hand delivery to `finishing-dev` after the relevant security gate passes.

For dependency changes, the exact-lock supply-chain gate is mandatory. Unknown
scanner coverage, advisory freshness, registry publication/age, provenance, or
full-CI-build evidence blocks a clean-ready claim; do not silently disable the
check or create an automatic waiver. Security owns risk, advisories, age, and
provenance; route consumer compatibility and upgrade behavior to `code-review`
and lockfile/package-manager application to `package-management`.

## Scan Selection

| Target | Command / decision | Trap |
|---|---|---|
| Git history | `gitleaks git --redact --no-banner .` | Confirm installed CLI syntax with `gitleaks git --help`; do not hide its failure exit code |
| Working files | `gitleaks dir --redact --no-banner .` | Scans files on disk; a commit-only scan misses them |
| Node package lock | `npm audit --audit-level=high` or `pnpm audit` for its lockfile | Include build dependencies when they run in privileged CI |
| Python requirements | `pip-audit -r requirements.txt -f json` | pip list JSON is not pip-audit requirements input |
| uv locked project | `uv export --frozen --no-dev --no-emit-project --format requirements-txt --output-file audit-requirements.txt`, then `uvx pip-audit -r audit-requirements.txt -f json` | Use an untracked temporary path; audit dev dependencies separately when relevant |
| Rust dependencies | `cargo audit` when installed | Scanner availability/version and advisory database freshness matter |
| Image | `trivy image --severity HIGH,CRITICAL <image>` | Unfixed findings can still require containment; do not hide them by default |
| SBOM | `syft <target> -o cyclonedx-json` | Generate from the actual artifact and retain provenance |

Audit tools may resolve dependencies or invoke package metadata processing. Inspect untrusted manifests first and use an isolated environment without ambient credentials; scanning is not permission to execute an unknown package's build hooks.

## Finding Decisions

| Evidence | Action |
|---|---|
| Live secret or active exploitation | Contain through authorized incident response; `observability` assists evidence capture |
| Reachable attacker-controlled vulnerability | Block affected delivery until fixed or an approved compensating control is verified |
| No upstream fix | Assess containment and exposure; absence of a patch does not make a finding nonblocking |
| Demonstrably unreachable legacy issue | Record evidence, owner and review date; re-evaluate if the changed path exposes it |
| Scanner failure / uncertain reachability | Report incomplete assessment; do not mark clean |

Label each confirmed finding with its CWE and its OWASP Top 10:2025 category in the prose report, never as a findings.json field (SSRF sits in A01; supply-chain issues in A03). When a finding is a missing or weak control, name its Application Security Verification Standard 5.0.0 chapter (V1-V17). Tag API authorization findings API1:2023 (Broken Object Level Authorization) or API5:2023 (Broken Function Level Authorization).

## Reference Routing

- Secret exposure and history cleanup: [gitleaks.md](references/gitleaks.md).
- Dependency, container and SBOM investigation: [supply-chain.md](references/supply-chain.md).
- Route-by-role authorization and ownership tests: [api-authorization.md](references/api-authorization.md).
- Third-party skill, plugin or MCP installation assessment: [plugin-vetting.md](references/plugin-vetting.md).
- Pinning and drift review of MCP config (`@latest`, ranges, untagged images): [mcp-config-drift.md](references/mcp-config-drift.md).
- Design-time trust-boundary review, STRIDE walkthrough, before or without code: [threat-modeling.md](references/threat-modeling.md).
- Time-boxed elevated access and service-account scoping: [iam-least-privilege.md](references/iam-least-privilege.md).
- Prior examples: [real-world-cases.md](references/real-world-cases.md).
- Codebase audit or pen test: [audit-workflow.md](references/audit-workflow.md).

## Stop

- A live credential or suspected active breach needs containment beyond current authority: report immediately, preserve evidence and request the precise action needed.
- A scanner cannot run, a source revision cannot be verified, or the proposed exception has no exploitability evidence.
- Tests or scans target a live database, infrastructure, or credentials without authorization. A database name ending in test is not proof of isolation.

## Rules

- CI hardening belongs to `cloud-devops`; service fixes to `backend-systems`; agent tool boundaries to `agent-engineering`; broad code review to `code-review`.
- Never print discovered secrets. Use type, location and redacted evidence, including in reports and subprocess arguments.
- Prefer short-lived scoped identity. Coordinate containment with the owner; avoid blanket cleanup that destroys evidence or breaks unrelated workloads.
- Suppress findings only with a recorded reason, responsible owner and expiry. Preserve severity when no fix is available.

## Excuses

| Excuse | Why it is false |
|---|---|
| The secret is in a test file | A committed secret is live until rotated, wherever it sits |
| The CVE is not reachable | Exploitability needs evidence; suppress only with owner, reason, and expiry |
| The database name says test | A name is not proof of isolation; verify the target before scanning |
| Printing it makes the report clearer | Secrets are never printed; use type, location, and redacted evidence |

See [Reference Map](references/TOPIC_MAP.md) for scanner recipes and vetting procedures.

## Checklist

- [ ] Assets, authorization and trust boundaries established.
- [ ] Relevant scans completed with exit status and coverage limitations recorded.
- [ ] Findings include evidence, exploitability, action and ownership.
- [ ] Remediation verified through the affected path without exposing secrets.

Files in this skill

  • SKILL.md7.8 KB
  • references/TOPIC_MAP.md3.8 KB
  • references/api-authorization.md5.7 KB
  • references/audit-ai-llm.md10.4 KB
  • references/audit-attack-classes.md15.6 KB
  • references/audit-client-side.md8.4 KB
  • references/audit-cloud-infra.md8.1 KB
  • references/audit-data-isolation.md7.7 KB
  • references/audit-desktop-mobile.md8.6 KB
  • references/audit-hunting.md22.2 KB
  • references/audit-memory-binary.md10.8 KB
  • references/audit-protocols.md7.3 KB
  • references/audit-reconnaissance.md15.7 KB
  • references/audit-reporting.md17.7 KB
  • references/audit-resource-bounds.md7.4 KB
  • references/audit-supply-chain.md7.1 KB
  • references/audit-web-auth.md12.6 KB
  • references/audit-workflow.md21.4 KB
  • references/ecosystem-checks.md10 KB
  • references/gitleaks.md5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.