Refolk
PlaybookEngineering and open source

The Dormant-Publisher Exposure Sweep: Lockfile to Flagged Maintainers

Turn a lockfile into a dated register of every identity that can publish your dependencies, sorted into five risk classes with one owned action per flagged row.

21 min readLast reviewed November 29, 2026Read as Markdown

Key takeaways

  • The node-ipc takeover needed no code exploit: a maintainer's email domain expired on 10 January 2025, was re-registered on 7 May 2026, and malicious versions shipped on 14 May 2026.
  • Exposure concentrates in a few identities: in a 2022 sample of popular npm packages, 15 maintainer emails could reset accounts covering 899 packages, about 60 per identity, against about 3 per identity registry-wide.
  • A domain that resolves today is not proof of safety, because a re-registered domain passes any expiry check; compare the domain's creation date with the maintainer's last publish.
  • A healthy-looking domain in the npm maintainers field means unknown, not clean, because the account's current recovery email is not public.
  • Trusted publishing alone does not lock out a recovered account: npm accepts token and manual publishes alongside the configured workflow until disallow tokens is set, as axios 1.14.1 showed.
  • In Refolk's index, zero US profiles headline open source maintainer npm, so upstream contacts have to be found through registry and GitHub identity rather than job titles.

This playbook is for engineering managers, technical founders, developer-relations leads, and the engineers who work with them. It answers one question: which accounts that can publish your dependencies could an attacker take over before they get used? You start from a lockfile and finish with a dated register that lists every maintainer identity with publish rights to your resolved dependencies. Each identity sits in one of five classes, and every flagged row has one owner and one action. The method runs today on npm, RubyGems, and crates.io, and it says plainly where PyPI and some per-version fields have not been verified.

What a dormant-publisher sweep catches

A dormant-publisher sweep finds the accounts behind your dependency tree that an outsider could take over with a password reset. There are three kinds: maintainers whose email domain has lapsed or been re-registered, co-maintainers who stopped publishing but kept their rights, and packages with only one owner. It checks people, not code, and it runs before anything malicious is published.

The mechanism is simple. A registry account is recovered through its email address. If that address sits on a domain the maintainer no longer owns, whoever buys the domain receives the reset mail. The ICSE 2022 paper "What are Weak Links in the npm Supply Chain?" put it plainly for its sample of popular packages: attackers "can reset npm accounts by using those 15 email addresses to access 899 npm packages."

node-ipc is the worked example. The package had twelve npm maintainers. One maintainer's email domain expired and stayed lapsed for 16 months. Depi reports that it flagged the identity on 29 April 2026, eight days before someone re-registered the domain. One week after the re-registration, three malicious versions shipped: 9.1.6, 9.2.3, and 12.0.1. Ian Ahl (@TekDefense, CTO of Permiso) is credited with first identifying the vector.

The node-ipc takeover, from lapsed domain to malicious publish

  1. Domain expires
    10 Jan 2025. A maintainer's listed email now points at a lapsed domain.
  2. Identity flagged
    29 Apr 2026. Depi flags the dormant identity from public metadata.
  3. Domain re-registered
    7 May 2026. Whoever registered it now controls that mailbox.
  4. Malicious publish
    14 May 2026, about 14:25 UTC. Versions 9.1.6, 9.2.3 and 12.0.1 ship.
Every condition the attack needed sat in public data 15 days before the malicious versions shipped.

The earlier foreach case had the same shape with fewer moving parts. In May 2022, Lance Vick bought the expired domain of the sole maintainer of the npm package foreach, which had 36,826 dependents. It took one owner and one lapsed domain to reach the whole package.

How large the exposure is

The published scans agree that the problem is real but disagree on its size, mostly because they count different things.

ScanIdentitiesPackagesPackages per identity
NCSU/Microsoft, 20222,818 emails8,4943.01
Popular-package subset, 202215 emails89959.9
Purchasable-domain scan900 maintainers3,2103.57
Laburity675 domains2,8434.21 per domain

The last column is derived. The NCSU/Microsoft figure comes from a scan of 1.63M packages. The third row comes from a secondary source reporting that about 0.17% of npm maintainers had email addresses on domains available to buy. Its primary source was not identified, so treat that row as indicative only. How many of these exposed packages had a single maintainer has not been established publicly.

59.9
npm packages reachable per exposed email in a popular-package sample
15 emails reached 899 packages, against 3.01 per identity across the registry-wide scan of 1.63M packages.

The ratio is the part to act on. Prolific maintainers own many packages, so rank identities by how many of your packages each one can publish, not by how many rows got flagged.

Which registry fields show who can publish a package

Each registry exposes a list of the identities with write rights, and some also record who published each version. The sweep needs both: the rights list shows who could publish tomorrow, and the per-version record shows who has actually published and when.

EcosystemWho can publishWho published each versionVerified
npmTop-level maintainersversions[*]._npmUser plus timeYes
RubyGemsowners.json, with emailsNot covered hereOwners only
crates.io/api/v1/crates/:crate/ownerspublished_by, if livePartial
PyPINot verifiedNot verifiedNo

On npm, the top-level maintainers field is the npm-controlled list of usernames allowed to write to the package. Each version also keeps a snapshot of that list. The _npmUser field records the authenticated account that wrote each version, and the registry API doc describes it as an object holding the publisher's name and email. Join _npmUser to the packument's time map and you get a last-publish date for each identity. (A packument is the full metadata document the registry serves for a package.)

Two caveats shape everything that follows:

  • The listed email may be stale. One scanner's issue tracker notes that the npm metadata spec calls maintainers "not authoritative but informational", and that the account's current email is not public. A practitioner guide disagrees and says the field shows the current account email. How often the two differ has not been established publicly.
  • Trusted publishing hides the human. Trusted publishing lets a CI workflow publish with a short-lived identity token instead of a stored secret. When a version is published that way, _npmUser reads GitHub Actions / npm-oidc-no-reply@github.com. A maintainer who ships only through the workflow will look as if they never published.

On RubyGems, owners.json returns owner emails, and the RubyGems API guide says these users can all push to the gem. crates.io exposes GET /api/v1/crates/:crate/owners. Someone requested a published_by field because, when a crate has several owners, it was not possible to tell who published what. Whether that field is live today is unverified, so make one live API call before you build on it. PyPI's public owner-email and per-uploader fields were not verified for this guide. Do not claim the same coverage across ecosystems in your register.

The five register classes and what each proves

Every identity x package row gets exactly one primary class: re-registered domain, lapsed domain, dormant with rights, single maintainer, or clean. Record every flag that applies, but sort by the worst one, in that order. A re-registered domain means someone else may already receive the recovery mail.

ClassTriggerWhat it provesHow it lies
Re-registered domainDomain created after the identity's last publishSomeone else may now receive its mailThe maintainer may have re-bought their own domain
Lapsed domainExpired, in redemption, or open to registerThe account is one reset awayThe real recovery email may be different and healthy
Dormant with rightsNo publish within threshold, or neverRights have outlived activityTrusted publishing hides real activity
Single maintainerOne identity with publish rightsNo co-maintainer will notice a takeoverSays nothing about that owner's security
CleanNone of the aboveOnly that public data shows no flagThe private recovery email is unknown

The redemption period is the window after expiry when only the former owner can still renew a domain. PyPI uses it as its trigger: if a domain registration enters redemption, PyPI un-verifies the email. I treat redemption as lapsed for the same reason.

Setting the dormancy threshold

No standard dormancy threshold in months has been established publicly. There are two documented reference points: The Hacker News cites a 21-month gap in the node-ipc case, and Depi describes a maintainer who had been dormant for 1,476 days. I set my threshold below 21 months, so the shortest documented case would trip it. Write your number in the register header so that month-over-month diffs compare like with like.

Count identities that hold rights but have never published as dormant too. The account used on node-ipc, atiertant, had no prior publish history on that package, yet it held publish rights.

Triage by publish recency and domain health

Domain lapsed or re-registeredDomain healthy or unknown
Active on a bad domain
Notify upstream privately; the maintainer can fix it fast
Dormant on a bad domain
Pin with cooldown now, then request maintainer removal
Active, domain unknown
Class as clean, label email-unknown, re-check monthly
Dormant with rights
Request maintainer removal from the remaining owners
Published recentlyDormant or never published
The dangerous corner is a dormant identity on a lapsed or re-registered domain, which is exactly where node-ipc sat.

The dormancy column is the slowest one to verify by hand, because silence on the registry does not mean the person has walked away. A maintainer who stopped publishing one package may still be committing every week elsewhere, and a maintainer who publishes only through a workflow looks absent. Before you send a removal request, check each flagged username against public GitHub activity. Refolk handles that lookup as a plain-English question across GitHub and the open web, so your time goes to the rows that stay ambiguous.

The sweep, step by step

The sweep has nine steps, from lockfile to monthly diff. An engineer scripts the pulls, security or the engineer checks domains, the engineering manager signs off triage, and the platform team applies the controls. No source publishes durations for these steps, so time your first run and record it in the register header.

Lockfile to signed-off register

  1. Resolve the lockfile into name@version lists
    Expand every lockfile into a deduplicated name@version list per ecosystem, transitive dependencies included. Record the lockfile commit.
  2. Pull the publish-rights list per package
    Script npm's top-level maintainers, RubyGems owners.json, and the crates.io owners endpoint. Done at one row per identity x package.
  3. Extract email domains and drop freemail
    Split each email at the @, drop the large freemail providers, and keep the whole long tail of custom domains.
  4. Check each domain's status and creation date
    Look up expiry, redemption status, and creation date with Whois or RDAP for every custom domain.
  5. Attribute the last publish per maintainer
    On npm, walk versions[*]._npmUser against the time map. On crates.io, use published_by only once a live call confirms it.
  6. Flag single-maintainer packages
    Count identities with publish rights per package and flag every count of one.
  7. Triage, rank by reach, assign owner and action
    Class every row, rank flagged identities by how many of your packages they reach, and give each one action and one owner. The engineering manager signs off.
  8. Apply the controls
    Set cooldowns with the right version and unit, pin flagged packages in the proxy, and file upstream notices.
  9. Re-run monthly and diff against last month
    Re-run against the current lockfile, diff it against the previous register, and re-triage every new, changed, or resolved row.

Notes that change how you run each step:

  • Step 1. Running npm ci, or npm install with an existing lockfile, does not check release age. Your exposure is whatever the lockfile already pins, which is why the sweep starts there and not at the manifest.
  • Step 2. crates.io's data policy asks for at most one request per second, so the owners pull takes at least one second per crate. For npm, the documented starting point is npm view <package> maintainers.email.
  • Step 3. In the 2022 scan, 86% of 93K domains were unique. Expect a long tail and check all of it. Sampling misses the single custom domain that matters.
  • Step 4. Sources differ on method. Laburity's procedure runs a Whois lookup on every domain, and PyPI polls a domain-status service, re-checking any email domain it has not checked in the past 30 days. Nobody has published an RDAP-specific or mail-record diff method. If you use one, document it in the register header.
  • Step 5. If a version's _npmUser is GitHub Actions, read that version's maintainers snapshot before you call anyone dormant (see failure mode 2 below).
  • Step 7. Ranking by reach is what turns 400 rows into a short queue. One identity on a lapsed domain with rights to 30 of your packages outranks 30 single-package rows.

A good result is a file someone else can audit: dated, tied to a lockfile commit, one row per identity x package, every flagged row owned.

Register header and row format (CSV)
# Dormant-publisher register
# sweep_date: YYYY-MM-DD
# lockfile: <repo>@<commit sha>
# dormancy_threshold_months: <N>
# freemail_excluded: <provider list>
# domain_method: <Whois | RDAP | other, and source>
# first_run_duration: <hours, measured>
# previous_register: <file or link>
ecosystem,package,resolved_version,identity,email_domain,domain_status,domain_created,last_publish,owners_on_package,class,other_flags,reach,action,owner,ticket,next_check
npm,<package>,<version>,<username>,<domain>,re-registered,<YYYY-MM-DD>,never,<n>,re-registered domain,dormant with rights,<n>,pin with cooldown,<name>,<link>,<YYYY-MM-DD>

One row per identity x package. Keep the commented header on every monthly file so diffs compare like with like.

Which action each flagged row gets

Each flagged row gets exactly one of four actions: pin with cooldown, notify upstream, request maintainer removal, or replace. Choose the one that closes the exposure fastest given what you control. You control your own install path, and you can only influence upstream.

ClassDefault actionEscalate to
Re-registered domainPin with cooldown, pre-re-registration versionReplace, if upstream stays silent
Lapsed domainNotify upstream, privatelyPin with cooldown
Dormant with rightsRequest maintainer removalNotify upstream, if no reply
Single maintainerPin with cooldownReplace, if also dormant or lapsed
CleanNone; re-check next monthNot applicable

Removal requests rest on published advice: Snyk recommends that maintainers remove stale maintainers and expired email domains. Replacing a package is the most expensive action, so keep it for rows where the risk stacks up and upstream cannot or will not act.

Cooldowns, by tool

A dependency cooldown is a setting that refuses to resolve any version younger than a set age. It keeps a brand-new release out of your tree long enough for others to spot a bad one. It does nothing about versions already in your lockfile.

ToolSettingUnitDefault
npm 11.10.0+min-release-agedaysoff
pnpm 10.16+minimumReleaseAgeminutes1440 from v11
Cargo 1.100global-min-publish-agedurationoff
Bundler 4.0.13+cooldowndaysoff

On npm, min-release-age=7 in .npmrc means seven days. These settings change with tool versions, so re-check them against each tool's documentation or the cooldowns.dev reference. The dep-cooldown lockfile auditor can confirm that an existing lockfile respects the age you set.

What upstream controls close, and what they leave open

Registry-side controls protect you only if the package you depend on turns them on. Read them as things to ask upstream for, not as things you can count on:

  • Staged publishing on npm. A human maintainer with a 2FA challenge has to approve a staged package before it goes live. It needs npm CLI 11.15.0 or later, and npm's changelog says staged packages can only be approved after malware scanning is complete. Check the changelog for the current state.
  • Trusted publishing with tokens disallowed. npm accepts publishes from the configured workflow in addition to tokens and manual publishes until the package sets "disallow tokens". axios 1.14.1 shows the gap: its publisher changed from GitHub Actions to a direct user session. crates.io owners can now enforce trusted publishing. The short-lived tokens behind trusted publishing last 15 minutes on PyPI and 30 minutes on crates.io.
  • Workflow compromise is a different problem. 84 malicious versions across 42 @tanstack/* packages went out through the project's trusted-publishing pipeline, and the ultralytics releases were published through the existing GitHub Actions workflow, not with an API token. This sweep does not catch that route. Cooldowns are the control that covers both.

Where each control lives, outermost first

  1. Consumer cooldown
    min-release-age, minimumReleaseAge, global-min-publish-age, cooldown
  2. Proxy pin
    Your registry proxy serves only the approved versions of flagged packages
  3. Registry publish gate
    Staged publishing with 2FA approval; trusted publishing with tokens disallowed
  4. Maintainer account
    Recovery email on a domain the maintainer controls; stale co-maintainers removed
You own the outer two layers; the inner two only move when upstream maintainers act on your notice.

How to find the upstream maintainers to notify

Notify the active co-maintainers of the flagged package, identified through the registry and GitHub, because job titles will not find them. The people who own this work rarely describe themselves that way in public.

Headline queryCountryCountTop employer in sample
software supply chain securityUS259Chainguard, 7 of 25
software supply chain securityGermany15Black Duck, 2 of 15
open source maintainer npmUS0None

These counts come from Refolk's index of professional profiles. The US has 17.3x Germany's headline count for supply-chain security, and the specialist pool is small even where it is largest.

0
US profiles in Refolk's index whose headline says open source maintainer npm
Against 259 US profiles headlining software supply chain security, so maintainers have to be traced through registry usernames and GitHub identity.

In practice, start with the npm usernames in the maintainers field that have recent publishes, then find the matching GitHub accounts and the project's security policy. Matching a registry username to a reachable person is the slow, error-prone part. Refolk lets you ask for that person by what they maintain rather than by title, which matters when nobody's title mentions the package.

Registries do take these reports: the NCSU team submitted its list of suspicious packages to the npm security team. Response times for such reports have not been established publicly, so put your own follow-up date in the register.

Upstream notice for a lapsed or re-registered maintainer domain
Subject: Publish-rights review for <package>: maintainer email domain status

Hi <active maintainers>,

<Company> depends on <package> at <version>. In a routine review of who can publish it, I found that the npm maintainer <username> is listed with an email on <domain>.

As of <YYYY-MM-DD>, public registration records show that domain as <expired | in redemption | created on YYYY-MM-DD>, which is after this account's last publish on <YYYY-MM-DD | never>. An account whose recovery email sits on a domain someone else can register can be reset and used to publish. node-ipc was compromised this way.

Would you consider one of these:
- removing <username> from the maintainers list if they are no longer active, or
- asking them to move the account to an email on a domain they control.

I can share the raw lookups. I will re-check on <YYYY-MM-DD>.

<Name>, <role>, <contact>

Send privately first. For a dormant-with-rights row, replace the second paragraph with the last-publish date and ask only for removal.

How the sweep goes wrong

The sweep fails in seven known ways, and most of them produce false negatives: rows marked clean or active that are neither. Each failure below lists what you see and what to do about it.

  1. Stale email field. You see a healthy domain in the packument. The account's actual recovery email may be different and is not public. Label clean rows "email-unknown" in every report that leaves the team, and never present a clean register as proof that nobody is exposed.
  2. Trusted-publishing mask. You see GitHub Actions as _npmUser on every recent version. The human behind it may look dormant when they are active, or active when they are long gone. Read each version's maintainers snapshot, and check the identity's GitHub activity before you request removal.
  3. "Never published" read as safe. You see an identity with rights and no publishes, and skip it. atiertant had no prior publish history on node-ipc, yet it held rights and was the account used. Class never-published identities with rights as dormant.
  4. Expired versus re-registered. You see a live domain and mark it fine. node-ipc's domain was live from 7 May 2026, a week before the attack. Always compare the creation date with the maintainer's last publish.
  5. The cooldown gap. You see min-release-age in .npmrc and mark the row as pinned. npm before 11.10 ignores the option without an error, and a pnpm value of 3 means three minutes. Check the installed version and the unit in the same commit.
  6. Trusted-publishing overconfidence. You see a trusted publisher configured upstream and downgrade the row. Without "disallow tokens", a recovered account can still publish, as axios 1.14.1 did. Keep the row flagged until tokens are disallowed.
  7. Ecosystem gaps. You see a tidy cross-ecosystem register. crates.io's published_by and PyPI's per-uploader fields are unverified, so dormancy on those rows may be guesswork. Mark the source field per row, and do not claim parity.
A domain that resolves today can be the most dangerous row in your register.

Failure modes 1 and 4 combine badly. A team that checks only "is it expired?" and trusts the listed email will pass exactly the row that node-ipc's attacker used. If you have time for only one extra check, compare creation dates.

Keeping the register current

Re-run the sweep monthly against the current lockfile and diff it against last month's register. The diff, not the full file, is what needs a human. A first sweep is an inventory, and the value builds as month-over-month changes surface.

Treat these changes as triggers for re-triage:

  • A new package or a new version enters the lockfile.
  • A new identity appears in a package's maintainers list.
  • A domain changes status, especially to redemption or to a new creation date.
  • An identity previously classed as dormant publishes. This is the node-ipc pattern, and it deserves same-day attention.
  • An upstream notice passes its follow-up date without a reply.

Sources disagree on where to start. Aguara puts consumer-side cooldowns first, while the NCSU and Laburity method starts with the email scan. My view: set cooldowns on day one because it is a configuration change, then run the sweep, because only the sweep tells you which packages need a pin, a notice, or a replacement.

Before you sign off the register

  • The header records the sweep date, lockfile commit, dormancy threshold, domain-lookup method, and freemail exclusion list.
  • Every resolved package in every ecosystem has at least one identity row or an explicit no-owner-data note.
  • Every custom domain has an expiry status and a creation date looked up on the sweep date.
  • Every identity has a last-publish date or never, and workflow-only publishers were checked against per-version maintainer snapshots.
  • Every row whose domain creation date is later than its last publish is classed re-registered, not clean.
  • Every flagged row has exactly one action, one named owner, and a ticket or commit link.
  • Every cooldown was verified against the installed tool version and the setting's unit.
  • Lapsed and re-registered findings went upstream through a private channel, with a follow-up date in the register.
  • Clean rows are labelled email-unknown in any report that leaves the team.
  • The diff against last month's register is attached, and every new or changed row has been re-triaged.

Questions practitioners ask

How do I check npm dependencies for expired maintainer email domains?

Run npm view on each package for maintainers.email, extract the domains, drop the freemail providers, and look up each custom domain's expiry, redemption status, and creation date with Whois or RDAP. Then compare the creation date with that maintainer's last publish: a domain created after it has probably changed hands. Treat a healthy-looking domain as unknown, because the account's current recovery email is not public.

How long does a maintainer must be inactive to count as dormant?

No published standard exists, so you set the threshold yourself and write it in the register header. The documented cases give you something to reason from: coverage of node-ipc cites a 21-month gap, and Depi describes a maintainer dormant for 1,476 days. Also count identities that hold rights but have never published, since the account used on node-ipc had no prior publish history on that package.

Does trusted publishing make maintainer account takeover irrelevant?

No. On npm, a configured trusted publisher is accepted in addition to tokens and manual publishes until the package sets disallow tokens, so a recovered account can still publish. axios 1.14.1 went out through a direct user session instead of GitHub Actions. Trusted publishing also replaces the human in _npmUser with GitHub Actions, which hides who is actually dormant.

Does this sweep work for PyPI and crates.io as well as npm?

Only partly. RubyGems owners.json returns owner emails and crates.io exposes an owners endpoint, but crates.io's published_by field and PyPI's public owner-email and per-uploader fields were not verified for this guide. Confirm each with a live API call before relying on it. PyPI itself un-verifies emails when a domain enters the redemption period.

Should I open a public GitHub issue about a maintainer's lapsed domain?

Not as the first move. A public issue naming a purchasable domain tells every reader what to buy. Use the project's security policy or another private contact first, and keep public issues for dormant co-maintainer and single-owner concerns, which do not hand anyone a ready target. Registry response times for these reports are not publicly established, so set your own follow-up date.

How long does the dependency maintainer audit take to run?

No source publishes durations for these steps, so time your first run and record it in the register header. The one hard constraint is crates.io's data policy of at most one request per second, so the owners pull takes at least one second per crate. Monthly re-runs are diffs, so only new, changed, or resolved rows need a human.

Try it on the search you came here for

Stop building boolean strings. Just describe the person.

Type one sentence. I plan the search, read GitHub, public LinkedIn and Crunchbase records, and the open web as it is right now, and hand back a ranked list with the reason next to every name.

  1. 01Describe them

    One plain sentence. Role, city, stack, stage, whatever matters to you.

  2. 02I read the web live

    GitHub, public LinkedIn and Crunchbase records, the open web. Not a database that went stale last quarter.

  3. 03You read the shortlist

    Ranked, with the reasoning under every name. Open a profile, ask a follow-up, narrow it down.

  • No boolean, no filters, no seat to buy. One box.
  • Read at search time, so a profile updated yesterday counts today.
  • Every step visible as it runs, every name with its reason.

500 free credits on sign-up. No card, no demo call. See real searches.

Read next