Cortex CloudApplication Security
Missing '.npmrc' file in Bitbucket repository
Rule Details
Cortex AppSec Rule ID
APPSEC_CICD_279
Category
Dependency Chains
Severity
MEDIUM
Impact
The .npmrc file is a configuration file used by npm, the Node Package Manager, to manage settings and options related to package installation and publishing. Failing to store the .npmrc file in the repository can make the project vulnerable during pipelines to both dependency confusion, by allowing an internal package to be fetched from the public registry, as well as insecure use of credentials.
PreviousUnencrypted channel used by '.npmrc' file of a GitLab repository to download dependencies from regis
NextSecret exposed in proxy URL within '.npmrc' file of a Bitbucket repository
Last updated
Was this helpful?
