
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@langchain/google-gauth
Advanced tools
Google auth based authentication support for Google services
This package contains resources to access Google AI/ML models and other Google services. Authorization to these services use either an API Key or service account credentials that are either stored on the local file system or are provided through the Google Cloud Platform environment it is running on.
If you are running this on a platform where the credentials cannot be provided this way, consider using the @langchain/google-webauth package instead. You do not need to use both packages. See the section on Authorization below.
$ yarn add @langchain/google-gauth
Authorization is either done through the use of an API Key, if it is supported for the service you're using, or a Google Cloud Service Account.
To handle service accounts, this package uses the google-auth-library
package, and you may wish to consult the documentation for that library
about how it does so. But in short, classes in this package will use
credentials from the first of the following that apply:
apiKey
attributeauthInfo
attributeAPI_KEY
GOOGLE_APPLICATION_CREDENTIALS
environment
variable.gcloud auth application-default login
, then the
default credentials.FAQs
Google auth based authentication support for Google services
The npm package @langchain/google-gauth receives a total of 204,405 weekly downloads. As such, @langchain/google-gauth popularity was classified as popular.
We found that @langchain/google-gauth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.