2024-10-27 22:51:17 +05:45
|
|
|
id: nodejs-framework-exceptions
|
|
|
|
|
|
2025-05-27 10:39:47 +08:00
|
|
|
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
|
|
|
|
|
|
2024-10-27 22:51:17 +05:45
|
|
|
file:
|
|
|
|
|
- extensions:
|
|
|
|
|
- all
|
|
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
|
- type: regex
|
|
|
|
|
name: exception
|
|
|
|
|
part: body
|
|
|
|
|
regex:
|
|
|
|
|
- 'TypeError'
|
|
|
|
|
- 'ReferenceError'
|
|
|
|
|
- 'SyntaxError'
|
|
|
|
|
- 'ValidationError'
|
|
|
|
|
- 'UnauthorizedError'
|
|
|
|
|
- 'ForbiddenError'
|
|
|
|
|
- 'NotFoundError'
|
|
|
|
|
- 'InternalServerError'
|
|
|
|
|
- 'BadRequestError'
|
2024-11-04 00:43:20 +05:30
|
|
|
- 'MongoError'
|
2024-11-03 19:49:41 +00:00
|
|
|
- 'SequelizeDatabaseError'
|
2025-06-12 12:10:06 +00:00
|
|
|
# digest: 4b0a00483046022100d2c6e4a033566d812fb10117158caf961cee39c03c57d80fcf1e3785491cd735022100e17f8d10dfe4f11a098ee0ce0b64efcdfdc8921299155375421f9b07922855f1:922c64590222798bb761d5b6d8e72950
|