
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
spotify-web-playback
Advanced tools
Spotify Web Playback is a TypeScript-enabled API for using the Spotify Web Playback SDK.
The Spotify Web Playback SDK enables developers to stream and play Spotify tracks in any web browser that supports Encrypted Media Extensions (currently only FireFox, Google Chrome, and Microsoft Edge are supported).
Read the documentation here.
Install spotify-web-playback by running:
npm i -s spotify-web-playback
or
yarn add spotify-web-playback
Web browsers can use:
import Spotify from 'https://esm.sh/spotify-web-playback';
const token = '<SPOTIFY_TOKEN>';
const uri = 'spotify:track:54flyrjcdnQdco7300avMJ';
const spotify = new SpotifyPlayer();
await spotify.connect(token);
spotify.play(uri);
This library does not handle obtaining a Spotify token. You have to take care of that yourself.
You have two options:
An example of #2 is included. Please see demo.mjs and public/demo.mjs for more information.
Set CLIENT_ID
and CLIENT_SECRET
then run npm run demo
and open http://localhost:8989/
to view the demo.
Much of the inspiration for this API comes from Gil Barbara's react-spotify-web-playback.
Licensed under the MIT license. See LICENSE.md for more details.
FAQs
Spotify Web Playback API
The npm package spotify-web-playback receives a total of 0 weekly downloads. As such, spotify-web-playback popularity was classified as not popular.
We found that spotify-web-playback 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.