sealed-env@0.1.0-alpha.1

Encrypted .env files with optional TOTP unsealing for production deploys. Cross-stack with the Java port. One minimal CLI dependency.

  • latest version

    0.2.2

  • latest non vulnerable version

  • first published

    3 months ago

  • latest version published

    3 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the sealed-env package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    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
    VulnerabilityVulnerable Version
    • C
    Insufficiently Protected Credentials

    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 sealed-env to version 0.1.0-alpha.5 or higher.

    <0.1.0-alpha.5