Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@nyssa-ai/configuration

Latest version: v0.10.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: jmaynor
0 Stars
0 Forks
7 Versions
1.6K Downloads
C# Repo language

Scan summary

@nyssa-ai/configuration was last scanned on 29 Nov 2026 at version 0.10.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 2 were published on 29 Nov 2026.
  • Findings: No rules fired in version 0.10.1.
  • Downloads: 1,598 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.1 LATEST 29 Nov 2026 No rules fired
0.10.0 29 Nov 2026 No rules fired
0.8.0 12 Nov 2026 No rules fired
0.4.0 2 Nov 2026 Not shown
0.3.3 2 Nov 2026 Not shown

No rules fired in 0.10.1

Findings

Findings for v0.10.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.10.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@nyssa-ai/configuration

@nyssa-ai/configuration provides secure, cross-process locked, AES-256-GCM encrypted configuration and secret storage for TypeScript and Node.js applications and CLI tools, with on-disk format and cryptographic parity with NyssaAI.Configuration (.NET).

Features

  • Unified Configuration API (IConfiguration): Read and write plain settings, locally encrypted secrets ("aesLocal"), OAuth 2.0 PKCE credentials ("oauth"), and external cloud vault pointers through a consistent Result<T> contract without exception-driven control flow.
  • Cross-Platform Parity with .NET: Shares the ~/.nyssa-ai/config-manifest.json layout, <namespace>.json envelope structure, cross-process .lock coordination, and FormatVersion 2 AES-256-GCM ciphertext authenticated with (namespace, key) AAD.
  • Address-Bound Local Encryption: Encrypts secrets locally with AES-256-GCM using a 256-bit master key managed via IKeyring (KeyringSystemdCreds, KeyringProtectedFile, KeyringOsPlatform, or InMemoryKeyring).
  • Typed DTO & Namespace Operations: Save and read typed objects under a single key (setAs / getAs), replace an entire namespace from a DTO (setNamespace / getNamespace), or merge partial updates while preserving existing providers (mergeSettings).
  • Interactive OAuth 2.0 + PKCE & Silent Refresh: Acquire OAuth tokens via authorize, store encrypted credentials on disk, automatically refresh expiring tokens under cross-process namespace locks, and replay pending rotated grants after interrupted writes.
  • External Vault Adaptation & Guarded Recovery: Plug in cloud secret managers (IVaultProviderFactory / IVaultProvider), migrate entries between providers with move, and resume interrupted multi-step writes with portable ConfigurationWriteRecoveryHandle tokens (recoverWrite).

Installation

npm install @nyssa-ai/configuration

Quick Start

import { ConfigurationClient } from "@nyssa-ai/configuration";

// Initialize the client (provisions manifest and protected config directory on first run)
const clientRes = await ConfigurationClient.initialize({
  applicationName: "OrdersService"
});

if (!clientRes.ok) {
  throw new Error(`Startup failed: ${clientRes.error}`);
}

const config = clientRes.value;

// 1. Store and read a plaintext setting
await config.set("mail", "host", "smtp.example.com");
const hostRes = await config.get("mail", "host");
// hostRes.ok === true -> hostRes.value === "smtp.example.com"

// 2. Store an AES-256-GCM locally encrypted secret
await config.set("mail", "password", "SuperSecretP@ss!", {
  encrypted: true,
  provider: "aesLocal"
});

// Subsequent updates preserve the recorded provider ("aesLocal") automatically
await config.set("mail", "password", "RotatedSecretP@ss!");

const passRes = await config.get("mail", "password");
// passRes.ok === true -> passRes.value === "RotatedSecretP@ss!"

Working with Typed Settings & Namespaces

Whole Namespace as a Typed DTO

Decompose top-level properties into individual keys within <namespace>.json, allowing different properties in the same DTO to use different storage providers:

interface SmtpSettings {
  host: string;
  port: number;
  enableSsl: boolean;
}

// Replace namespace contents
await config.setNamespace<SmtpSettings>("smtp", {
  host: "smtp.example.com",
  port: 587,
  enableSsl: true
});

// Partial update (preserves omitted keys and existing encryption providers)
await config.mergeSettings("smtp", {
  port: 465
});

// Assemble the complete DTO across all entries in the namespace
const smtpRes = await config.getNamespace<SmtpSettings>("smtp");
if (smtpRes.ok) {
  console.log(smtpRes.value.host, smtpRes.value.port);
}
Single Key as a Typed DTO

Store and protect an entire object under a single key:

await config.setAs("mail", "server", {
  host: "smtp.example.com",
  port: 587
});

const serverRes = await config.getAs<{ host: string; port: number }>("mail", "server");

Provider Migration (move)

To change where an existing entry is stored (for example, migrating a plaintext value to "aesLocal" or an external vault, or back to "Default"), use move:

// Encrypt an existing plaintext setting in place
const moveRes = await config.move("db", "connectionString", "aesLocal");
if (moveRes.ok) {
  console.log("Source copy retained?", moveRes.value.sourceValueRemains);
}

Configuration & Defaults

ConfigurationClient.initialize(options?) accepts ConfigurationOptions:

Option Default Description
applicationName Inferred from package.json name or "NyssaApp" Identifies the application section in the manifest and the keyring service name.
configManifest ~/.nyssa-ai/config-manifest.json Path to the configuration manifest JSON file.
configDirectory <cwd>/.nyssa-ai/config Default configuration directory recorded in the manifest on first use.
lockTimeoutMs 10000 (10s) Cross-process document lock acquisition timeout in milliseconds.
keyring Auto-detected (KeyringSystemdCreds -> KeyringProtectedFile -> KeyringOsPlatform) Master key custody strategy (KeyringSystemdCreds, KeyringProtectedFile, KeyringOsPlatform, or InMemoryKeyring).
systemdCredentialName undefined (resolves <service>.key, <account>.key, nyssa-key, master-key, or single file) Optional credential filename in CREDENTIALS_DIRECTORY when using KeyringSystemdCreds.
keyVault undefined Optional programmatic vault configuration (layered with keyVaults and root keyVaults in config-manifest.json by name).
keyVaults undefined Optional additional programmatic vault configurations (readonly VaultOptions[]), layered by name with root keyVaults in config-manifest.json.
vaultFactories [] Registered IVaultProviderFactory implementations matched by keyVault.kind.

Configuration operations emit through the process-wide @nyssa-ai/logging logger. Configure it once with configureNyssaLogging from @nyssa-ai/logging; ConfigurationClient.initialize has no logger injection option.

Subpath Imports

The package exports ConfigurationClient at the root entrypoint and exposes all public contracts and adapters via subpath imports:

import { ConfigurationClient } from "@nyssa-ai/configuration";
import { InMemoryKeyring } from "@nyssa-ai/configuration/keyring/InMemoryKeyring";
import { KeyringOsPlatform } from "@nyssa-ai/configuration/keyring/KeyringOsPlatform";
import { KeyringSystemdCreds } from "@nyssa-ai/configuration/keyring/KeyringSystemdCreds";
import { ConfigurationWriteRecoveryHandle } from "@nyssa-ai/configuration/recovery/ConfigurationWriteRecoveryHandle";
import type { IConfiguration } from "@nyssa-ai/configuration/IConfiguration";
import type { Result } from "@nyssa-ai/result";

Licensing

Licensed under the Apache License, Version 2.0.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @nyssa-ai/configuration

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229