
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
randalthor-r6statsapi
Advanced tools
R6 = require("randalthor-r6statsapi");
client = new R6.client("<Auth-Key>");
async function getPlayerStats() {
//gets usernames's stats on PC of type Generic
const stats = await client.getStats("username", R6.constants.R6_PLATFORM_PC, R6.constants.R6_TYPE_GENERIC);
/* YOUR CODE HERE */
}
async function getLeaderboard() {
//Gets first page of PC leaderboard for all regions
const leaderBoardPage = await client.getLeaderboard(R6.constants.R6_PLATFORM_PC, R6.constants.R6_REGION_ALL, 1);
/* YOUR CODE HERE */
}
getPlayerStats();
getLeaderboard();
module.exports = {
API: "https://api2.r6stats.com/public-api/",
STATS: "stats/",
LEADERBOARD: "leaderboard/",
R6_TYPE_GENERIC: "generic",
R6_TYPE_SEASONAL: "seasonal",
R6_TYPE_OPERATORS: "operators",
R6_TYPE_WEAPONS: "weapons",
R6_TYPE_WEAPON_CATAGORIES: "weapon-catagories",
R6_PLATFORM_PC: "pc",
R6_PLATFORM_XBOX: "xbox",
R6_PLATFORM_PLAYSTATION: "ps4",
R6_REGION_ALL: "all",
R6_REGION_NCSA: "ncsa",
R6_REGION_EMEA: "emea",
R6_REGION_APAC: "apac",
};
//Accessed Via
client.constants.(ex. R6_PLATFORM_XBOX)
$ npm install randalthor-r6statsapi
FAQs
R6Stats Node Wrapper
We found that randalthor-r6statsapi 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 RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.