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

bconfjs

Latest version: v0.1.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: bwnn
3 Versions

Scan summary

bconfjs was last scanned on 30 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 30 Nov 2026 No rules fired
0.0.1 30 Nov 2026 No rules fired
0.0.0-stage 30 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

Findings for v0.1.0. 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.1.0; other versions have their own rules, not their own score.

README

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

bconfjs

A JavaScript implementation of the bconf configuration language.

Requires Node.js 22.18 or newer.

Usage

import bconf from "bconfjs";

const config = await bconf.load("./config.bconf");
API

The default export has three functions:

  • bconf.parse(source, opts?) parses source text into a document. It throws a LexError or ParseError on the first syntax error. opts.filename is attached to error locations.
  • bconf.evaluate(document, opts?) evaluates a parsed document and returns a plain JavaScript value. Each call starts from an empty scope.
  • bconf.load(specifier, opts?) reads a file through the file loader, then parses and evaluates it.

Named exports:

  • BconfError, LexError, ParseError, EvaluationError: error classes. Each error has a stable code from ErrorCode.
  • ErrorCode: every error code value, such as ErrorCode.EVAL_NO_FILE_LOADER.
  • formatDiagnostic(diagnostic, source?): renders a diagnostic with an optional source frame.
Options

evaluate and load accept these options:

  • env: environment values available to the env() modifier.
  • state: a mutable object shared with custom modifiers and directives.
  • filename: the path of the document being evaluated, used to resolve relative imports.
  • loadFile: the file loader (see below).
  • modifiers and directives: custom functions that extend or override the built-ins.
File loading

@import, @extends, and bconf.load read other files through a loader.

  • Omit loadFile to use the default loader for your environment. In Node.js it reads from disk, resolving relative specifiers against the importing file's directory. In browsers it fetches URLs, resolving against the importing file's URL.
  • Pass loadFile: null to disable file access. Any import then fails with EVAL_NO_FILE_LOADER, while the document's own variables and values still work.
  • Pass a function to use your own loader:
const config = await bconf.load("config.bconf", {
    loadFile: (specifier, from) => ({ id: specifier, source: lookUp(specifier) }),
});
Internal API

bconfjs/internal exposes the lexer, parser, evaluator, AST node factories, built-in modifiers and directives, and the default file loaders. Use it for custom tooling, such as editor integrations that need diagnostics and error recovery:

import { parse } from "bconfjs/internal";

const { document, diagnostics } = parse(source, { recover: true });

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 bconfjs

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

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?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229