Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
This this is a client library for the Onename API. See their docs for details HTTP API spec.
Important: the Onename API is still in closed beta, so this is all subject to change!
First:
npm install --save onename
var client = require('onename')({
appID: 'YOUR_APP_ID',
appSecret: 'YOUR_APP_SECRET'
});
client.profiles('smurthas', function(err, resp, body) {
// err, resp, and body are just like those from the request npm module
console.log(body);
});
profiles(openname, callback)
: Returns the profile data of the user with a given openname username.
openname
: the Openname of the user to look up the profile forcallback(err, resp, body)
: callback functionverifications(openname, callback)
: Takes in an openname username and returns the verifications for that user's profile (as well as the profile data itself).
openname
: the Openname of the user to look up the profile forcallback(err, resp, body)
: callback functionsearch(query, callback)
: Takes in a search query and returns a list of results that match the search. The query is matched against openname usernames, full names, and twitter handles.
query
: the string to search forcallback(err, resp, body)
: callback functionFAQs
Client library for onename.co
We found that onename 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.