
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@google-cloud-suite/firebase-functions-sendgrid-contact
Advanced tools
@google-cloud-suite/firebase-functions-sendgrid-contact
Send email by sendgrid
npm install @google-cloud-suite/firebase-functions-sendgrid-contact
You can use handle(params?: InitParams)
to initialize trigger. The followings are the property of InitParams:
reply
is not set, reply message is not sent.Examples:
const sendgridContact = require("@google-cloud-suite/firebase-functions-sendgrid-contact");
exports.createContact = sendgridContact.handle({
apiKey: "sgapikey",
emailFrom: "no-reply@example.org",
emailTo: "you@example.org",
defaultSubject: "Message from customer",
reply: { defaultSubject: "Thank you for your contact!" }
});
import { getFunctions, httpsCallable } from "firebase/functions";
const functions = getFunctions();
const createContact = httpsCallable(functions, "createContact");
contact body = "Hello, I have a question.";
createContact({ body })
.then((result) => {
alert("success");
});
// If you want to reply thanks email to your customer
createContact({ body, replyBody: "You sent: " + body, replyTo: "customer@example.org"})
.then((result) => {
alert("success");
});
firebase deploy
FAQs
@google-cloud-suite/firebase-functions-sendgrid-contact
The npm package @google-cloud-suite/firebase-functions-sendgrid-contact receives a total of 1 weekly downloads. As such, @google-cloud-suite/firebase-functions-sendgrid-contact popularity was classified as not popular.
We found that @google-cloud-suite/firebase-functions-sendgrid-contact demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.