
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
npm i mrivals
Note: This module can use many strategies to fetch data: fetch
, curl
and flaresolverr
fetch
should be ok, can use a flaresolverr
if availablefetch
(node v16+), switch to curl
if it failsflaresolverr
is recommended (the default docker image is ok)You can pass additional options:
Option | Type | Description | Default |
---|---|---|---|
useCurl | boolean | Whether to use curl instead of fetch | false |
flaresolverrUrl | string | The url of the flaresolverr instance | undefined |
await API.fetchUser(username, {
flaresolverrUrl: 'https://some.flaresolverr.domain:8191', // will use flaresolverr instance
useCurl: true, // will use curl instead of fetch (ommited when flaresolverrUrl is provided)
});
There is only one static function that takes an username.
// this returns an API instance with the data already fetched
await API.fetchUser(username); // user#tag
You must call API.fetchUser before using any other method.
Methods | Description |
---|---|
info | user and mmr info |
overview | overview stats |
heroes | heroes stats |
roles | roles stats |
peakRank | peak rank |
raw | return raw response |
Feel free to use my riot username for testing
const { API } = require('mrivals');
try {
const user = await API.fetchUser('ifraan');
console.log('User:', user.info());
console.log('Overview:', user.overview());
console.log('Heroes:', user.heroes());
console.log('Roles:', user.roles());
console.log('Peak MMR:', user.peakRank());
console.log('Raw:', user.raw());
} catch (e) {
console.log(e);
/* Error: We could not find the player [player]. */
}
This project is fully for educational purposes and if you want to use the marvel rivals api in a production/commertial enviroment you should ask or email the guys at TRNetwork.
FAQs
Wrapper/Scrapper for Marvel Rival stats.
The npm package mrivals receives a total of 59 weekly downloads. As such, mrivals popularity was classified as not popular.
We found that mrivals demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.