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
{{ message }}
Repository navigation
security(deno/auth): local key derived from the app root path, not a secret #53
What: the local encryption password is SHA-256 of the app root path. A path is not a secret, so anything that knows the install location can derive the key, and the envelope has no authentication.
Severity: high
Direction: derive the key from a real per-installation secret (a random key in the OS keychain, or a 0600 key file), or encrypt to the generated public key. Authenticate the envelope with an AEAD or a signature. Never treat path-derived values as secrets.
Activity