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.
github.com/damianFC/alexa-rubykit
This gem implements a quick back-end service for deploying applications for Amazon's Echo (Alexa).
For a sample application video tutorial, check
Samples are provided by the alexa_rubyengine project: https://github.com/damianFC/alexa_rubyengine
Add this line to your application's Gemfile:
gem 'alexa_rubykit'
And then execute:
$ bundle
Or install it yourself as:
$ gem install alexa_rubykit
This Gem provides methods to create and handle request and response objects to be used in your container of choice.
Sample usage:
require 'alexa_rubykit'
response = AlexaRubykit::Response.new
response.add_speech('Ruby is running ready!')
response.build_response
Will generate a valid outputspeech response in JSON format:
{
"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "Ruby is running ready!"
},
"shouldEndSession": true
}
}
There are two sources of troubleshooting information: the Amazon Echo app/website and the EBS logs that you can get from the management console.
Run the tests using
bundle exec rake
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)All development is done in the "dev" branch before being merged to master. Applications can use the developer environment by adding the following line to their Gemfile:
gem 'alexa_rubykit', :git => 'https://github.com/damianFC/alexa-rubykit.git', :branch => 'dev'
To use the stable/master branch, rename 'dev' to 'master' or remove :branch all together.
FAQs
Unknown package
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.