
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
graphql-client
(github/graphql-client) を AWS AppSync の IAM 認証に対応させるための gem です。
Add this line to your application's Gemfile:
gem 'graphql-client-aws'
And then execute:
$ bundle
Or install it yourself as:
$ gem install graphql-client-aws
オリジナルのサンプルを以下のように書き換えて使用します。
new
の URL 以外の引数は Aws::Sigv4::Signer の new
に渡されます。
require "graphql/client"
- require "graphql/client/http"
+ require "graphql/client/aws"
# Star Wars API example wrapper
module SWAPI
# Configure GraphQL endpoint using the basic HTTP network adapter.
- HTTP = GraphQL::Client::HTTP.new("https://example.com/graphql") do
+ HTTP = GraphQL::Client::Aws.new("https://example.com/graphql", region: 'us-east-1') do
def headers(context)
# Optionally set any HTTP headers
{ "User-Agent": "My Client" }
end
end
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that graphql-client-aws 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.