Spring Boot Actuator is a production-ready features framework. In development, the /actuator endpoint is enabled with all sub-endpoints exposed for debugging. The configuration is not locked down before production deployment.
Exposed endpoints include: /actuator/env (all environment variables, including secrets), /actuator/heapdump (full JVM heap dump — contains everything in memory), /actuator/beans (all Spring beans and configuration), /actuator/mappings (all URL route mappings).
/admin, /actuator, /actuator/health, /debug, /console, /metrics, /.env, /swagger-ui. Finds /actuator returns HTTP 200./actuator/envSPRING_DATASOURCE_PASSWORD: prod-db-pass-2024, AWS_SECRET_ACCESS_KEY: AKIA..., STRIPE_SECRET_KEY: sk_live_.... All production secrets exposed in plain JSON./actuator/heapdumpThe JVM heap dump is particularly dangerous because it contains the decrypted form of everything in memory. Even if secrets are stored encrypted in environment variables, they are decrypted when used — and those decrypted values live in the heap. The heapdump is essentially a snapshot of everything the application currently knows.