010101-package-security

010101-package-security is a skill for Claude Code from natuleadan/skills. It costs 36 tokens per session (731 once invoked), scanned A, original, MIT.

A security guide for npm, pnpm, and Bun, tools that install JavaScript packages and their dependencies.

In plain words
What is it for?
Hardening package installation and continuous integration, enforcing lockfiles, reviewing dependency changes, and auditing packages.
Why use it?
It reduces supply-chain risk by covering lockfiles, fixed versions, package checks, and blocked install scripts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the natuleadan plugin — 44 skills shipped together

Good fit Hardening package installation and continuous integration, enforcing lockfiles, reviewing dependency changes, and auditing packages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/natuleadan/skills/010101-package-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add natuleadan/skills --skill 010101-package-security
Clone the repo
git clone --depth 1 https://github.com/natuleadan/skills

Made for: Claude Code.

Or install natuleadan, the plugin that ships this one along with the rest of its 44 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 010101-package-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/natuleadan/skills/010101-package-security.svg)](https://agentmods.dev/skills/natuleadan/skills/010101-package-security)
Your own site
<a href="https://agentmods.dev/skills/natuleadan/skills/010101-package-security"><img src="https://agentmods.dev/badge/skills/natuleadan/skills/010101-package-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00731
Opus 5 $0.00018 $0.00365
Sonnet 5 $0.00007 $0.00146
Haiku 4.5 $0.00004 $0.00073

Measured 8d ago against content hash e2b7da2f69ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

010101-package-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/audit-project.py, scripts/audit.py, scripts/scan-exotic.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/010101-package-security/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Package Manager Security

This skill helps you harden npm, pnpm, and bun against supply chain attacks. It provides configuration guides, best practices, and troubleshooting for all three package managers.

How to use this skill

  1. Identify which package manager(s) the user's query is about (npm, pnpm, bun, or multiple)
  2. If they ask about npm → read references/npm.md
  3. If they ask about pnpm → read references/pnpm.md
  4. If they ask about bun → read references/bun.md
  5. If they ask about multiple or general concepts (lockfiles, CI/CD, version pinning) → read all relevant files
  6. Answer concisely and directly. Provide configuration snippets and commands the user can copy/paste.

Common concepts (apply to all three)

These security practices apply regardless of package manager. Mention them when relevant.

Lockfile enforcement

  • Always commit the lockfile: package-lock.json (npm), pnpm-lock.yaml (pnpm), bun.lock (bun)
  • In CI/CD, use the frozen-lockfile equivalent:
    • npm: npm ci
    • pnpm: pnpm install --frozen-lockfile
    • bun: bun install --frozen-lockfile
  • Review lockfile changes in PRs — unexpected additions can indicate compromised deps

Version pinning

  • Prefer exact versions ("axios": "1.12.0") over ranges ("axios": "^1.12.0")
  • Tilde ranges ("axios": "~1.12.0") are safer than caret ranges for production
  • Never use "*" or "latest" in production

Supply chain monitoring

  • npm audit signatures — verify package provenance
  • Integrate SCA (Software Composition Analysis) tools for vulnerability scanning
  • Block known C2 domains at the firewall/DNS level

Audit existing setup

Run python scripts/audit.py to check global security settings (npmrc, pnpm config, bunfig).

Run python scripts/audit-project.py from your project root to check project-level settings (package.json: overrides, engines, packageManager, pnpm config).

Run python scripts/scan-exotic.py to scan lockfiles for dependencies from exotic sources (git repos, tarballs, local paths). Use --ci to fail in CI if any exotic deps found.

Read the full file on GitHub · 67 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 67 lines · 36 tokens per session scan A e2b7da2f69ac

Subscribe to this mod's changes

010101-package-security is a skill published in the GitHub repository natuleadan/skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 731 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

hmi-design-full

Comprehensive ISA-101 design rules for Human Machine Interfaces in process automation, with detailed reference files covering color design, display hierarchy, navigation, alarms, human factors, performance, and lifecycle management. Use when designing, building, reviewing, or generating code for HMIs, control system…

timhok/hmi-design · 107 tokens

hmi-design-light

ISA-101 design rules for Human Machine Interfaces in process automation, covering display hierarchy, color standards, alarm integration, navigation, and situation awareness. Use when designing, building, reviewing, or generating code for HMIs, control system displays, SCADA screens, operator dashboards, or industrial…

timhok/hmi-design · 86 tokens

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens

setup-cms

Connect a CMS to notfair SEO tools. Guides users through configuring WordPress, Strapi, Contentful, or Ghost — tests the connection, and writes credentials to .env.local. Once set up, seo-analysis automatically cross- references CMS content against Google Search Console data. Use whenever the user says "connect my…

nowork-studio/notfair-plugin · 111 tokens

broken-link-checker

Scans a website to find broken links (404s, 500s). Crawls internal pages, identifies broken outbound links, and reports source pages for easy fixing. Use this when the user asks to "check for broken links", "find 404s", "audit my links", or "is my site healthy".

nowork-studio/notfair-plugin · 72 tokens

google-ads-audit

Google Ads account audit and business context setup. Run this first — it gathers business information, analyzes account health, and saves context that all other ads skills reuse. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should…

nowork-studio/notfair-plugin · 114 tokens