Skip to content

Inconsistent imports and incorrect field retrieval #2

Description

@disassembledd

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions