
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
github.com/actions-on-google/dialogflow-gdg-nodejs
:warning: Warning: Conversational Actions will be deprecated on June 13, 2023. For more information, see Conversational Actions Sunset.
This sample demonstrates Actions on Google features for use on Google Assistant including localization (i18n-node), conversation design, rich responses, and API integrations (Cloud Translation API and Meetup API) -- using the Node.js client library and deployed on Cloud Functions for Firebase. Generally, this Action provides information about Google Developer Groups.
The i18n-node library helps provide responses in several languages, which are contained in the functions/locales
directory. Also, Cloud Translation API translates data from Meetup API when the user's language does not match the GDG's primary language.
:warning: This code sample was built using Dialogflow. We now recommend using Actions Builder or the Actions SDK to develop, test, and deploy Conversational Actions.
Attention: GDG Organizers This sample can be published on the Google Assistant platform (instructions below).
Required for running this sample
Cloud Translation API as well as Meetup API use will both require billing enabled in the Cloud Platform Console. For more info on Cloud Translation API, you can visit Pricing Infomation. This sample uses Firebase Cloud Functions to make an HTTP request to a non-Google service(Meetup API), which will require an upgrade to a Firebase plan that allows for outbound networking, such as the Blaze Plan, also called Pay as you go.
npm install -g firebase-tools@6.5.0
firebase login
with your Google accountagent.zip
in this sample's directory.functions/config.js
file:
projectId
: Your Project IDgdgId
: unique identifier for the GDG on Meetup (ex: google-developer-group-san-francisco
for https://www.meetup.com/google-developer-group-san-francisco/
)gdgName
: short name for the GDG (ex: GDG San Francisco
)appLocal
: language code from https://developers.google.com/assistant/console/languages-locales (ex: en
, pt
, ja
, es
, tr
)functions
directory, run npm install
firebase deploy --project {PROJECT_ID}
to deploy the function
Function URL (dialogflowFirebaseFulfillment): https://${REGION}-${PROJECT_ID}.cloudfunctions.net/dialogflowFirebaseFulfillment
Talk to my test app
.Please read and follow the steps in the CONTRIBUTING.md. We are looking to translate this Action into all available languages.
See LICENSE.
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.
FAQs
Unknown package
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.