Files
nuclei-templates/file/logs/nodejs-framework-exceptions.yaml
2024-12-23 10:13:59 +00:00

33 lines
1.0 KiB
YAML

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: 4a0a00473045022100e77cf475458033b20d9c799cfe4ba91e2cd708f1b4a1c1de82e0f9c7424096290220657a38f0f1e9216f02d2a52a2835c479ff63e727c3c9470a4e69398606f8d3df:922c64590222798bb761d5b6d8e72950