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-github-repo-event-notifier
Advanced tools
Notifies about any available GitHub repo event via webhook
Notifies about any available GitHub repo event via webhook.
See src/github-repo-event-notifier.coffee
for full documentation.
Add hubot-github-repo-event-notifier to your package.json
file:
"dependencies": {
"hubot": ">= 2.5.1",
"hubot-scripts": ">= 2.4.2",
"hubot-github-repo-event-notifier": ">= 0.0.0",
"hubot-hipchat": "~2.5.1-5",
}
Add hubot-github-repo-event-notifier to your external-scripts.json
:
["hubot-github-repo-event-notifier"]
Run npm install
When starting hubot you need to specify the events it will accept. This is done via the HUBOT_GITHUB_EVENT_NOTIFIER_TYPES
Ex:
HUBOT_GITHUB_EVENT_NOTIFIER_TYPES=pull_request,pull_request
If you want you can specific events in the event types.
Ex:
HUBOT_GITHUB_EVENT_NOTIFIER_TYPES=pull_request:comment,pull_request:close
Ideally, you'd write tests and put them in our test/
directory.
If you just want to mess around with some things, we've bundled a REPL for
you which has some fixture data and exposes the core functionality of the
processing of events. To boot up the reply, launch script/console
.
eventPayloads
. It
contains a key for each event type, e.g. pull_request
or page_build
.actions
. This object contains
a key for each event type, e.g. pull_request
or page_build
. It takes
the payload object and the callback function as its parameters, in that
order.v1.8.1
ReferenceError: robot is not defined
crash by reverting to 1.7.0 behavior
[GH-48]FAQs
Notifies about any available GitHub repo event via webhook
We found that hubot-github-repo-event-notifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.