r/javascript • • 21d ago

Diary Dev - Staxis is coming!

https://staxis.dev

Staxis is coming. The first preview of the website is live. Staxis is a modular toolkit for Node.js. Start with the free Core, assemble your stack with Layers Packs, or build your own layers.

We’re getting the first pages of the official documentation ready as we work toward the Kickstarter campaign and the 1.0 release. If you’d like to help us get there, you can already support or sponsor the project.
ㅤ

- - - -

ㅤ
1 dec 2026 - POST UPDATE:

Hello averybody. Staxis website got a lot of improvements in the last days, start to the sposnsorship page, arcoss the onboding page by gitlab project, to the huge documentation. Versioning teach everybody that works is endless but, take a look.

We make the new reddit community (r/Staxis) for any question feel free yourself to ask anything there! ;)

0 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/theGlitchedSide 11d ago edited 10d ago

Hello to you!

Let me explain...

Core reads the configured stack, checks, firm, freeze, loads packs in the declared order. Each pack provides a manifest describing its identity, runtime role, dependencies and access permissions, plus configurations, lifecycle methods.

Library packs expose shared helpers. Managed layers occupy named runtime slots and publish API bundles that other layers request through the Core’s Vault. Integrity and access checks follow the selected security profile.

All packages are monitored by the Core Guardian, which checks to prevent any corruption during execution, and are subject to strict read and write restrictions and must remain within their boundaries.

All packs inherit the core equipments (an object with different functionality like advanced audits, nodejs data, etc... you can read all here: https://staxis.dev/docs/extendthestack.equipments.html )

All packs can be installed in one shot by a .roll profile for the installation program into the manager script (you can make your roll file).

Beyond a conventional Node package, so, a Staxis pack provides an explicit integration contract and different level of bundaries: how it enters the application, what it exposes, who can access it, and how it attaches or deactivates. It can also include files and configuration that the Manager installs and exports together.

npm, still handles external dependencies (And you should use that to extend node, not your directly your application). Staxis packs organize and govern the application components built around them.

You can think of packs as layers of your software loaded into Staxis (infact that is the name "layers packs"). You build your application, and its scripts will be organized into packs that you can manage with precision.


The wiki is big, but to help you in short:

To undestand rapidly something: https://staxis.dev/whatisstaxis.html

Get something about the packs: https://staxis.dev/docs/howitworks.html look the image: https://staxis.dev/resources/docs/img.nodeandstaxis.png And https://staxis.dev/docs/extendthestack.introduction.html

1

u/theGlitchedSide 10d ago

Your question it become a part of the documentation:

https://staxis.dev/docs/npm-or-staxis.html

Thank you.

1

u/maruyamae701 5d ago

Are pack boundaries enforced at the Node process level or by Core's own checks? That seems key to the isolation model.

•

u/theGlitchedSide 9h ago

Please text on official community, you are welcome: r/Staxis

Anyway:

In the first version, pack boundaries are enforced by the Core through integrity checks, access rules, and authorization. These are enforced controls: violations detected during startup prevent the application from starting.

Staxis is an "orchestrator": it governs its packs and enforces their integrity, access, and interaction rules. It does not control Node.js processes. Process management belongs to the runtime, while restrictions on process capabilities also involve the execution environment and operating system. Similarly, if we want be clear, installing a package through npm does not automatically give it an execution sandbox.

Additional process-level isolation for packs is already noted as an idea, but it still needs careful evaluation for future versions.

+++

I’d like to point out that Staxis and npm are not in conflict; rather, Node manages itself, while Staxis orchestrates your app and scripts, leaving npm to handle its own tasks. They are complementary.

1

u/kimberly-34 1d ago

The threat model matters here too: are the boundaries meant to prevent accidental cross-layer access, or to contain a malicious pack? Those imply different isolation guarantees.

•

u/theGlitchedSide 9h ago

Please text on official community, you are welcome: r/Staxis

Anyway:

Both, but...

The distinction matters, because the two scenarios involve different guarantees. Staxis governs access, permissions, and interactions between its packs, with checks starting at application startup: if it detects changes to files covered by integrity checks or imports forbidden by Guardian’s rules, it blocks startup. Access to protected layer APIs also goes through the Core’s authorization checks.

These rules prevent accidental access and also counter intentional behavior that violates the boundaries being checked. Their scope is Staxis’s application model: the Node.js process and the capabilities it exposes to code belong to the runtime and host environment.

Guardian’s documentation explicitly states this boundary:

“Guardian's source checks and explicit runtime gates depend on reviewed code following supported patterns. They do not intercept every operation available to code in the Node.js process.”

That is why we certify official packs and plan to offer a paid verification service for community packs: beyond checking how a pack interacts with Staxis, its internal behavior also needs to be reviewed. Certification complements the orchestrator’s checks and addresses precisely that aspect.