aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-10-22 22:39:13 -0500
committerGitHub <noreply@github.com>2026-10-22 22:39:13 -0500
commit6be4f40d3079089ec91d48b05400a1b92b8ca899 (patch)
treeb022b5290a792a6bfea928315f06c359e86e8b5a /src/slskd/Program.cs
parent4b84358f9ee5074873b4f0cc1030c97b10154e46 (diff)
parent757c21eb1eb9c88ad46b789561f5dc5a6c7488eb (diff)
downloadslskd-6be4f40d3079089ec91d48b05400a1b92b8ca899.tar.gz
Merge pull request #1905 from slskd/dumps
Require explicit opt-in for run-time application memory dumps, adjust access level of several core API endpoints
Diffstat (limited to 'src/slskd/Program.cs')
-rw-r--r--src/slskd/Program.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index e236886b..cdfbbf33 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -509,6 +509,11 @@ namespace slskd
Log.Information("Using application directory {AppDirectory}", AppDirectory);
Log.Information("Using configuration file {ConfigurationFile}", ConfigurationFile);
+ if (OptionsAtStartup.Flags.Dumpable)
+ {
+ Log.Warning("Application memory dumps are ENABLED; this can expose sensitive information, including environment variables from the shell. Disable Flags.Dumpable to disable.");
+ }
+
if (OptionsAtStartup.Flags.NoConfigWatch)
{
Log.Warning("Configuration watch DISABLED; all configuration changes will require a restart to take effect");