
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.
@google-cloud/phishing-protection
Advanced tools
Phishing Protection API client for Node.js
Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Table of contents:
npm install @google-cloud/phishing-protection
const {
PhishingProtectionServiceV1Beta1Client,
} = require('@google-cloud/phishing-protection');
const client = new PhishingProtectionServiceV1Beta1Client();
// the numeric project ID.
const formattedParent = client.projectPath(projectId);
const request = {
parent: formattedParent,
uri: uri, // the URI to report to Phishing API.
};
await client.reportPhishing(request);
console.info(`reported ${uri} to Phishing Protection API`);
Samples are in the samples/
directory. The samples' README.md
has instructions for running the samples.
Sample | Source Code | Try it |
---|---|---|
Quickstart | source code | ![]() |
The Phishing Protection Node.js Client API Reference documentation also contains samples.
This library follows Semantic Versioning.
This library is considered to be in beta. This means it is expected to be mostly stable while we work toward a general availability release; however, complete stability is not guaranteed. We will address issues and requests against beta libraries with a high priority.
More Information: Google Cloud Platform Launch Stages
Contributions welcome! See the Contributing Guide.
Apache Version 2.0
See LICENSE
FAQs
Phishing Protection API client for Node.js
The npm package @google-cloud/phishing-protection receives a total of 2 weekly downloads. As such, @google-cloud/phishing-protection popularity was classified as not popular.
We found that @google-cloud/phishing-protection demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
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.