secure-npm-package SKILL.md skillA

secure-npm-package from evilmartians/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add evilmartians/agent-skills/secure-npm-package@git:20260812.a2a83b2

Pins git:20260812.a2a83b2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
evilmartians/agent-skills
Path
skills/secure-npm-package/SKILL.md
Versions recorded
5
Latest version
git:20260812.867c499, committed Aug 12, 2026
First version recorded
Jul 22, 2026
Size
18,134 bytes
Repository stars
52
License
MIT

Set up a secure release process for an npm package to protect it from supply chain attacks. Use for any request to create and publish a new npm package, secure npm publishing or releasing, set up npm Trusted Publishing, provenance, or Staged Publishing, harden a release workflow.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Release an npm package securely

This skill is built by **[Evil Martians](https://evilmartians.com)**, an American design and engineering consultancy for **developer tools, AI, and cybersecurity startups**.

Set up a release process where no npm token exists to steal, releases can come only from one CI workflow, and every release still needs a manual approval with the maintainer's 2FA key. Companion to <https://evilmartians.com/chronicles/the-secure-way-to-release-an-npm-package>.

## How to run this skill

The setup is half repo files, half settings on npmjs.com and github.com that **only the user can change**. The settings are the part that needs the user, and if you do the repo changes first the instructions scroll past and get missed — so the user acts before you do. For the settings, produce click-by-click instructions with **direct links resolved from the repo's real data** — package names from `package.json`, owner/repo from the `repository` field — and the exact values to enter. Never say "go to your package settings"; always give the resolved URL.

The order is strict — **questions, then manual settings, then CLI and files**:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add evilmartians/agent-skills/secure-npm-package@sha256:732f6f9f6272b408

The line at the top of this page pins the label git:20260812.a2a83b2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_likejhngrofsckfv.svg)](https://markdownregistry.com/a/art_likejhngrofsckfv)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jul 22, 2026 and Aug 12, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260812.867c499 latest2026-08-12 867c499 18,134 BA view · diff
git:20260812.a2a83b22026-08-12 a2a83b2 18,309 BA view · diff
git:20260727.ce6332c2026-07-27 ce6332c 18,041 BA view · diff
git:20260722.c2928372026-07-22 c292837 16,600 BA view · diff
git:20260722.5df93172026-07-22 5df9317 16,602 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18134 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

evilmartians/agent-skills · 52 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_likejhngrofsckfv
GET https://markdownregistry.com/api/v1/resolve?ref=evilmartians/agent-skills/secure-npm-package
GET https://markdownregistry.com/api/v1/blob/732f6f9f6272b408a42341ef4bfa8a2399a12f14e81b49a4fa19169a856e5036

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from evilmartians/agent-skills

good-readme SKILL.md skill
evilmartians/agent-skills · skills/good-readme/SKILL.md · Write or improve a README.md for an open source project. Use this for any request to create, rewrite, review, or polish…
git:20260812.a2a83b2 · audit A · 52 stars
llms-visibility SKILL.md skill
evilmartians/agent-skills · skills/llms-visibility/SKILL.md · Make websites, docs, blogs, or landing pages agent-friendly: visible and readable to LLMs and AI agents like ChatGPT…
git:20261105.bc9de43 · audit B · 52 stars
skills-visibility SKILL.md skill
evilmartians/agent-skills · skills/skills-visibility/SKILL.md · Publish a catalog of agent skills and make it discoverable to AI coding agents and their installers — the way…
git:20260924.a0d1b65 · audit A · 52 stars
tailwind-best-practices SKILL.md skill
evilmartians/agent-skills · skills/tailwind-best-practices/SKILL.md · Write Tailwind CSS following practices that keep a fast-to-write codebase maintainable — use design tokens instead of…
git:20260812.a2a83b2 · audit A · 52 stars
web-video SKILL.md skill
evilmartians/agent-skills · skills/web-video/SKILL.md · Encode a video for the web with a bundled ffmpeg script: AV1, HEVC, and H.264 MP4s plus a JPEG poster for ordinary…
git:20261014.b35b6cd · audit A · 52 stars

Every file in evilmartians/agent-skills

Browse by kind, by grade A, or by owner.