id: nodejs-framework-exceptions info: name: Node.js Framework Exceptions author: Aayush Dhakal severity: info description: Detects suspicious Node.js framework exceptions that could indicate exploitation attempts reference: - https://expressjs.com/en/guide/error-handling.html - https://nodejs.org/en/docs/guides tags: file,logs,nodejs file: - extensions: - all extractors: - type: regex name: exception part: body regex: - 'TypeError' - 'ReferenceError' - 'SyntaxError' - 'ValidationError' - 'UnauthorizedError' - 'ForbiddenError' - 'NotFoundError' - 'InternalServerError' - 'BadRequestError' - 'MongoError' - 'SequelizeDatabaseError' # digest: 4b0a00483046022100a4dc5ba7d05ebe341e45b58e9078c159dc07f8141025c40848217439b65043d4022100db12e0a6fc66c1fcf3af8cadde03fe0e83ef61bed3d6b1017eb21c85bef8a74a:922c64590222798bb761d5b6d8e72950