-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Attempting to run update-db on a fresh npm install with latest LTS Node version results in TypeErrors due to failing to import fs-extra. Solution was to change from import * as fs from 'fs-extra';
to import fs from 'fs-extra';
as advised in their documentation.
After resolving the import issue, it then failed to insert records from the exploitdb CSV file, as this project is trying to use date
, which is an invalid field. Options are date_published
, date_added
, and date_updated
. Resolving this resulted in a successful deployment.
As a side note, the tools lack detailed descriptions which leads to many of the current major LLMs being incapable of inferring context. For example, asking Gemini 2.0 Flash to retrieve information about WordPress Core exploits is successful, however, it then does not understand what to do when asked "Show me the exploit code for the directory traversal entry," for example. I feel this is due to the extremely short comments.