agentleFS
hushh-labshushh-labs/hushh-research/.agents/skills/dependency-security-hygiene/SKILL.md

dependency-security-hygiene

Skill41 starsChanged 9 days agoApache-2.0View on GitHub

Use when checking GitHub Dependabot security advisories during pre-PR readiness, opening deduplicated non-breaking companion security-patch PRs across Dev, UAT, or Main, routing breaking dependency upgrades to Project 79, or maintaining Dependabot manifest alert coverage.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Avoid overlap with repo-operations, security-audit, oss-license-governance, and planning-board.

    line 12
  2. Very specific:

    Run python3 .agents/skills/dependency-security-hygiene/scripts/check_dependency_advisories.py --base-ref <target> (invoked automatically as …

    line 54
  3. Very specific:

    Verify current branch truth first (already_patched_on_target or claimed_by_open_pr).

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dependency Security Hygiene Skill

Purpose and Trigger

  • Primary scope: dependency-security-hygiene-scope
  • Trigger on open GitHub Dependabot vulnerability alerts surfaced by ./bin/hushh agents pre-pr, non-breaking security dependency patches, breaking-upgrade tracking on Project 79, or .github/dependabot.yml alert-coverage maintenance.
  • Avoid overlap with repo-operations, security-audit, oss-license-governance, and planning-board.

Coverage and Ownership

  • Role: spoke
  • Owner family: repo-operations

Owned repo surfaces:

  1. .github/dependabot.yml
  2. .agents/skills/dependency-security-hygiene

Non-owned surfaces:

  1. repo-operations
  2. security-audit
  3. oss-license-governance
  4. planning-board

Do Use

  1. Evaluating open GitHub Dependabot advisories against the target branch's actual resolved package versions (dev, uat, main).
  2. Opening one deduplicated companion security PR for non-major (patch and minor, including 0.x minor) security fixes that pass fast local smoke checks.
  3. Logging major or smoke-failing security upgrades to Project 79 (Hussh Action Items) without blocking unrelated feature PRs.
  4. Keeping .github/dependabot.yml alert scanning aligned across all repository ecosystems with bulk version-bump PR bloat disabled (open-pull-requests-limit: 0).

Do Not Use

  1. Broad CI/CD, merge-queue, or cloud deployment work that belongs to repo-operations.
  2. Application IAM, consent, vault, or PKM security reviews that belong to security-audit.
  3. SPDX/Apache-2.0 license or third-party notice governance that belongs to oss-license-governance.

Read First

  1. .github/dependabot.yml
  2. docs/operations/releases/branch-governance.md
  3. .agents/skills/repo-operations/references/admin-release-sop.md
  4. .agents/skills/dependency-security-hygiene/references/remediation-sop.md
  5. .agents/skills/dependency-security-hygiene/references/anti-rationalization.md

Workflow

  1. Run python3 .agents/skills/dependency-security-hygiene/scripts/check_dependency_advisories.py --base-ref <target> (invoked automatically as an advisory check inside ./bin/hushh agents pre-pr).
  2. Verify current branch truth first (already_patched_on_target or claimed_by_open_pr); never trust default-branch alert counts blindly on dev or uat, and never duplicate an open security PR.
  3. For non_breaking_companion_pr items (patch and minor, including 0.x minor), follow references/remediation-sop.md: create a governed ephemeral worktree (~/.local/share/hushh-task-worktrees/sec-patch-<target>), apply the minimum first_patched_version, run a fast local smoke check, open a signed (git commit -s) companion PR, queue auto-merge, and permanently remove the worktree.
  4. Protect uat TestFlight release cuts: when uat_signing_input_caution is set or ship-ios-testflight.yml is active, land main and dev first and hold uat until TestFlight completes.
  5. For breaking_project_79_issue items (major version jumps or smoke-failing upgrades), revert any local trial cleanly and ensure one deduplicated tracking issue exists on Project 79 (Hussh Action Items).

Handoff Rules

  1. Route merge-queue, branch-protection, and release-promotion authority to repo-operations.
  2. Route Project 79 issue creation and board triage to planning-board.
  3. Route application trust-boundary impact assessment to security-audit and license/notice updates to oss-license-governance.

Required Checks

python3 .agents/skills/dependency-security-hygiene/scripts/test_check_dependency_advisories.py
python3 .agents/skills/dependency-security-hygiene/scripts/check_dependency_advisories.py --base-ref dev
python3 .agents/skills/skill-authoring/scripts/skill_lint.py
./bin/hushh docs verify

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.