Scan your whole stack
Are you using @nyssa-ai/configuration?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.10.1
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
@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).
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.~/.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.IKeyring (KeyringSystemdCreds, KeyringProtectedFile, KeyringOsPlatform, or InMemoryKeyring).setAs / getAs), replace an entire namespace from a DTO (setNamespace / getNamespace), or merge partial updates while preserving existing providers (mergeSettings).authorize, store encrypted credentials on disk, automatically refresh expiring tokens under cross-process namespace locks, and replay pending rotated grants after interrupted writes.IVaultProviderFactory / IVaultProvider), migrate entries between providers with move, and resume interrupted multi-step writes with portable ConfigurationWriteRecoveryHandle tokens (recoverWrite).npm install @nyssa-ai/configuration
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!"
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);
}
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");
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);
}
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.
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";
Licensed under the Apache License, Version 2.0.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.