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

@particle-academy/agent-integrations

Latest version: v0.68.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: wishborn
1 Stars
1 Forks
34 Versions
20.8K Downloads
TypeScript Repo language

Scan summary

@particle-academy/agent-integrations was last scanned on 24 Nov 2026 at version 0.68.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 34 versions; the latest 3 were published within 7 days (18–24 Nov 2026).
  • Findings: No rules fired in version 0.68.0.
  • Downloads: 20,772 downloads.

Versions

34 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.68.0 LATEST 24 Nov 2026 No rules fired
0.67.0 18 Nov 2026 No rules fired
0.66.0 18 Nov 2026 No rules fired
0.65.6 16 Nov 2026 Not shown
0.65.5 16 Nov 2026 Not shown

No rules fired in 0.68.0

Findings

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

README

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

@particle-academy/agent-integrations

MCP-driven agent presence in collab sessions. Each open session gets a micro-MCP server running in-page; agents (in-browser or external via relay) connect to it and act as participants — adding sticky notes, drawing, moving items, leaving cursor trails.

Also ships the agent UX surface: a chat-and-tool-log panel, an on-canvas presence cursor, and a brief activity highlight for items the agent just touched.

v0.1 — focused on @particle-academy/fancy-whiteboard as the first bridged surface. The bridge layer is package-agnostic, so other fancy-* packages can register their own tool sets per session.

For agents. This package is listed on the Fancy MCP catalog server at https://ui.particle.academy/mcp (streamable HTTP, no API key; MCP id fancy-ui), with install commands and docs, alongside the rest of the kit. How an agent installs and uses this package is in AGENTS.md.

Install

npm install @particle-academy/agent-integrations
import "@particle-academy/agent-integrations/styles.css";

Which version range to depend on

Use a caret. ^0.46.0 is correct here, and it is deliberate.

"@particle-academy/agent-integrations": "^0.46.0"

This package is pre-1.0, and breaking changes land in MINOR releases — see the note at the top of CHANGELOG.md. A caret on a 0.x locks the minor (npm reads ^0.46.0 as >=0.46.0 <0.47.0), so it gives you patches and holds you at a surface you have already integrated against. That is the right default when the next minor may change something under you.

Moving up a minor is a deliberate act. Read that version's CHANGELOG.md entry before you do — breaking entries say what a consumer must actually DO, and about half of what reads as breaking needs no action at all.

A note on the rest of the suite. Some Fancy packages recommend an open >=X <2.0 range instead. That is not an inconsistency: those packages carry a runtime compatibility check that fails loudly when a consumer is out of step — fancy-connector-core's CONNECTOR_API_VERSION is the example — which is a stronger guarantee than a caret and makes the caret unnecessary. This package has no such check, so the caret is doing real work.

The rule inside the suite differs again: first-party packages depend on each other with an open range because they are released and tested together at a kit version. A consumer is not, which is why the advice here is not the same.

Tree-shake-safe imports

The root barrel is core-only — MCP server, presence, undo, sharing, plus the bridges and components that don't depend on optional peer packages (fancy-sheets, fancy-forms, fancy-code, fancy-charts, fancy-scene, fancy-screens).

Bridges whose peer is optional (fancy-whiteboard, fancy-flow) and the SharedWhiteboard component are reachable only via subpath imports so a consumer that hasn't installed those peers bundles cleanly:

// Core — always safe:
import {
  MicroMcpServer,
  attachInProcess,
  registerSheetsBridge,
  useSheetsAdapter,
  useSheetsActivityHighlights,
} from "@particle-academy/agent-integrations";

// Optional peers — subpath imports:
import { registerWhiteboardBridge } from "@particle-academy/agent-integrations/bridges/whiteboard";
import { registerFlowBridge }       from "@particle-academy/agent-integrations/bridges/flow";
import { SharedWhiteboard }         from "@particle-academy/agent-integrations/components/shared-whiteboard";

Every bridge has a matching subpath if you'd rather import surgically:

Bridge Subpath
whiteboard …/bridges/whiteboard
flow …/bridges/flow
sheets …/bridges/sheets
forms …/bridges/forms
code …/bridges/code
charts …/bridges/charts
scene …/bridges/scene
screens …/bridges/screens
screen contents …/bridges/screen-doc
passkeys …/bridges/passkeys
sign (e-signature) …/bridges/sign
agent chat …/bridges/agent-chat
content reactions …/bridges/content-reaction
sheets adapter hook …/sheets-adapter
presence …/presence
undo …/undo
sharing …/sharing

registerScreensBridge handles navigation between screens.

Charts bridge: read-only

registerChartsBridge(host, { readOnly: true, adapter: { id, getOption } }) lets an agent read a chart and gives it no way to change what the chart draws: the three writing tools are not listed, and chart_describe reports readOnly: true. Use it when the numbers on screen must be the ones an engine produced.

Content reaction bridge

registerContentReactionBridge drives the reactions on a comment, post or message (react-fancy's ContentReaction) through the same state the component reads. The adapter is structural, so it works with any react-fancy version, or with no react-fancy at all:

import { registerContentReactionBridge } from "@particle-academy/agent-integrations/bridges/content-reaction";

const bridge = registerContentReactionBridge(host, {
  adapter: {
    id: comment.id,                       // agents select the content by this
    title: `Comment by ${comment.author}`,
    getValue: () => mine,                 // the component's `value`
    setValue: (next) => setMine(next),    // the component's `onChange`; may return a Promise
    getReactions: () => DEFAULT_CONTENT_REACTIONS,
    getCounts: () => counts,              // optional
    getMode: () => "multi",               // optional
  },
});

Tools: reaction_list, reaction_read (value, counts, available reactions, mode), reaction_toggle (one key, by the component's rule: in single mode choosing a key replaces the active one) and reaction_set (the whole value). Writes broadcast an AgentActivity event (kind "reaction", element = the content id) and push an undo entry. A refused, declined or no-op write does neither.

Every comment on a page can register on the same host: the tools are registered once and take a content argument, optional while exactly one content is mounted (the form bridge's model). dispose() removes only that content. A reaction is posted as the human, so pendingMode: true stages writes behind a host confirm hook. It is off by default. With no hook, a staged write is refused: the agent's own confirm: true counts only when the host sets confirmBy: "agent".

Screens bridge: acknowledge after the host commits

Every mutating screens adapter method (setActive, createScreen, destroyScreen, updateScreenContent) may return void or a Promise. A sync void adapter behaves exactly as it always has. When the host's commit is asynchronous and authoritative (persisted state, a possible refusal or conflict), return a Promise and the bridge waits for it:

  • the tool reports success, and emits its AgentActivity event, only after the promise resolves;
  • a rejection, or a resolved { ok: false, error }, becomes an error result carrying the host's error text (its message only, never a stack), and emits no activity;
  • screens_create calls createScreen and then setActive. If createScreen fails, setActive is never called. If setActive fails after a successful create, the result is an error saying the screen was created but not activated (with structuredContent: { id, kind, created: true, activated: false }), and one activity event is still emitted because the create did commit.
import {
  registerScreensBridge,
  type ScreensAdapterResult,
} from "@particle-academy/agent-integrations/bridges/screens";

registerScreensBridge(host, {
  adapter: {
    listScreens: () => store.screens,
    getActive: () => store.activeId,
    // Resolve once the server has persisted it; refuse with a reason the agent can act on.
    setActive: async (id): Promise<ScreensAdapterResult> => {
      const res = await api.post(`/screens/${id}/activate`);
      return res.ok ? { ok: true } : { ok: false, error: res.reason, code: "conflict" };
    },
    createScreen: async (spec) => {
      await api.post("/screens", spec); // a throw becomes an error result
    },
  },
});

The screens bridge pushes no undo entries: agent_undo cannot revert a screens tool. Keep your own history if you need to.

Form bridge: acknowledge after the host accepts the write

setValue and setValues on FormBridgeAdapter may return void or a Promise (FormAdapterCommit). A sync void setter behaves exactly as it always has. When the host's write is authoritative (a persisted draft, a server that can refuse it or report it stale), return a Promise and the bridge waits for it:

  • form_set_value / form_set_values report success, and emit their AgentActivity event, only after the promise resolves to void or { ok: true }. Your getValue / getValues should return the new value by then, so a read straight after a success sees it.
  • A rejection, or a resolved { ok: false, error } (FormAdapterResult), is that call's error result, carrying the host's error text (its message only, never a stack), and emits no activity. Leave your state unchanged when you refuse.
  • Without setValues, form_set_values awaits setValue once per field, in order, and stops at the first refusal. Earlier fields stay committed (that path is not atomic): the error names them, structuredContent carries { committed, failed, notAttempted }, and one activity event is emitted for the committed part. Provide setValues if the batch must be all-or-nothing.
  • If you dispose() the bridge (the form closes) while a write, a confirm or a submit is pending, the call settles at once as an error saying the outcome is unknown, emits no activity, and a later settle is ignored. A submit whose human confirm was still pending is never sent.
import {
  registerFormBridge,
  type FormAdapterResult,
} from "@particle-academy/agent-integrations/bridges/forms";

registerFormBridge(host, {
  adapter: {
    id: "invoice-draft",
    getFields: () => fields,
    getValue: (name) => draft.values[name],
    getValues: () => ({ ...draft.values }),
    // Resolve once the server has accepted it; refuse with a reason the agent can act on.
    setValue: async (name, value): Promise<FormAdapterResult> => {
      const res = await api.patch(`/drafts/${draft.id}`, { [name]: value, version: draft.version });
      if (!res.ok) return { ok: false, error: res.reason, code: res.status === 409 ? "stale" : undefined };
      draft = res.draft; // update state BEFORE resolving
      return { ok: true };
    },
  },
});

Staleness is the host's call. The bridge has no expected-value / version argument: your write is the authority, so check your own version or ETag there and refuse with { ok: false, error: "Draft changed since you read it; re-read and retry", code: "stale" }. The agent gets that sentence as the tool error.

The form bridge pushes no undo entries.

Several forms on one host

Since 0.53.0, call registerFormBridge once per form on the same host. The first form registers the form tools; later forms join them, so the tool list stays the same eight tools however many forms are mounted:

import { registerFormBridge } from "@particle-academy/agent-integrations/bridges/forms";

const billing = registerFormBridge(host, { adapter: billingAdapter });   // adapter.id === "billing"
const shipping = registerFormBridge(host, {
  adapter: shippingAdapter,                                              // adapter.id === "shipping"
  pendingMode: false,                     // per form: shipping submits without a human confirm
  agent: { id: "checkout-agent", name: "Checkout" },
});

// An agent then picks the form with the `form` argument:
await host.callTool("form_list", {});                     // [{ id: "billing", … }, { id: "shipping", … }]
await host.callTool("form_set_value", { form: "shipping", field: "street", value: "2 Ship Rd" });
await host.callTool("form_set_value", { field: "street", value: "?" });
// → error: 2 forms are mounted, so pass "form" with one of: "billing", "shipping". form_list describes them.

shipping.dispose(); // removes only shipping; billing keeps working, and `form` is optional again
billing.dispose();  // the last form: every form tool is withdrawn
  • form is accepted by every form tool. With exactly one form mounted it is optional, so a single-form host and its agent prompts work exactly as before. With two or more, a call without it is refused with the mounted ids listed. An id that is not mounted is always refused, never routed to another form.
  • form_list returns { forms: [{ id, title, screenId, fields }] }.
  • Each form is identified by adapter.id, which must be a non-empty string. Registering an id that is already mounted replaces it (a remount); the earlier registration's dispose() then leaves the newer one in place.
  • pendingMode, adapter.confirm, agent and the presence target stay per form; activity names <formId>:<field> on the form's own screenId.
  • dispose() settles only that form's pending writes, with the "outcome unknown" error described above.
  • The tools are held by one registrant ("form-bridge"), so an unrelated registrant claiming a form tool name is still refused.

<BridgedForm> needs no change: several of them may now share one server. Background and the alternatives considered: docs/multi-form-hosts.md.

Flow bridge: awaited, atomic graph commits

Since 0.54.0, FlowBridgeAdapter takes an optional commit(op). Without it, nothing changes: the flow tools call setNodes / setEdges and report success straight away, as before. Wire it when your graph write is authoritative (a persisted graph, a server that can refuse a write or report it stale):

  • Every mutating tool (flow_add_node, flow_update_node, flow_delete_node, flow_connect, flow_disconnect, and flow_set_node_status when no setNodeStatus is wired) builds one FlowGraphOp and awaits commit instead of calling the setters. It reports success, and emits its AgentActivity event, only once commit returns or resolves to void or { ok: true }.
  • A rejection, a throw, or { ok: false, error, code? } (FlowAdapterResult) is that call's error: the text is your error (message only, never a stack), structuredContent is { ok: false, op, error, code? }, and no activity is emitted.
  • remove_node carries the node and the ids of every edge it removes. Apply it as one write; the bridge never splits it.
  • Each op carries revision (from your optional getRevision(), read when the op was computed), the acting agent and the tool. The op is not recomputed after the await, so check revision and refuse with code: "stale" if your graph has moved.
  • Validation (validateConfig, validateConnections, unknown ids) and the pendingMode confirm run before commit. A refused or declined call never reaches it.
  • If the bridge is disposed, or another flow bridge is registered on the same host, while a commit or a delete confirm is pending, the call settles at once as an error saying the outcome is unknown, and a later result is ignored.

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 @particle-academy/agent-integrations

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229