
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
mee6-levels-api
Advanced tools
An unofficial wrapper around the Mee6 levels API to fetch the leaderboard, role rewards and user xp data.
An unofficial API wrapper for the Mee6 levels plugin.
While this package works (at the time of writing this), it is neither developed nor officially supported by the Mee6 team. The API route used here is undocumented and is subject to change at any point of time.
Please do not ask for support for this package at the Mee6 Support server. Instead, you may message me directly at rjt#2336 or open an issue here for any concerns related to this package.
Install from npm as follows:
npm install mee6-levels-api
const Mee6LevelsApi = require("mee6-levels-api");
const guildId = "159962941502783488"; // or a Guild object with the id property
const userId = "258258856189231104"; // or a User object with the id property
Mee6LevelsApi.getLeaderboardPage(guildId).then(leaderboard => {
// do something with leaderboard
console.log(`${leaderboard.length} members ranked on the leaderboard.`);
});
Mee6LevelsApi.getRoleRewards(guildId).then(rewards => {
// do something with rewards
for (const reward of rewards)
console.log(`${reward.role.name} - Given at level ${reward.level}`);
});
Mee6LevelsApi.getUserXp(guildId, userId).then(user => {
// do something with user info
console.log(`${user.tag} is at level ${user.level} and rank ${user.rank}.`);
});
Open the leaderboard settings in the MEE6 dashboard and enable the option: Make my server's leaderboard public
. It is not possible to fetch data from the dashboard if this option is not enabled and the error 'Response code 401' will be returned.
FAQs
An unofficial wrapper around the Mee6 levels API to fetch the leaderboard, role rewards and user xp data.
The npm package mee6-levels-api receives a total of 32 weekly downloads. As such, mee6-levels-api popularity was classified as not popular.
We found that mee6-levels-api 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.