
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.
@internetarchive/audio-element
Advanced tools
A LitElement wrapper for the HTML <audio>
element.
yarn add @internetarchive/audio-element
// audio-element.js
import AudioELement from '@internetarchive/audio-element';
export default AudioElement;
<!-- index.html -->
<script type="module">
import './audio-element.js';
</script>
<audio-element></audio-element>
<script>
const audioElement = document.querySelector('audio-element');
// set volume
audioElement.volume = 0.75;
// set playback rate
audioElement.playbackRate = 0.75;
// set audio sources
audioElement.sources = [
{url: "./spring.ogg", mimetype: "audio/ogg"}
{url: "./spring.mp3", mimetype: "audio/mpeg"}
]
// listen for time changes; this updates many times per second as your media plays back
audioElement.addEventListener('timeupdate', e => {
console.log('Current time has changed, new value:', e.detail.currentTime);
});
// listen for track duration changes like on load
audioElement.addEventListener('durationchange', e => {
console.log('Track duration has changed, new value:', e.detail.duration);
});
// start playing
audioElement.play();
// pause playing
audioElement.pause();
// seek to 10s
audioElement.seekTo(10);
// seek by 10s
audioElement.seekBy(10);
</script>
yarn install
yarn start // start development server and typescript compiler
yarn test
yarn test:bs
yarn storybook
yarn lint
FAQs
An Audio Element that wraps the HTML audio tag.
The npm package @internetarchive/audio-element receives a total of 5 weekly downloads. As such, @internetarchive/audio-element popularity was classified as not popular.
We found that @internetarchive/audio-element demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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.