security-supply-chain
Skill2 starsChanged 5 months agoMITView on GitHub
Seguridad de la cadena de suministro: lockfiles, auditorías de dependencias, SBOM, firmas, builds reproducibles, scripts de install, supply-chain attacks típicos. Cargá al agregar o actualizar dependencias, o al configurar CI/CD.
- Pipes a download into a shell
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Manu-del-source/ai-security-audittheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Manu-del-source/ai-security-audit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- accessibility-wcagSkill
- agent-orchestrationSkill
- backend-api-designSkill
- backend-data-modelingSkill
- backend-observabilitySkill
- backend-performanceSkill
- blossom-carouselSkill
- browser-qaSkill
- commit-hygieneSkill
- discovery-intakeSkill
- frontend-component-patternsSkill
- geo-seoSkill
- gh-cliSkill
- glosario-vivoSkill
- llm-councilSkill
- pedido-claroSkill
- ponytailSkill
- reporte-comprensibleSkill
- sdd-flowSkill
- secure-by-defaultSkill
- security-authn-authzSkill
- security-owaspSkill
- security-secretsSkill
- turtle-protocolSkill
- ui-ux-pro-maxSkill
The file
Files
Supply chain security
Cuándo usar
- Agregar o actualizar una dependencia.
- Configurar CI/CD o un pipeline de publicación.
- Diseñar el proceso de release.
Por qué importa
Una dependencia comprometida ejecuta código en tu build, en tus tests y en
producción. Históricos: event-stream, colors.js/faker.js, xz-utils (CVE-2024-3094),
typosquatting masivo en npm/PyPI.
Reglas duras
- Lockfile commiteado siempre.
package-lock.json,Cargo.lock,poetry.lock,pnpm-lock.yaml,go.sum. - Sin instalar
latesten runtime. Pinneá versiones; actualizá con PR. - Sin
npm installsin lockfile en CI. Usánpm ci,pnpm install --frozen-lockfile,cargo install --locked. - Sin scripts
postinstallde paquetes no auditados en entornos sensibles.npm install --ignore-scriptscuando se pueda. - Sin descargas
curl | shsin checksum / firma verificada.
Auditoría continua
npm audit/pnpm audit/yarn auditcargo audit(Rust)pip-audit(Python)osv-scanner(multi-ecosistema, base OSV)govulncheck(Go)bundler-audit(Ruby)
Corré en CI y bloqueá merges con vulnerabilidades altas/críticas sin justificación.
SBOM
Generá un Software Bill of Materials por release:
syft/cyclonedxpara generación.- Formato: CycloneDX o SPDX (estándar).
- Almacenalo junto al artefacto en el release.
Si te llaman por un CVE de una dep, tener SBOM = saber qué releases están afectados en minutos, no días.
Firmas y verificación
- Verificá firmas de artefactos descargados: GPG, sigstore/cosign, Apple notarization.
- Firmá tus releases:
cosign signpara imágenes y binarios. - Para SLSA L3+: build reproducible + provenance attestation.
Dependencias — antes de agregar una
Checklist rápido:
- ¿La necesitamos o lo hace el lenguaje/runtime?
- ¿Está mantenida? (último commit, issues abiertos, downloads).
- ¿Cuántas deps trae transitivamente? Más = más superficie.
- ¿Tiene licencia compatible con la nuestra?
- ¿Hay versión LTS o solo
0.0.x? - ¿La organización detrás es identificable?
- ¿Hay alternativa ya en uso en el repo?
Typosquatting
- Confirmá el nombre exacto del paquete (sin guiones cambiados, sin caracteres unicode lookalike).
- Verificá el repo de origen, no solo el README en el registry.
- Sospechá de paquetes nuevos con muchas descargas y poco código.
CI/CD seguro
- Mínimos permisos al runner: tokens read-only salvo cuando publican.
- Sin secretos en pull requests de forks. Usá
pull_request_targetcon cuidado. - Pin de actions de GitHub por SHA, no por tag (
uses: actions/checkout@<sha>). - Aislamiento de runners entre repos / clientes.
- OIDC para cloud providers (sin claves estáticas de larga vida).
Build reproducible
- Lockfile + base image con digest (
FROM node:20@sha256:...). - Sin timestamps no determinísticos en artefactos.
- Mismo input → mismo output binario (verificable por terceros).
Validación
- CI rompe si:
- Hay vulnerabilidades críticas en deps sin excepción justificada.
- El lockfile no se actualizó cuando cambió el manifest.
- Hay archivos con secretos detectados.
- Revisar Dependabot/Renovate weekly; no merges automáticos en deps de alto privilegio sin revisión.
Si una dep aparece comprometida
- Identificá versiones afectadas (CVE + advisory).
- Bloqueá instalación de esas versiones (
overrides/resolutions). - Actualizá a fix o forkeá temporal.
- Re-buildeá y re-deployá. Asumí ejecución en CI/dev/prod.
- Auditá: ¿qué corrió esa dep? ¿qué pudo exfiltrar?
- Rotá secretos a los que tuvo acceso.
Relacionadas
[[security-owasp]] · [[security-secrets]] · [[secure-by-default]] · [[commit-hygiene]]
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
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.

