Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
hubot-google-images
Advanced tools
A hubot script that interacts with the Google Custom Search API for greater productivity and lulz.
See src/google-images.coffee
for full documentation.
In hubot project repo, run:
npm install hubot-google-images --save
Then add hubot-google-images to your external-scripts.json
:
[
"hubot-google-images"
]
Google no longer offers an unregistered image search API. You must set up a
Google Custom Search API and set
the environment variables HUBOT_GOOGLE_CSE_ID
and HUBOT_GOOGLE_CSE_KEY
.
The Custom Search API provides up to 100 search queries per day for free. If you need more than that you'll have to pay.
To enable the mustache me
feature, set the environment variable HUBOT_MUSTACHIFY_URL
to your mustachify server url. More info and the source code of mustachify can be
found at https://github.com/afeld/mustachio
image me
and animate me
If you want to have your bot respond to any chat that begins with image me
or
animate me
, you can add HUBOT_GOOGLE_IMAGES_HEAR
to a non-empty value to
have the robot listen to all chat.
user1>> hubot image me bananas
hubot>> http://upload.wikimedia.org/wikipedia/commons/4/4c/Bananas.jpg
user2>> hubot animate me it's happening
hubot>> http://i.kinja-img.com/gawker-media/image/upload/s--8U6TKXoi--/thfydh8egnt8he5esoz8.gif
user3>> hubot mustache me family portrait
hubot>> http://mustachify.me/1?src=http://www.daviddanielsphotography.com/wp-content/uploads/2013/03/Chowen-Family-Portraits-east-of-Park-City-13.jpg
FAQs
A hubot script that interacts with the Google Images API.
The npm package hubot-google-images receives a total of 20,657 weekly downloads. As such, hubot-google-images popularity was classified as popular.
We found that hubot-google-images demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.