The sqlite3 package (npm, github) is marked on GH as DEPRECATED and has not been updated for over 2 years
NPM reports an issue with a child dependency tar:
tar <=7.5.3
Severity: high
node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization - https://github.com/advisories/GHSA-8qq5-rm4j-mr97
Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS - https://github.com/advisories/GHSA-r6q2-hw4h-h46w
npm audit:
└─┬ node-red-node-sqlite@1.1.1
└─┬ sqlite3@5.1.7
├─┬ node-gyp@8.4.1
│ ├─┬ make-fetch-happen@9.1.0
│ │ └─┬ cacache@15.3.0
│ │ └── tar@6.2.1 deduped
│ └── tar@6.2.1 deduped
└── tar@6.2.1
It seems many packages are moving to better-sqlite3 (it has twice as many downloads as sqlite3 ands is updated frequently) - perhaps it is time to consider a move?