Skip to main content
skill CX Codex

js-security-audit — Claude Code skill: what it does, how to install

Runs a 5-area security check on JS and TS projects across repository settings, supply-chain hygiene, CI/CD, and alerts. Flags critical risks before release.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add c0x12c/ai-toolkit --skill js-security-audit -a claude-code
Open on GitHub

What js-security-audit does

The skill inspects npm, yarn, and pnpm setups by reading the lockfile in the repository root. It examines .npmrc options, package version pinning, and scoped packages. Auth routines get scanned for insecure pseudo-random generators like Math.random().

In the workflow pipeline, the skill verifies that npm ci runs with --ignore-scripts, GitHub Actions are pinned to full commit SHAs, and security linters are present. It also inspects .github/dependabot.yml to confirm update grouping and alerting rules.

Without command execution access, the audit cannot evaluate the dependency graph. Terminal execution via Bash is required to run commands such as npm audit, yarn outdated, and lockfile-lint. Output arrives as a structured report with file paths, line numbers, and actionable remediation snippets.

What it helps with

  • Detect supply-chain risks and unpinned versions in package manifests
  • Validate CI workflows to use npm ci with --ignore-scripts
  • Enforce full commit SHA pinning for GitHub Actions
  • Generate prioritized security findings with file lines and code fixes

Example prompts for the agent

  • Run a security audit on our dependencies and CI workflows
  • Check package.json and lockfile for supply-chain risks
  • Review our Dependabot configuration and npm scripts hardening

How to install js-security-audit

1Skills CLI (Vercel)

npx skills add c0x12c/ai-toolkit --skill js-security-audit -a claude-code

2Manually: put the files in place

~/.claude/skills/js-security-audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/js-security-audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about js-security-audit

How do I install js-security-audit in Claude Code?

Run npx skills add c0x12c/ai-toolkit --skill js-security-audit -a claude-code.

What does js-security-audit check?

It evaluates five areas: project setup, dependency hygiene, CI/CD pipelines, Dependabot configuration, and incident readiness. Findings are classified as Critical, Warning, or Info with exact line references.

What permissions does the skill require?

It needs permission to run Bash commands such as npm audit, pnpm audit, and lockfile-lint. You can pre-approve these commands in settings.json under permissions.allow.

Similar skills

All skills for Security →

From the same set33

ops-oncall-log Pulls alerts from your monitoring platform and writes a structured on-call log to the team wiki. Useful at the end of a shift or during a review. CX Codex +1 ★ 109repo stars ops-investigate-alert Investigates production alerts end-to-end by collecting telemetry, error logs, and recent code diffs. Gives on-call engineers an evidence-based incident root cause. CX Codex +1 ★ 109repo stars market-research Research markets, competitors, funds, or technology with a structured workflow. Use the skill to gather evidence before testing a business idea or contacting an investor. CX Codex +1 ★ 109repo stars kotlin-best-practices A skill that pins down Kotlin conventions: null safety, Either instead of thrown exceptions, coroutines, and Exposed ORM patterns. Useful while writing or reviewing Kotlin. CX Codex +1 ★ 109repo stars investor-outreach Draft investor emails, introduction requests, follow-ups, and updates with help from this skill. Use it when reaching out to an angel, VC, or accelerator. CX Codex +1 ★ 109repo stars investor-materials A skill for producing investor-facing documents: a pitch deck, one-pager, memo and financial model. Useful when the numbers and the story have to line up across every file. CX Codex +1 ★ 109repo stars idea-validation This skill runs a critical validation check on startup concepts before you code: it scans competitors, evaluates market signals, and issues a go or pass verdict. CX Codex +1 ★ 109repo stars design-workflow This skill guides UI prototyping and design reviews around a project’s existing design system. Use it when building components, screens, or responsive layouts. CX Codex +1 ★ 109repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor