
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Easiest way to use the Discogs API in Javascript - now with Typescript support! :musical_note:
yarn add discojs
import {Discojs} from 'discojs'
const client = new Discojs({
userToken: process.env.USER_TOKEN,
})
client
.searchArtist('Jacob Desvarieux')
.then(data => doSomethingWith(data))
Documentation for discojs@2.x
is available on GitHub Pages;
Documentation for discojs@1.x
is available in the wiki.
As several methods need authentication, you'll need 2 environment variables: DGS_USERNAME and USER_TOKEN.
Create a .env
file at the root of the directory, and add the following lines:
DGS_USERNAME=0ctocat
USER_TOKEN=7h1515myu53r70k3n
:warning: Use a test account as public information will be edited.
As stated by Discogs API, some methods need a seller account. As I do not have one, I could not test them (which explains the coverage).
npm run test
When running tests, go grab a cup of coffee as this may be long because of Discogs API rate limiting.
Inspired by disconnect
from @bartve
FAQs
Easiest way to use the Discogs API in Javascript/Typescript
The npm package discojs receives a total of 13 weekly downloads. As such, discojs popularity was classified as not popular.
We found that discojs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.