Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Companion gem to Audiomatic app, provides drop in integration to audio processing services. It provides method which simplyfly sending request to audiomatic.
Add this line to your application's Gemfile:
gem 'Audiomatic'
And then execute:
$ bundle
Or install it yourself as:
$ gem install Audiomatic
For heroku users, configuration is really easy.Just install Audiomatic (url) plugin and paste code below to config/initializer/audiomatic_config.rb
:
Audiomatic.config do |c|
c.processor_host = ENV['AUDIOMATIC_URL']
c.audiomatic_secret = ENV['AUDIOMATIC_SHARED_SECRET']
end
otherwise you should provide your unique URL and NeutrinoAudiomatic secret:
Audiomatic.config do |c|
c.processor_host = "https://login:password@audiomatic.radiokitapp.org/api/
process"
c.audiomatic_secret = ENV['AUDIOMATIC_SHARED_SECRET']
end
Audiomatic_gem provides method to communicate with Audiomatic which simplifies formation request body and senting it. Those methods calls like processors which audiomatic provides. To use it, you need url to file which you want to analyze and endpoint which gets audiomatic answer. Example:
file_url = "http://mysite.com/path/to/file.mp3"
callback_url = "http://mysite.com/callbacks/file.mp3"
Audiomatic::Processor.replaygain(file_url, callback_url: callback_url)
This method return information about success or error during sending your request to Audiomatic server.
avalible method:
Processing your data can take a while, a speciality a large files. Thats why Audiomatic works asynchronously - your results will arive in seperate request. You have to provide your onw endpoint to get the Audiomatic answer.
Audimatic sends answer in json
Processors | Results | Format |
---|---|---|
duration | duration | Integer [ms] |
tags | all-tags-you-set | String |
replaygain | replaygain-track-peak | fload [dB] |
replaygain-track-gain | fload [dB] | |
replaygain-reference-level | fload [dB] |
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that neutrino_audiomatic 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.