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.
Ruby interface for working with SendGrid's Web (HTTP) API. Read more at http://docs.sendgrid.com/documentation/api/web-api/.
Add this line to your application's Gemfile:
gem 'sendgrid_web'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sendgrid_web
Something like the following would be nice.
SendgridWeb.configure do |config|
config.api_user = 'sendgrid-user'
config.api_key = 'sendgrid-secret'
end
response = SendgridWeb.unsubscribes(:get, :xml) do |request|
request.option :timeout => 30
request.option :open_timeout => 30
request.header 'HTTP-HEADER' => 'value'
request.with_date # special to enforce api rule of required value of 1
request.param 'start_date' => 2012-07-31
request.param 'email' => 'me@test.com'
end
if response.success?
# do stuff...
else
# do other stuff...
end
not implemented yet!!
$ sendgrid_web get unsubscribes --with-date --days 30 --start_date 2012-07-01 --end_date 2012-07-31 --limit 20 --offset 0 --email 'blah@test.com'
$ sendgrid_web delete unsubscribes.xml --email 'blah@test.com'
$ sendgrid_web delete unsubscribes.json --after 2012-07-01 --before 2012-07-31
$ sendgrid_web get bounces --with-date --days-ago 30 # default is json
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that sendgrid_web 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.