0.2.2
3 months ago
3 months ago
Known vulnerabilities in the sealed-env package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
sealed-env is an Encrypted .env files with optional TOTP unsealing for production deploys. Cross-stack with the Java port. One minimal CLI dependency. Affected versions of this package are vulnerable to Insufficiently Protected Credentials in the process of embedding the TOTP secret in the JWS payload of unseal tokens. An attacker can gain unauthorized access to sensitive authentication secrets by decoding the base64-encoded payload from any observed unseal token and extracting the TOTP secret in plaintext. This enables the attacker, if they also possess the master key, to mint new valid unseal tokens for future deployments indefinitely. How to fix Insufficiently Protected Credentials? Upgrade | <0.1.0-alpha.5 |