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.
A C version and ruby wrapper for the www.decc.gov.uk 2050 energy and climate change excel calculator
Further detail on the project: http://www.decc.gov.uk/2050
Canonical source: http://github.com/decc/decc_2050_model
This has ONLY been tested on OSX and on Ubuntu 64 bit EC2 ami. Grateful for reports from other platforms.
In the util folder there is an example script that creates a new EC2 EMI, installs all the dependencies and then compiles the gem. It may be useful if you are trying to figure out the complete set of dependencies.
Note that this compiles the underlying c code, which might take 10-20 minutes or so
gem install decc_2050_model
First of all, you need to be working on the github version of the code, not the rubygem:
git clone http://github.com/decc/decc_2050_model
Then put the new spreadsheet in spreadsheet/model.xlsx
Then, from the top directory of the gem:
bundle
bundle exec rake
The next step is to check whether Rakefile, lib/model/_model_result.rb and lib/model/model_structure.rb need to be altered so that they pick up the correct places in the underlying excel.
The final stage is to build and install the new gem:
gem build model.gemspec
gem install decc_2050_model-<version>.gem
... where is the version number of the gem file that was created in the folder.
Now follow the instructions in the twenty-fifty server directory in order to ensure that it is using this new version of the gem.
FAQs
Unknown package
We found that decc_2050_model demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.