Communitygithub.com

YepAPI/skills

Dependency security — npm audit, lockfile verification, supply chain attack prevention.

¿Qué es skills?

skills is a Claude Code agent skill that dependency security — npm audit, lockfile verification, supply chain attack prevention.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/dependency-security

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Dependency Security

Rules

  • Run npm audit in CI — fail the build on high/critical vulnerabilities
  • Use lockfile-lint to verify all packages resolve to the official npm registry
  • Pin major versions in package.json: use ^ for minor updates, never * or latest
  • Review new dependencies before installing: check npm download counts, last publish date, maintainer count
  • Use npm ls --all to audit transitive dependencies — your direct deps pull in hundreds more
  • Set up Snyk, Socket.dev, or GitHub Dependabot for real-time vulnerability alerts
  • Update dependencies weekly — stale deps accumulate known vulnerabilities
# GitHub Actions — audit in CI
- name: Audit dependencies
  run: npm audit --audit-level=high

- name: Verify lockfile integrity
  run: npx lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https
// package.json — pin major versions
{
  "dependencies": {
    "next": "^14.0.0",
    "react": "^18.0.0",
    "zod": "^3.0.0"
  }
}

Avoid

  • npm install random-package without checking the package first — typosquatting is real
  • Ignoring npm audit warnings — known vulnerabilities are the easiest attack vector
  • Using * or latest as version ranges — a compromised publish instantly hits your build
  • Running postinstall scripts from untrusted packages without review
  • Assuming popular packages are safe — even event-stream (millions of downloads) was compromised

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Tool-use patterns, multi-step reasoning, agent orchestration, and structured outputs.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Web analytics integration — event tracking, custom dashboards, privacy-first.

YepAPI/skills

Framer Motion — transitions, scroll animations, layout animations.

YepAPI/skills

OpenAPI 3.1 from Zod schemas, interactive docs with Swagger/Scalar, versioning, and example requests for every endpoint.

YepAPI/skills

Authentication security — bcrypt/argon2 hashing, brute force protection, secure password resets.

YepAPI/skills

Session auth, social providers, CSRF protection, and secure cookie patterns.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Link building research and backlink audit using YepAPI.

YepAPI/skills

MDX blog setup, RSS feed generation, sitemap.xml, structured data/JSON-LD, and related posts.

YepAPI/skills

Redis caching, CDN cache headers, stale-while-revalidate, cache invalidation, React Query.

YepAPI/skills

Recharts/Chart.js data visualization — bar, line, area, pie charts.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Competitive analysis between domains using YepAPI.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

Skills relacionados