DEV Community

Discussion on: Securely Automating npm publish with the New npm Automation Tokens

Collapse
 
mithasalman profile image
Salman

Someone pls suggest how secure this is? A malicious dependency could steal envs from process.env. Any way to avoid that?

Collapse
 
appsparkler profile image
Akash

I guess you can create your own private-repository and point to it with encoded access-token.

The encoded token can be decoded and publish to NPM from your private-repository.