Skip to content

[DRAFT] Add NPM publish canary token support#914

Draft
pirate wants to merge 2 commits intothinkst:masterfrom
pirate:pirate/npm-publish-canary
Draft

[DRAFT] Add NPM publish canary token support#914
pirate wants to merge 2 commits intothinkst:masterfrom
pirate:pirate/npm-publish-canary

Conversation

@pirate
Copy link
Copy Markdown

@pirate pirate commented Mar 26, 2026

Summary

  • add a minimal provider-backed npm publish canary token type
  • let users download a matching canary workspace zip for npm publish flows
  • poll the npm registry for the expected package version and alert/revoke on publish

Key Changes

  • canarytokens/models/npm_publish.py
  • canarytokens/npmtokens.py
  • canarytokens/models/common.py
  • canarytokens/models/init.py
  • canarytokens/canarydrop.py
  • canarytokens/queries.py
  • canarytokens/settings.py
  • frontend/app.py

Would love help testing this / making sure it works in all cases.

@pirate pirate changed the title Add npm publish canary token support [DRAFT] Add NPM publish canary token support Mar 26, 2026
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to change these still, just placeholders for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant