You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No audit trail for compliance requirements (GDPR, SOC2, HIPAA)
Attacker can access vault repeatedly with zero evidence in logs
The most sensitive service in a self hosted stack produces
zero evidence of successful unauthorized access
Proposed Solution
In src/api/identity.rs, after successful authentication,
add a log entry:
log::info!("Successful vault login for user: {} from IP: {}",
user_email,
client_ip
);
Optionally configurable via an environment variable:
LOG_SUCCESSFUL_LOGINS=true/false
Additional Context
This gap was identified during a STRIDE threat model analysis
of a self hosted Vaultwarden deployment. The Repudiation threat
category specifically highlighted that the most sensitive service
in the infrastructure produces zero forensic evidence of
successful unauthorized access.
I would be happy to contribute a PR implementing this feature
after learning more about the Vaultwarden codebase.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Vaultwarden currently does not log successful personal vault login
events, creating a significant security audit gap.
Current Behavior
The following events ARE logged:
The following are NOT logged:
Security Impact
Without successful login logging:
zero evidence of successful unauthorized access
Proposed Solution
In
src/api/identity.rs, after successful authentication,add a log entry:
Optionally configurable via an environment variable:
Additional Context
This gap was identified during a STRIDE threat model analysis
of a self hosted Vaultwarden deployment. The Repudiation threat
category specifically highlighted that the most sensitive service
in the infrastructure produces zero forensic evidence of
successful unauthorized access.
I would be happy to contribute a PR implementing this feature
after learning more about the Vaultwarden codebase.
References
Beta Was this translation helpful? Give feedback.
All reactions