Scan your whole stack
From OX Research Newsroom
Are you using @0xbuff/preceptor?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.2
@0xbuff/preceptor was last scanned on 29 Nov 2026 at version 0.0.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
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.
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.
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.
| 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.
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.
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.