npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@naylence/advanced-security

v0.4.7

Published

Advanced security utilities for the Naylence Fame runtime implemented in TypeScript.

Readme

Join our Discord

Naylence Advanced Security (TypeScript)

Naylence Advanced Security is a high-assurance extension for the Naylence Agentic Fabric that delivers advanced cryptographic and policy-driven protections for multi-agent systems. It mirrors the capabilities of the Python reference implementation while integrating seamlessly with the Naylence TypeScript runtime.

At its core, Naylence already provides a zero-trust, message-oriented backbone for federated agents. This package extends that foundation with sealed overlay encryption, SPIFFE/X.509 workload identities, secure sticky sessions, and secure load balancing that keep systems resilient in complex, federated, and regulated deployments.


Key Features

  • Overlay end-to-end encryption (E2EE) & sealed channels
    Adds a cryptographic layer on top of transport (TLS). Messages remain encrypted and authenticated across multiple hops, even if intermediate sentinels or networks are compromised.

  • Envelope signing & identity assurance
    Uses X.509/SPIFFE-style identities (SVIDs) so every envelope is verifiable to its origin—enabling tamper-resistant audit trails and fine-grained policy enforcement.

  • Secure sticky sessions & load balancing
    Cryptographically binds long-running conversations to the initiating security context, enabling identity-aware load balancing without sacrificing end-to-end protections.

  • Durable cross-domain trust
    Enables secure federation across orgs or clouds, where policies—not perimeter assumptions— determine who can talk to whom.


Security Profiles

The @naylence/runtime package bundles the following profiles:

  • open – minimal controls suitable for local/dev.
  • gated – OAuth2/JWT-gated admission (authn/authz at the edge).
  • overlay – message signing for provenance and tamper-evidence.

This Advanced Security package enables and implements:

  • strict-overlay – maximum assurance profile combining:
    • SPIFFE/X.509 workload identities (SVIDs)
    • sealed overlay encryption (true end-to-end, multi-hop confidentiality)
    • identity-aware, secure load balancing and secure sticky sessions

Install Naylence Advanced Security alongside the runtime to unlock strict-overlay and the capabilities above.


Why Advanced Security?

Agent orchestration introduces unique risks:

  • Messages often cross multiple hops and administrative domains.
  • Long-running jobs and sticky sessions can span hours or days.
  • Agents may be mobile, ephemeral, or untrusted in their deployment context.

Advanced Security ensures that security travels with the message, not the perimeter—making zero-trust the default posture.


Use Cases

  • Federated AI agent systems — secure orchestration across departments or partner orgs.
  • Cross-cloud workflows — durable, encrypted communication across cloud providers and trust boundaries.
  • Regulated environments — fine-grained, auditable controls for healthcare, finance, or defense.
  • Multi-tenant platforms — strong tenant isolation and policy-based routing in agent platforms.

Getting Started

npm install @naylence/advanced-security

After installation, register the factories before bootstrapping your application:

import { registerRuntimeFactories } from '@naylence/runtime';
import { registerAdvancedSecurityFactories } from '@naylence/advanced-security';

registerRuntimeFactories();
registerAdvancedSecurityFactories();

// proceed to create channels/connectors as usual

For browser usage, build the browser bundle (npm run build:browser) or consume the prebuilt file from dist/browser/index.js.


Links

  • TypeScript Advanced Security (this repo): https://github.com/naylence/naylence-advanced-security-ts
  • Python reference implementation: https://github.com/naylence/naylence-advanced-security-python
  • Runtime (TypeScript): https://github.com/naylence/naylence-runtime-ts
  • Runtime (Python): https://github.com/naylence/naylence-runtime-python
  • Agent SDKs & Examples: https://github.com/naylence

License

This package is distributed under the Apache-2.0 license. See LICENSE for full terms.