本文へスキップ
Kitbay
スキル

check-npm

Apache-2.02026年11月10日 更新307GitHubスター

A supply-chain hardening audit from Grafana's plugin skills for any JavaScript or TypeScript repository using npm, Yarn or pnpm.

スキルの内容

A supply-chain hardening audit from Grafana's plugin skills for any JavaScript or TypeScript repository using npm, Yarn or pnpm. The agent detects the package manager, checks that its version meets a stated minimum, that dependency lifecycle scripts are turned off, that no risky dependency sources such as git or tarball URLs are allowed without approval, and that newly published versions must be at least three days old before install. It then reports each check with suggested configuration fixes. Grafana plugins are one stated target, but nothing in it is specific to Grafana.

できること

  • Detect the package manager in use
  • Check that dependency lifecycle scripts are disabled
  • Flag unsafe git or URL dependency protocols
  • Enforce a minimum release age for new packages