agentleFS
SwastikPandey1024SwastikPandey1024/agentic-engineering-os/.agents/skills/supply-chain-security/SKILL.md

supply-chain-security

Skill1 starsChanged 3 months agoMITView on GitHub

Software Bill of Materials (SBOM) generation, dependency vulnerability audits (pip-audit, npm audit), secret scanning, and license compliance.

  • Reads credentials
  • Installs packages

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use binary-diff, js-reverse 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.
  • DorianGalloSkill

    binary-diff

    跨版本符号迁移与二进制差分。当你有旧版本的符号/逆向结果,需要快速迁移到新版本时使用。 适用场景:内核缺 PDB 用旧版符号推导、程序更新后批量迁移函数名、应用更新后快速定位新偏移。 核心方法:用 LLM 做结构化差异比对,程序化输入输出,成本极低(200 函数 ~1 元)。 触发关键词:符号迁移、bindiff、跨版本、PDB 缺失、函数偏移迁移、symbol migration、binary diff、版本对比。

    Also in 7 projects that use this

  • DorianGalloSkill

    js-reverse

    Also in 7 projects that use this

  • Roshu18Skill

    pentest-tools

    Tool selection policy for BearStrike based on target type, scan risk, and signal strength.

    Also in 7 projects that use this

  • zhaoxuya520Skill

    browser-extension-reverse

    Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

    Also in 3 projects that use this

  • +8 more from DorianGallo

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 10
  2. Distinctive:

    Security Advisories: Run vulnerability scanners to detect published CVEs in direct and transitive dependencies.

    line 22
  3. Distinctive:

    Declared Licenses: Check licenses of newly introduced packages to prevent license contamination.

    line 23

“Common” is measured: kept by at least 6 in 10 of the 13 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

Supply Chain Security Skill

1. When Should I Use This?

Use this skill when:

  • Auditing third-party dependencies for known Common Vulnerabilities and Exposures (CVEs).
  • Generating Software Bill of Materials (SBOM) in CycloneDX or SPDX format.
  • Configuring automated secret scanning (gitleaks, detect-secrets) in CI/CD pipelines.
  • Verifying open-source license compliance (MIT, Apache-2.0 vs restrictive AGPL).
  • Scanning container base images for OS-level vulnerabilities with Trivy.

2. What Should I Inspect First?

  1. Lockfiles: uv.lock, poetry.lock, package-lock.json. Confirm that lockfiles are up to date and verified against manifests.
  2. Security Advisories: Run vulnerability scanners to detect published CVEs in direct and transitive dependencies.
  3. Declared Licenses: Check licenses of newly introduced packages to prevent license contamination.

3. What Workflow Should I Follow?

Lockfile Integrity Verification (uv.lock / package-lock.json)
                     ↓
Dependency Vulnerability Audit (pip-audit / npm audit)
                     ↓
Secret Leakage Scan (Gitleaks / Regex Scanner)
                     ↓
License Compliance Audit (Permissive vs Copyleft)
                     ↓
Generate Software Bill of Materials (SBOM via CycloneDX / Syft)
                     ↓
Container Image Security Scan (Trivy)
                     ↓
Automate Gates in CI Pipeline

Dependency Vulnerability Scanning

# Python dependency audit
pip-audit --desc

# Node.js dependency audit
npm audit --audit-level=high

# Container image audit
trivy image my-app-backend:latest

Generating a CycloneDX SBOM

# Python SBOM generation (CycloneDX format)
cyclonedx-py pyproject.toml -o sbom-python.json

# Node.js SBOM generation
npm install -g @cyclonedx/cyclonedx-npm
cyclonedx-npm --output-file sbom-node.json

GitHub Actions Security Pipeline Step

# .github/workflows/security.yml
name: Supply Chain Security Audit

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  security-audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      
      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.12"
          
      - name: Install pip-audit
        run: pip install pip-audit
        
      - name: Run Python Vulnerability Scan
        run: pip-audit
        
      - name: Run Secret Scan
        uses: gitleaks/gitleaks-action@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

4. What Decisions Should I Make?

Vulnerability SeverityAction Protocol
Critical / High CVEMust block PR merge. Immediately pin patched minor version in pyproject.toml or package.json.
Medium / Low CVEReview exploitability in application context. If theoretical, schedule routine patch cycle.
License PolicyAllow: MIT, Apache 2.0, BSD-2-Clause, BSD-3-Clause, ISC. Require Review: GPL-3.0, AGPL-3.0 for commercial/proprietary SaaS distributions.

5. What Should I Avoid?

  • NEVER ignore npm audit or pip-audit high/critical warnings without documenting an explicit mitigation.
  • NEVER install unverified packages from untrusted third-party package indexes.
  • NEVER disable security scans to make a broken CI build pass.

6. How Should I Verify Success?

# 1. Run pip-audit locally
pip-audit --version && pip-audit

# 2. Run npm audit
npm audit

# 3. Verify SBOM output is valid JSON
python -c "import json; json.load(open('sbom-python.json')); print('SBOM valid!')"

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.