agentleFS
erumkatzwanerumkatzwan/agentic-product-starter/.agents/skills/security-audit/SKILL.md

security-audit

Skill5 starsChanged 19 days agoMITView on GitHub

Use when setting up a new product from this starter, before a release, when the weekly Security workflow or a Dependabot alert is red, or when asked for a vulnerability overview. Produces one report of known vulnerabilities across every app and fixes them by upgrading to the lowest safe stable version.

  • Installs packages

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use asset-spec, create-stories and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lilangMaxSkill

    asset-spec

    Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.

    Also in 12 projects that use this

  • lilangMaxSkill

    create-stories

    Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.

    Also in 14 projects that use this

  • adybaSkill

    team-coordination

    Agent Teams orchestration patterns for multi-agent SAFe workflows. Use when spawning agent teams, coordinating teammates, enforcing quality gates via task dependencies, or orchestrating the 11-agent SAFe pipeline. Covers team creation, messaging, shared task lists, and SAFe gate enforcement. Do NOT use for single-agent or simple subagent workflows.

    Also in 5 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • nicepkgSkill

    ph-community-outreach

    Engage Reddit, Indie Hackers, Hacker News and other communities for Product Hunt launches. Use this skill to identify relevant communities, craft appropriate posts, and drive cross-platform engagement without appearing spammy.

    Also in 5 projects that use this

  • +5 more from lilangMax
  • +2 more from nicepkg

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 4

    Distinctive

    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. Distinctive:

    Run both and merge the results into one table:

    line 12
  2. Very specific:

    Create one GitHub issue per app, labelled security and the app's area: label, listing its findings.

    line 39
  3. Very specific:

    Always move to the lowest fixed version that is on the latest stable line: prefer a patch or minor upgrade.

    line 43
  4. Distinctive:

    No fix available yet: record it in the issue with the advisory link, check whether the vulnerable code path is used, and add a mitigation …

    line 57
  5. Distinctive:

    Never silence a finding (no ignore lists, no lowered thresholds) without an ADR that explains why.

    line 58
  6. Very specific:

    Run the app's checks: make ci (iOS, Android), npm run lint && npm test (web apps), dotnet test (backend).

    line 64
  7. Distinctive:

    When the weekly Security workflow fails, or a Dependabot alert arrives.

    line 71

“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “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

Security audit

One overview of known vulnerabilities in the dependencies of every app, and a safe way to fix them.

1. Get the overview

Run both and merge the results into one table:

node scripts/security-audit.mjs --out security-report.md          # all apps against osv.dev
gh api "repos/{owner}/{repo}/dependabot/alerts?state=open&per_page=100" \
  --jq '.[] | [.security_advisory.severity, .dependency.manifest_path, .dependency.package.name, .security_vulnerability.first_patched_version.identifier, .html_url] | @tsv'
  • The script covers the web app, back office and website (npm), the backend (NuGet, after dotnet restore), Android (Gradle, needs Java) and iOS (Swift packages, when added). It says what it could not scan.
  • Dependabot alerts cover the same ecosystems from GitHub's side, including Android through automatic dependency submission.
  • Also check Security → Code scanning (CodeQL) and Secret scanning in the repository. A leaked secret is always critical: rotate it first, then remove it.

Show the user one table: severity, app, package, current version, fixed version, runtime or dev, advisory link. Lead with the counts per severity.

The latest weekly result is also on the website's Security page (apps/website/security/) and the README badge, both published by the Security workflow to the security branch. After fixing, run the Security workflow on main (Actions → Security → Run workflow) so the dashboard updates. For a private product, the SECURITY_DASHBOARD repository variable set to off stops publishing.

2. Triage

SeverityFix withinNotes
Critical2 daysStop other work. Runtime code first
High7 daysThe weekly report fails until fixed
Moderate30 daysBatch with the next dependency update
LowNext dependency update

Lower the priority one step when the package is dev only (build or test tools never shipped to users), unless the advisory affects the build itself (supply chain, code execution during install).

Create one GitHub issue per app, labelled security and the app's area: label, listing its findings. Use the triage skill's labels for readiness.

3. Fix

Always move to the lowest fixed version that is on the latest stable line: prefer a patch or minor upgrade; a major upgrade follows the update-dependencies skill.

EcosystemDirect dependencyTransitive (pulled in by another package)
npm (web app, back office, website)npm install <pkg>@<version>Upgrade the parent first; otherwise add "overrides": { "<pkg>": "<version>" } in package.json, then npm install
NuGet (backend)Change Version in the .csproj PackageReferenceAdd a direct PackageReference to the fixed version (it wins over the transitive one)
Gradle (Android)Change the version in gradle/libs.versions.tomlAdd a constraints { implementation("<group>:<artifact>:<version>") } block in app/build.gradle.kts with a comment linking the advisory
Swift Package Manager (iOS)Raise the minimum version in project.yml packagesUpdate the parent package
GitHub ActionsBump the tag in .github/workflows/*.yml–
Toolchains (.NET SDK, JDK, Node, Xcode)Raise the version in the workflow and the app's README–

Rules:

  • Stable releases only: no alpha, beta, RC or snapshot versions.
  • No fix available yet: record it in the issue with the advisory link, check whether the vulnerable code path is used, and add a mitigation if it is. Re-check weekly.
  • Never silence a finding (no ignore lists, no lowered thresholds) without an ADR that explains why.
  • One pull request per app, titled fix(security): <app> <package> <old> → <new>.

4. Verify

  1. Re-run node scripts/security-audit.mjs and confirm the findings are gone.
  2. Run the app's checks: make ci (iOS, Android), npm run lint && npm test (web apps), dotnet test (backend).
  3. Open the pull request. Dependency review must pass, plus every other required check.

When to run it

  • Right after creating a new product from this starter (and after the rename-product step).
  • Before every release.
  • When the weekly Security workflow fails, or a Dependabot alert arrives.
  • On request: "run a security audit".

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.