Back to Home
wenzhuo4657 icon

NotifierBot

by wenzhuo4657

Overview

This microservice provides dynamic real-time notifications to third-party platforms (e.g., Telegram Bot, Gmail) based on remote text, notification type, and verification parameters.

Installation

Run Command
docker run -p 8089:8089 -e HOST1="your_redis_host" -e tgBot="your_telegram_bot_token" -e GMAIL_PASSWORD="your_gmail_app_password" notifierBot:1.0-SNAPSHOT

Environment Variables

  • HOST1
  • tgBot
  • GMAIL_PASSWORD

Security Notes

The `/api/v1/notifier/register` endpoint accepts sensitive configuration (e.g., bot tokens, email passwords) via JSON payload. The provided code lacks explicit HTTPS enforcement and application-level authentication/authorization for this critical endpoint. The CORS policy is highly permissive (`allowedOrigins("*")`). These factors make the service unsafe to expose to the public internet without additional security measures. Justified use of Redis `EVALSHA` for Lua scripts (rate limiting) is observed.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens50
Stars0
Forks0
Last Update2025-12-09

Tags

MicroserviceNotificationSpring BootCacheAPI Gateway