Skip to content

[Feature idea] [Package managers]: Detect publish and allow access to ~/.npmrc automatically #3

@berstend

Description

@berstend

Currently we block all access ~/.npmrc for security reasons (explained in the main readme).

It could be convenient to automatically allow access to that file when publishing related package manager commands are invoked.

To make that as secure as possible we could parse the package.json and make sure there's no lifecycle events present (prepublish, etc) that could run scripts that might steal the npm credentials.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions