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.
In this module, the Dominos API is used to create features in Javascript, such as getMenu (for any store) and ordering (W.I.P. AS OF 18/02/2019). This module is for the UK-only; I HIGHLY recommend this module for people in the USA (NPM link). This project is licensed under the MIT license.
These instructions will get you started with the module and so you can obtain yourself a copy, for development and testing on your local machine.
You will need to install Node-JS and my package by using the following line below;
Open your terminal and run the following line, assuming you have Node-JS and NPM installed.
npm install ukdomino
You can test this system by creating a file (e.g. bot.js) and including the following data;
const ukdomino = require("ukdomino")
const postcode = "WC1V6PB"
ukdomino.getLocalStore(postcode).then(localStore => console.log(localStore))
If it prints some JSON, you've done this correctly.
If you go to the test folder, you can find some examples of code you can use to test. These files are available for use without public credit, unlike the index.js file (licensed).
-> node-fetch, used to fetch JSON data. https://www.npmjs.com/package/node-fetch
-> fs, used to write file systems. https://nodejs.org/api/fs.html
-> path, joining paths etc. https://www.npmjs.com/package/path
-> util, sync with fs. https://www.npmjs.com/package/util
Apologies for anything I have forgot; I can add on request.
Please refer to CONTRIBUTING.md if you would like to make a pull request etc. (W.I.P.)
See also the list of contributors who are/have participating/participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.
-> See the wiki here.
FAQs
ukdomino module js
We found that ukdomino 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.