
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
github.com/actions-on-google/dialogflow-gdg-nodejs
Advanced tools
: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.0firebase 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 installfirebase 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.