
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
ac-firebase-utils
Advanced tools
Firebase Helper Functions ✨
Introduces useful helper functions to facilitate your Firebase Firestore operations.
Documenting is in progress
npm install ac-firebase-utils
or
yarn add ac-firebase-utils
Make sure you have defined the required environment variables for Firebase initialization.
Import initFirebase
function and add it to the top of your application:
import { initFirebase } from 'ac-firebase-utils';
initFirebase();
Now you are ready to use other helper functions.
// Fetches the collection data by using the specified collection table,
// array of where conditions, sorting, limit information.
import { fetchCollectionDataAllWhereMultiple } from 'ac-firebase-utils';
// Fetch the active users list
const users = await fetchCollectionDataAllWhereMultiple({
table: 'users',
whereArray: [
{ field: 'isActive', condition: '==', value: true },
],
sortingField: 'id',
limit: 6,
// startAfter: {Firebase last document ref snapshot object for pagination},
});
// print
console.log(users);
// output:
// {
// data: [
// // object of users
// ],
// lastDoc: {} // Firebase Document Snapshot to use for `startAfter` param for pagination. More info: https://firebase.google.com/docs/firestore/query-data/query-cursors
// }
MIT © Abdullah Ceylan
FAQs
Helper functions for Firebase operations
We found that ac-firebase-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.