
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.
embulk-input-big-query-async
Advanced tools
This is Embulk input plugin from Bigquery.
install it yourself as:
$ embulk gem install embulk-input-big-query-async
in:
type: bigquery-async
project: 'project-name'
keyfile: '/home/hogehoge/bigquery-keyfile.json'
sql: 'SELECT price,category_id FROM [ecsite.products] GROUP BY category_id'
columns:
- {name: price, type: long}
- {name: category_id, type: string}
max: 2000
synchronous_method: true
out:
type: stdout
If, table name is changeable, then
in:
type: bibigquery-asyncquery
project: 'project-name'
keyfile: '/home/hogehoge/bigquery-keyfile.json'
sql_erb: 'SELECT price,category_id FROM [ecsite.products_<%= params["date"].strftime("%Y%m") %>] GROUP BY category_id'
erb_params:
date: "require 'date'; (Date.today - 1)"
columns:
- {name: price, type: long}
- {name: category_id, type: long}
- {name: month, type: timestamp, format: '%Y-%m', eval: 'require "time"; Time.parse(params["date"]).to_i'}
This plugin uses the gem google-cloud(Google Cloud Client Library for Ruby)
and queries data using the synchronous method or the asynchronous method.
Therefore some optional configuration items comply with the Google Cloud Client Library.
The detail of follows params is here.
Big query library in Google Cloud Client Library has two methods for query.
The default method in this plugin is synchronous_method. The logic which how select query method is here.
query
method in the Google Cloud Client Library.query
method is limited. Therefore, if you get many records, you should use query_job
method with asynchronous_method option.query_job
method in the Google Cloud Client Library.FAQs
Unknown package
We found that embulk-input-big-query-async 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.