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.
mdr add evilmartians/agent-skills/secure-npm-package@git:20260812.a2a83b2Pins 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
mdr add evilmartians/agent-skills/secure-npm-package@sha256:732f6f9f6272b408The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260812.867c499 latest | 2026-08-12 | 867c499 | 18,134 B | A | view · diff |
| git:20260812.a2a83b2 | 2026-08-12 | a2a83b2 | 18,309 B | A | view · diff |
| git:20260727.ce6332c | 2026-07-27 | ce6332c | 18,041 B | A | view · diff |
| git:20260722.c292837 | 2026-07-22 | c292837 | 16,600 B | A | view · diff |
| git:20260722.5df9317 | 2026-07-22 | 5df9317 | 16,602 B | A | view |
Audit of the latest version
- 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
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.