Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/actions-on-google/dialogflow-number-genie-java
: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 how to steer conversation in a numeric guessing game through the use of localization (French and English), deep links, fallbacks, contexts, alongside rich responses -- using the Java client library and deployed on App Engine.
This Action uses the i18n-node library to provide
responses in both French and English, which are listed in the locales
directory.
In each function execution, the strings.js
setLocale()
function is called to
set the i18n-node locale based on the user locale in the incoming request. Prompts are then
selected by i18n-node from the available languages, defaulting to en
if the
user's language is unavailable.
: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.
gcloud auth application-default login
with your Gooogle accountgcloud components install app-engine-java
gcloud components update
agent.zip
file in this repo.gcloud init
gradle appengineDeploy
ORReturn to the Dialogflow Console, from the left navigation menu under Fulfillment > Enable Webhook, set the value of URL to https://${YOUR_PROJECT_ID}.appspot.com
> Save.
Talk to my test app
.Please read and follow the steps in the CONTRIBUTING.md.
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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.