Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
monupco-dotcloud-nodejs
Advanced tools
monupco.com registration agent for dotCloud / node.js applications
Registration agent for monupco.com, preconfigured for dotCloud / Node.js applications.
It compiles a list of installed packages and sends it to monupco.com.
Create an account at http://monupco.com
Create your Node.js application and push it to dotCloud
Configure your Monupco userID. You can get it from https://monupco-otb.rhcloud.com/profiles/mine/
dotcloud var set <app name> MONUPCO_USER_ID=UserID
Generate a unique identifier for this application and save the value as environmental variable.
dotcloud var set <app name> MONUPCO_UUID=`uuidgen`
Add a dependency in your application's package.json file
...
"dependencies": {
...
"monupco-dotcloud-nodejs": ""
},
...
Execute the registration script in your postinstall hook. Note:
If you are using an "approot" your postinstall
script should be in the
directory pointed by the “approot” directive of your dotcloud.yml
.
For more information about postinstall
turn to
dotCloud documentation.
If a file named postinstall
doesn't already exist, create it and add the following:
#!/bin/sh
`npm bin`/monupco-dotcloud
Make postinstall
executable
chmod a+x postinstall
Commit your changes (if using git):
git add .
git commit -m "enable monupco registration"
Push your application
dotcloud push <app name>
If everything goes well you should see something like:
19:55:10 [www.0] Running postinstall script...
19:55:13 [www.0] response:200
19:55:13 [www.0] Monupco: Success, registered/updated application with id 10
Note: While testing the registration code we found out that the Node.js application in dotCloud may not be accessible via http immediately. During that time registration to Monupco may fail! If this happens your application will register the next time you push to dotCloud!
FAQs
monupco.com registration agent for dotCloud / node.js applications
We found that monupco-dotcloud-nodejs 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.