
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
easy-firebase-db
Advanced tools
A thin wrapper around the firebase npm module. Provides easy firebase authentication via environment variables, and exports basic database operations like GET, PUT, DEL. These are not firebase-specific, enabling applications that use db-api to easily switch databases. Also includes an interactive cli that provides a BASH-like interface for directly calling database operations.
npm install --production
If you wish to develop with a slow or absent Internet connection, you can use firebase-server, a mocked Firebase server that is run on your computer.
Simply do the following:
127.0.0.1 localhost.firebaseio.test
to your hosts file.On OS X and Linux, the hosts file is located at /etc/hosts
. On Windows, it is located at %SystemRoot%\System32\drivers\etc\hosts
.
mockFirebase
environment variable to true.You can do this by adding mockFirebase=true
to your leanonme-engine .env
file or by running the command export mockFirebase=true
.
node repl.js <REL_PATH_TO_DOT_ENV_FILE>
DB> PUT meaning/of/life 42
DB> GET meaning/of/life
DB> PUSH list/of/numbers 42
DB> MOVE meaning/of/life monty/python
DB> DEL monty/python
Note that no spaces are allowed in the path or the data.
BAD:
DB> PUT knights/who {say: "ni"}
Copy data
DB> GET path/in/db | PUT new/path/in/db
Load object from the module.exports line of a js file, into the database.
DB> REQUIRE data.js | UPDATE path/in/db
npm install
npm test
Look at existing tests, and check out MochaJS and ArgueJS
node_modules/mocha/bin/mocha --reporter markdown > API.md
FAQs
Firebase Database Api and CLI
The npm package easy-firebase-db receives a total of 3 weekly downloads. As such, easy-firebase-db popularity was classified as not popular.
We found that easy-firebase-db 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.