The Abeta-dev/layout-engine maintainers provide security updates for the latest minor release line:
| Version | Supported |
|---|---|
0.1.x |
Yes |
< 0.1.0 |
No |
Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.
Report vulnerabilities privately through GitHub Private Vulnerability Reporting:
- Navigate to the repository's Security tab (
https://github.com/Abeta-dev/layout-engine/security/advisories). - Click "Report a vulnerability".
- Include as much actionable detail as possible:
- Affected component (
handler,engine,usecase,infra,studio,migrations, Docker/CI) and version/commit - Minimal reproduction steps or proof-of-concept
- Impact assessment (e.g., tenant isolation bypass, unauthorized publish/rollback, SQL injection, XSS in
/studio, auth bypass) - Suggested remediation, if known
- Affected component (
- Acknowledgment: Within 48 hours of receipt
- Triage & Assessment: Within 5 business days
- Remediation & Coordinated Disclosure: Prioritized by severity (CVSS) and published with a security advisory
- Strict Pre-Publish Validation: Draft layouts are validated against the 14 allowed
v1KMPSnippetTypes, URL-safe slugs, valid adaptive layout modes, and recursive container cycle checks before any snapshot can be published. - Tenant Isolation & Parameterized SQL: Every persistence query scopes resources by
tenant_idand binds parameters safely across both SQLite (modernc.org/sqlite) and PostgreSQL (pgx). - Transport & Middleware Hardening: Uses
github.com/abeta-dev/go-libs@v0.4.0(ginmw) for request IDs, panic recovery, structured logging, security headers, optional global rate limiting (RATE_LIMIT_ENABLED=true), and fail-closed JWT authentication (AUTH_REQUIRED=truerequires a non-emptyJWT_SECRET). - Non-Root Container Runtime: The official
Dockerfilecompiles a staticCGO_ENABLED=0Go binary and executes as non-root UID10001onalpine:3.21. - Supply-Chain & Secret Scanning:
.gitignoreblocks.env*, local databases, and key material. GitHub Actions CI enforces minimalpermissions:, brand/path hygiene checks (./scripts/check_brand_hygiene.sh), and SHA-256 verified open-sourcegitleaksCLI (v8.30.1) secret scanning on every push and pull request.