
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Client interface for accessing Riffsy API.
Install via npm
npm install riffsy --save
Create a client object to connect to Riffsy API endpoints.
var riffsy = require('riffsy');
var client = new riffsy(RIFFSY_API_KEY);
// Now you are ready to make API calls to Riffsy.
Provide parameters and a standard node callback function.
API calls follow this syntax:
client.action(queryString, callback);
queryString
- API method parameters as key-value pairs.client.search(
{
tag: 'lol cats'
},
function(err, data) {
if (!err) {
console.log(data);
}
}
);
client.tags(
{
type: 'featured,explore'
},
function(err, data) {
if (!err) {
console.log(data);
}
}
);
client.trending(
{
type: 'audiovideo'
},
function(err, data) {
if (!err) {
console.log(data);
}
}
);
client.riffs(function(err, data) {
if (!err) {
console.log(data);
}
});
search
Get GIFs for a given tag or search terms.
tags
Get a list of popular or promoted tags and categories.
trending
Get trending, popular, and promoted GIFs and Videos.
music
Get popular video clips ("Riffs")
riffs
Same as music
FAQs
Wrapper for Riffsy API
We found that riffsy 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.