STAXIS

staxis js platform -> gitlab project
staxis on gitlab gitlab project 🏷️ V-0.X-Beta
We’re actively updating this manual. Content and layout may change as we refine it.

Security Profiles

Staxis combines integrity checks, manifest permissions, managed bundles, Guardian policies, and audit output. These controls govern the application within a shared Node.js process. The host, Core files, configuration, manifests, and key material remain part of the trusted environment.

Select a Profile

The Core reads the file .security inside the configured Core directory. With the default layout, create system-core/.security and set one level. An absent or unreadable file selects max-security. A readable file with an invalid level invokes the crash handler.

                level=max-security
            
ProfileHMAC configuredStartup Guardian
low-securityDisabledDisabled
strict-securityEnabledReports violations
max-securityEnabledInvokes the crash handler on violations

low-security also forces fastload. The aliases loose, strict, and paranoid map to low-security, strict-security, and max-security respectively. Use the full names in new configuration.

Development and Production

Profile selection and development behaviour are separate. In development, enabled HMAC records are normally regenerated at startup. With fastload enabled and a non-empty engineopt.watching array, the Core skips HMAC verification, including under strict-security or max-security. See HMAC Integrity for the baseline workflow.

The Core recognizes production through NODE_ENV=production or the configured engineopt.prodVar and prodVal values. In production, the development HMAC bypass and automatic startup regeneration do not apply. Prepare the reviewed files and matching integrity records before starting the application.

Keep engineopt.ebehavor set to exit when a blocking check must terminate the process. Guardian's blocking profile invokes the configured crash handler. Changing that handler's behaviour to stop or disabling it changes the outcome of a reported violation.

Operating Scope

Review packs before adding them. They execute JavaScript in the same process and can hold references to objects and APIs. Vault permissions and Guardian checks depend on the configured rules and supported execution paths. They complement filesystem permissions, deployment controls, and application review.

Unless you deliberately disable HMAC or enable its development bypass, managed layer requests also verify integrity using the key returned by the Vault. Choosing the reduced path changes that verification: an invalid-token result can then be followed by returning an available layer. Use this mode for trusted development code and keep explicit error checks in callers. See access under reduced security.

The following pages describe integrity verification, Vault access, Guardian, and audit output in the current implementation.