Saltar al contenido
Skillsify
Volver al registro
Seguridadv1.0.3741 instalaciones

dependency-risk-review

Reviews third-party dependencies for supply-chain and licence risk. Use when the user asks to audit dependencies, evaluate whether to add a package, review a lockfile diff, or check licence compatibility.

EsquemaAnálisisTrigger

Instalación

npx skillsify add dependency-risk-review

La mayoría de auditorías de dependencias producen un muro de CVEs y ahí se quedan. Esta skill puntúa cada paquete según las señales que de verdad predicen incidentes de cadena de suministro — número de mantenedores, recencia de publicación, huella transitiva, licencia y si ejecuta scripts de instalación — y exige una alternativa concreta o una aceptación explícita para todo lo que puntúe alto. Además, se niega a recomendar una dependencia para algo que cubriría una función corta y legible.

Informe de calidad

Debería activarse

  • Should we add this package or write it ourselves?
  • Audit our dependencies for supply-chain risk
  • Is this licence compatible with our commercial product?
  • Review what changed in this lockfile diff

No debería activarse

  • Refactor this component into smaller pieces
  • Explain how CSS grid works

Archivos

SKILL.md
---
name: dependency-risk-review
description: Reviews third-party dependencies for supply-chain and licence risk. Use when the user asks to audit dependencies, evaluate whether to add a package, review a lockfile diff, or check licence compatibility.
---

# Dependency risk review

## When to use this
A dependency is being added, a lockfile diff needs review, or the user wants a
supply-chain or licence audit.

## Procedure
1. For each dependency under review, gather: version, licence, install count,
   last publish date, maintainer count, and its own transitive dependency count.
2. Score it against [references/risk-matrix.md](references/risk-matrix.md).
3. Report anything scoring **high** with a named alternative or a rationale for
   accepting the risk.
4. For a lockfile diff, focus on packages that are newly introduced or that
   changed major version. Ignore patch bumps of already-trusted packages.

## Rules
- A small utility with one maintainer and no publishes in two years is a higher
  risk than a large well-maintained package. Size is not the risk signal.
- Always state the licence explicitly. "Permissive" is not a licence.
- Never recommend adding a dependency for functionality achievable in under
  roughly twenty lines of readable code.
references/risk-matrix.md
# Dependency risk matrix

| Signal | Low | Medium | High |
| --- | --- | --- | --- |
| Maintainers | 3+ | 2 | 1 |
| Last publish | < 6 months | 6-24 months | > 24 months |
| Transitive deps | 0-3 | 4-15 | > 15 |
| Licence | MIT / Apache-2.0 / BSD | MPL / LGPL | GPL / AGPL / none |
| Install scripts | none | optional | required postinstall |

Any single **high** in Licence or Install scripts is disqualifying for a
commercial product until explicitly accepted by the owner.

Skills relacionadas

RendimientoVerificada

core-web-vitals-audit

Audits a web application for Core Web Vitals regressions. Use when the user asks to check LCP, INP or CLS, investigate a Lighthouse score drop, or review front-end performance before a release.

1284 instalaciones · v1.2.0

TestingVerificada

flaky-test-hunter

Finds and diagnoses flaky tests in a test suite. Use when tests pass locally but fail in CI, when a suite fails intermittently, or when the user asks to stabilise or de-flake their tests.

963 instalaciones · v1.1.0

RefactorizaciónVerificada

rtl-layout-audit

Audits a web interface for right-to-left layout correctness in Arabic, Hebrew, Persian or Urdu. Use when adding an RTL locale, when the user reports mirrored or broken Arabic layout, or before shipping a bilingual interface.

688 instalaciones · v1.1.1