Access and secrets
Real keys, passwords and environment secrets remain outside source control. Access is limited to the work required, and environment credentials are separated.
Security and delivery
Xencra treats security as part of product architecture and delivery, not as a final-stage add-on. Controls are adapted to the system's risk, data, integrations and production responsibility.
Last reviewed 5 August 2026
Core standards
These principles form Xencra's normal delivery framework. The exact control level depends on system criticality and the responsibility agreed for the project.
Real keys, passwords and environment secrets remain outside source control. Access is limited to the work required, and environment credentials are separated.
Development and validation happen in staging. Production code is promoted through version control from main; application files are not edited manually in production.
Before release, the branch, commit, clean worktree, change scope and source integrity are verified. Each production change must remain traceable.
Type checks, builds, content checks and risk-appropriate functional tests run before production. A failed gate stops the release.
Public input is validated server-side. Attachments are checked by type and size, requests are limited, and sensitive records stay outside the public web root.
Third-party permissions and keys are constrained. External availability is not treated as guaranteed, and critical failure paths are defined according to system needs.
Delivery lifecycle
Discovery
Identify users, data, permissions, external dependencies, critical flows and production responsibility.
Architecture
Define environments, roles, integrations, secret handling, logging and the need for recovery or backups.
Implementation
Build features in an isolated environment with validation, permissions, failure paths and operational needs included.
Release
Promote an approved commit. After the build, verify the server, primary routes, metadata and agreed critical flows.
Handover
Transfer the agreed source, configuration description, access, operating guidance and known operational boundaries.
Applied to Xencra's own system
Xencra's website source and release process provide a concrete example of these standards in practice.
Development uses a staging branch and separate worktree. Production uses main with its own build and runtime.
Environment secrets and email keys stay in restricted server configuration. Only placeholder examples belong in the repository.
Server-side validation, origin and host checks, honeypot, timing limits, MIME validation, rate limits and random identifiers.
Deployment takes the approved main branch, installs locked dependencies, runs Astro checks and build, validates Nginx and performs a live smoke test.
Responsibility boundaries
Security is continuous risk management. Project-specific controls, service levels and responsibility are defined in the agreed scope.
Project security framework
Share the current system, data, integrations, access model and intended production responsibility. Xencra will help define a practical control level.