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

@0xbuff/preceptor

Latest version: v0.0.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: sezugh
0 Stars
0 Forks
3 Versions
TypeScript Repo language

Scan summary

@0xbuff/preceptor was last scanned on 29 Nov 2026 at version 0.0.2. Risk score 0 of 100. No malicious behavior was detected.

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

Versions

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

No rules fired in 0.0.2

Findings

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

README

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

Preceptor

CI npm version License Node.js

Preceptor is an instructional engine for tutors and learning applications. It selects teaching strategies, coordinates optional model assistance and gives applications control over which lesson material and learner context a tutor may use.

The planner works offline without a language model. Applications can supply their own model, lesson source and memory adapters for contextual instruction. Preceptor returns advisory guidance; the host retains authority over assessments, grades and academic progress. The library has no runtime dependencies.

Installation

Preceptor requires Node.js 24 or later and ESM.

npm install @0xbuff/preceptor

Pin the version you have tested when deploying an application. The package is available on npm.

Quick start

Request a question-led teaching strategy without connecting a model or any tools.

import { type HostPolicy, planInstruction, POLICY_REVISION } from "@0xbuff/preceptor";

const host: HostPolicy = {
  policyRevision: POLICY_REVISION,
  sessionId: "example",
  mode: "guided_learning",
  grants: [],
  consent: [],
  installed: [],
};

const plan = planInstruction(host, {
  assistance: "plan",
  intent: "question",
});
if (plan.status !== "completed" || plan.strategy !== "question") {
  throw new Error("Expected a question plan");
}
console.log(plan.nextActions[0]?.text);

The result contains a fixed teaching prompt and the effective capability set. A generative request without a model returns an explicit unavailable result. To generate advice, pass a ModelPort to runInstruction; see the model example.

Features

  • Deterministic teaching strategies for guided learning, ungraded practice, retrieval coaching and defense preparation.
  • Assessment lock that returns fixed public process guidance without calling a model or protected adapter.
  • Optional provider-neutral model, exact-revision lesson and practice ports.
  • Closed sequential tool dispatch with explicit permissions, byte and request limits, cancellation and bounded retries.
  • Optional scoped narrative memory with revision-bound mutation proposals and host-owned deletion and replay protection.
  • Read-only context from authorized, committed academic-result summaries, including correction and revocation.

Architecture

flowchart LR
    H[Host policy and request] --> P[Pure planner]
    P --> S[Session engine]
    S --> M[Optional model]
    M --> S
    S --> D[Typed dispatcher]
    D --> A[Scoped host ports]
    S --> R[Advisory result]

The host authenticates the session and binds the mode, grants, consent and available adapters. The planner selects a strategy and computes permissions. For generation, the session engine validates each model response and dispatches only authorized operations. It reports provenance, usage and typed failures.

flowchart LR
    C[Committed host decision] --> P[Summary projection]
    P --> T[Session context]
    M[Scoped narrative memory] --> T
    T --> G[Advisory guidance]

Narrative memory and academic-result summaries are separate. The host owns storage, authorization, retention and official academic records. See the architecture guide.

Documentation

Guide Contents
Policy Modes, strategies, capability checks and fixed prompts
Sessions Model and tool ports, limits, failures and cancellation
Memory Scoped facts, proposals, revision checks and deletion
Committed summaries Host-only projection, read authorization and provenance
Architecture Module boundaries and host responsibilities
Examples Offline planning, model, memory and summary integration

Import the public API from @0xbuff/preceptor. The policy revision is preceptor-policy-v1, and committed summaries use preceptor-summary-v1. Supply your own model provider or storage adapter if needed; scheduling remains a host responsibility.

Development

git clone https://github.com/0xbuffdev/preceptor.git
cd preceptor
corepack enable
pnpm install --frozen-lockfile
pnpm check

Use Node.js 24+ and pnpm 11.2.2. The full check includes an independent offline installation of the packed archive, integration tests, import checks and compiled examples.

Read the development guide, contribution guidelines, security policy and release policy.

License

Apache-2.0. See copyright and attribution.

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 @0xbuff/preceptor

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

CVE

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229