| Version | Supported |
|---|---|
main (latest) |
Yes |
| Older branches/tags | Best effort |
Please report vulnerabilities responsibly.
- Do not open a public issue for a suspected vulnerability.
- Report privately to: [security contact email].
- Include:
- affected module(s):
search-service,cdc-service,autocomplete-service,frontend,common, or infra - vulnerability description
- reproducible steps / PoC
- impact assessment
- proposed remediation (optional)
- affected module(s):
- Acknowledgment: within 48 hours
- Initial triage: within 5 business days
- Fix timeline: severity-based
- Critical: as soon as possible
- High: within 7 days
- Medium: within 30 days
- Secrets must be provided through environment variables (
.env). - Never commit
.envor real credentials. - Use
.env.exampleas the only committed template. - Rotate
POSTGRES_PASSWORDwhen sharing environment access. - Redact connection details and credentials from logs before sharing.
- Compose publishes service ports on
127.0.0.1by default. - Services run in strict profile by default:
SPRING_PROFILES_ACTIVE=strict. - Strict mode fails startup when required connectivity vars are missing.
search-servicemanagement exposure is limited tohealth,infoby default.
- Do not bypass CDC path by writing directly from
search-serviceto Redis. - Debezium messages must be parsed from envelope (
payload.after). - Topic names and Redis prefixes must come from
commonconstants (KafkaTopics,RedisKeys). - Keep normalization (
trim + lowercase) consistent across write/index/query layers.
- Validate Debezium connector health before testing production-like flows.
- CI includes backend/frontend tests, Sonar analysis (optional when token configured), Docker builds, and optional Telegram notifications.
- Keep GitHub Actions pinned/action-reviewed and dependencies updated.
At minimum for secure local startup in strict mode:
| Variable | Description |
|---|---|
POSTGRES_USER |
PostgreSQL username |
POSTGRES_PASSWORD |
PostgreSQL password |
POSTGRES_DB |
PostgreSQL database |
SPRING_KAFKA_BOOTSTRAP_SERVERS |
Kafka bootstrap servers |
SPRING_DATA_REDIS_HOST |
Redis host |
SPRING_DATA_REDIS_PORT |
Redis port |
Additional Debezium/runtime variables are defined in .env.example.
- Keep Maven/npm dependencies updated to patched versions.
- Keep Docker base images updated (
postgres,redis/redis-stack,confluentinc/cp-kafka,debezium/connect,curlimages/curl). - Review CVEs before releases and after dependency bumps.
Useful checks during incident triage:
docker compose ps
curl "http://localhost:8083/connectors/postgres-connector/status"
docker compose logs --tail=200 debezium
docker compose logs --tail=200 cdc-service
docker compose exec redis redis-cli KEYS "autocomplete:*"- Please allow maintainers time to investigate and patch before public disclosure.
- Credit can be provided in release notes upon request.