
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
alert-sound-notify
Advanced tools
JavaScript library to play sound alerts
playAlert = require('alert-sound-notify')
playAlert() // Plays default alert "bottle"
playAlert('purr')
playAlert.volume(0.5)
See content.js
for all available sounds.
Try it at
$ npm install alert-sound-notify
playAlert.content['foo'] = ['https://bar.com/foo.mp3', 'https://bar.com/foo.ogg']
playAlert('foo')
If your application isn't structured as a CommonJS package, you can download the distribution file;
$ wget https://raw.github.com/rajvantchahal/alert-sound-notify/master/dist/alert-sound-notify.js
And include it on your page:
<script src="alert-sound-notify.js"></script>
<script>
playAlert('purr')
</script>
playAlert.player.src()
// => foobar.mp3
playAlert.player.on('ended', function(){})
FAQs
Play Sound Alerts
We found that alert-sound-notify 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
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.