
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
profiles.js
Advanced tools
RESTful Node.js API Wrapper to interact with the WebProfiles API
To start, you will need to install the package. To do that, simply run npm i profiles.js. In your code, add the following:
const Profiles = require("profiles.js");
const profiles = new Profiles({
api_key: "your-user-key-here",
});
To fetch your user token, run the following in the browser console:
const value = `; ${document.cookie}`;
const parts = value.split(`; pass=`);
if (parts.length === 2) parts.pop().split(";").shift();
Now you can use any of the functions below!
profiles.stats().then((result) => console.log(result));
profiles.fetchUser(id, type).then((result) => console.log(result));
id is the user id/username, type is the type of id provided (id or username).
profiles.search(query).then((result) => console.log(result));
query is the text to search for.
profiles.validateToken(token).then((result) => console.log(result));
token is the token to validate.
profiles.editBio(bio).then((result) => console.log(result));
bio is the new bio to set.
FAQs
RESTful Node.js API Wrapper to interact with the WebProfiles API
We found that profiles.js 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.