Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
firebase-bolt
Advanced tools
Bolt is an experimental security and rules compiler for Firebase. It is currently in beta. The language definition is converging, yet not yet finalized. We welcome experimentation, but ask that you hand-verify the resulting JSON output before using with production applications.
Otherwise, we'd love to have feedback from early adopters. You can email questions to firebase-talk@googlegroups.com using "Bolt" in the subject line, or post bugs on our Issue Tracker.
You can easily install the bolt compiler using npm:
$ npm install --global firebase-bolt
Execute the Bolt compiler from the command line (it reads a Bolt file from standard input and writes a JSON rules file to standard output):
$ firebase-bolt < rules.bolt > rules.json
You can then upload the resulting rules.json file via the firebase command line:
$ firebase deploy
The firebase command line tool version 2 will also compile your Bolt file directly if you have firebase-bolt installed and you use the .bolt file extension in the rules property of your firebase.json configuration file.
You should have node.js and npm installed to use this repository.
Setup command line environment and build and test.
$ source tools/use
$ configure-project
$ gulp
Check JavaScript source files for required formatting conventions:
$ gulp lint
Build Bolt parser from PEG grammar:
$ gulp build
Run command line tests:
$ gulp test
More extensive tests which include running against a sandboxed Firebase app:
$ run-tests
Run browser-based tests:
$ browser-tests
FAQs
Firebase Bolt Security and Modeling Language Compiler
The npm package firebase-bolt receives a total of 931 weekly downloads. As such, firebase-bolt popularity was classified as not popular.
We found that firebase-bolt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.