
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@comment-labs/assert-env
Advanced tools
Type-safe environment variable validation.
pnpm add @comment-labs/assert-env
import { assertEnv } from '@comment-labs/assert-env'
const env = assertEnv(
{
ACCOUNT_ID: 'string',
PORT: 'number'
},
{
optional: {
DEBUG: 'boolean'
},
envFile: true
}
)
env.ACCOUNT_ID
env.PORT
env.DEBUG
Set envFile: true to load .env into process.env before validation, or pass
a path such as envFile: '.env.development' to load a specific file. Omit the
option to leave dotenv loading to the caller.
stringnumberbooleanstring values must not be empty or whitespace-only.number values are trimmed before parsing and support floats and negative numbers.boolean values accept true, false, 1, 0, yes, and no, case-insensitively.FAQs
Type-safe environment variable validation
The npm package @comment-labs/assert-env receives a total of 0 weekly downloads. As such, @comment-labs/assert-env popularity was classified as not popular.
We found that @comment-labs/assert-env demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.