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.
Gmail API の検索結果を取得します。
You need get tokens, before embulk run
.
java -cp "/PATH/TO/GEM_DIR/classpath/*;/PATH/TO/embulk" org.embulk.input.gmail.GoogleCredentialCreator /PATH/TO/client_secret.json /PATH/TO/tokens
Setclient_secret.json
and tokens
path, to config.yaml
.(See Configuration and Example)
me
)in:
type: gmail
client_secret: ./client_secret_xxx.json
tokens_directory: ./tokens
query: "\"Google アラート\""
columns:
- {name: Subject, type: string}
- {name: From, type: string}
- {name: To, type: string}
- {name: Date, type: timestamp, format: "%a, %d %b %Y %H:%M:%S %Z"}
- {name: Body, type: string}
Sending query is "Google アラート"
.
-c
option.in:
type: gmail
client_secret: ./client_secret_xxx.json
tokens_directory: ./tokens
query: "\"Google アラート\""
after: 2018/10/31 # automatically update.
# after: 1540929600 # you can use unixtime.
columns:
- {name: Subject, type: string}
- {name: From, type: string}
- {name: To, type: string}
- {name: Date, type: timestamp, format: "%a, %d %b %Y %H:%M:%S %Z"}
- {name: Body, type: string}
Sending query is "Google アラート" before:CURRENT_TIME after:2018/10/31
.
Next time, CURRENT_TIME
to set in after
.
-c
option$ ./gradlew gem # -t to watch change of files and rebuild continuously
FAQs
Unknown package
We found that embulk-input-gmail 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.