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'
|
2026-01-14 21:46:23 +00:00
|
|
|
# digest: 4b0a00483046022100a4dc5ba7d05ebe341e45b58e9078c159dc07f8141025c40848217439b65043d4022100db12e0a6fc66c1fcf3af8cadde03fe0e83ef61bed3d6b1017eb21c85bef8a74a:922c64590222798bb761d5b6d8e72950
|