
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
jquery.button-audio-player
Advanced tools
[GitHub](https://github.com/nullpon16tera/jquery.button-audio-player)
$ npm install jquery.button-audio-player
<link rel="stylesheet" href="./path/to/jquery.button-audio-player.css">
<script src="./path/to/jquery.js"></script><!-- jQuery fileを読み込んでください。CDNなどからご利用するのをおすすめします。 -->
<script src="./path/to/jquery.button-audio-player.js"></script>
上記CSSとJSファイルを設置したら、以下のコードを記述します。
cdnjs
<div id="bapRender"></div>
<!--
ID名は好きに記述してください。
好きな場所にDIVタグなどで配置してください。
配置したタグのID名などで呼び出すようにしてください。
-->
<script>
(function($) {
$('{ID or Class Name}').buttonAudioPlayer({
type: 'default',
src: 'path/to/example.mp3'
});
})(jQuery);
</script>
@import '~jquery.button-audio-player/dist/jquery.button-audio-player.css';
import $ from 'jquery';
window.jQuery = $;
import 'jquery.button-audio-player';
var bap = new buttonAudioPlayer({
el: '#bapRender', // {ID or Class Name}
type: 'default',
src: 'path/to/mp3 file or file url'
});
Key | Default | Description |
---|---|---|
type | default | (String) 設定は以下の通り。default、bar-animation |
src | - | (String) MP3 ファイルまでのPATHまたは、URLを記述 |
FAQs
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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.