
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@firebase-me/firetext
Advanced tools
vAlpha 0.1 PLEASE TEST AND GIVE FEEDBACK
FIRETEXT is a Firestore based Index table for text based queries and is an experimental concept
This is the Client module that triggers with onUpdate()
This module depends the Cloud Functions package, please look at https://www.npmjs.com/package/@firebase-me/firetext-functions
Simply import or require the module as prefered.
import FireText from 'firetext';
const FireText = require('firetext');
All Methods are built on Firebase Firestore with the textIndex
Collection.
Once imported, you will need to initiate the index table, which will process the string queries locally.
await FireText.initiate(appName, preferCache);
or
await FireText.initiate(null, false);
or
await FireText.initiate("OtherApp", true);
To find string's that match your request, simply follow this model.
FireText.find("Collection/Path", "Field.Path", "Text to Query");
We also export a hard reset option from Cloud Functions which rebuilds your index should something break, this requires a validation on the server side to ensure only authorised users can access this method.
This would be defined in your Cloud Functions Exports, please refer to the Firebase documentation on how to access a https.onCall
method.
Notes
firestore.collection()
will takeLimitations
Firebase Developers
Firebase Me Program
FAQs
Firebase Firestore Text Search
The npm package @firebase-me/firetext receives a total of 10 weekly downloads. As such, @firebase-me/firetext popularity was classified as not popular.
We found that @firebase-me/firetext demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.