You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one package has alerts but others do not, should all the publishes fail (atomic) or only those with alerts?
Should there be the ability to override the alert blocking publishing, say if a critical fix needs to go out? Is there a need to suppress specific alerts?
Can always comment out this check in the publish script/package JSON.
I suggest implementing atomic failure for simplicity and security integrity. This approach can be revisited later if it turns out to be too restrictive.
Introducing an override flag (for example --force) for critical fixes seems practical, better to be logged for transparency
Would be happy to work on this issue @cedoor. Please let me know if there's any additional context or guidelines I should follow.
Describe the improvement you're thinking about
Modify https://github.com/semaphore-protocol/semaphore/blob/main/scripts/publish.ts or add
prepublish
script(s) to fail ifnpm audit
(yarn npm audit
) returns security vulnerabilities that are >= High..Many of these issues are likely not relevant (only apply to servers, only specific components, etc.), but it would:
It would NOT:
Describe alternatives you've considered
Questions
Additional context
#920 (comment)
The text was updated successfully, but these errors were encountered: