
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@drubin/verdaccio-gitlab
Advanced tools
private npm registry (Verdaccio) using gitlab-ce as authentication and authorization provider
Use GitLab Community Edition as authentication provider for the private npm registry verdaccio, the sinopia fork.
The main goal and difference to other sinopia/verdaccio plugins is:
This is experimental!
git clone https://github.com/bufferoverflow/verdaccio-gitlab.git
cd verdaccio-gitlab
npm install
npm start
verdaccio is now up and running, now configure the following within
your ~/.config/verdaccio/config.yaml
to use this plugin
auth:
gitlab:
url: https://gitlab.com
packages:
'@*/*':
# scoped packages
access: $all
publish: $authenticated
proxy: npmjs
gitlab: true
'**':
access: $all
publish: $authenticated
proxy: npmjs
gitlab: true
restart verdaccio and authenticate with your credentials:
on the web ui http://localhost:4873 or via npm
npm login --registry http://localhost:4873
and publish packages
npm publish --registry http://localhost:4873
NOTE: you need a fresh login, so that verdaccio recognizes your owned groups
git clone https://github.com/bufferoverflow/verdaccio-gitlab.git
cd verdaccio-gitlab
docker-compose up --build -d
root
and password verdaccio
on Gitlab via http://localhost:50080Setup development environment, npm start
will do:
cd node_modules/verdaccio
npm link ../../
cd ../../
Run one of the following command to create a release:
npm run release:major
npm run release:minor
npm run release:patch
finally run
npm publish
FAQs
private npm registry (Verdaccio) using gitlab-ce as authentication and authorization provider
We found that @drubin/verdaccio-gitlab demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.