Scan your whole stack
From OX Research Newsroom
Are you using @guardrag/embed?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.2
@guardrag/embed was last scanned on 27 Aug 2026 at version 0.1.2. Risk score 85 of 100 (high). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.1.2 LATEST | 27 Aug 2026 | 1 rule fired |
Findings for v0.1.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 package's main entry point re-exports code from a dependency that its README never mentions, and the package is newly published with few versions. Users of such a package run the dependency's code without knowing it is there. Established packages sometimes do this for ordinary reasons.
HIGHThe score describes 0.1.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A <rag-chat> custom element that adds a grounded RAG chatbot to any website — no framework, no build step. Rendered in a shadow root, so host page CSS can't break it and its styles can't leak.
It holds no API key. The widget only talks to an endpoint you run, which owns the provider key and executes the pipeline. There is no attribute for a key, because anything in a web page is readable by every visitor.
▶ Live demo — no API key required.
<script type="module" src="https://cdn.jsdelivr.net/npm/@guardrag/embed/dist/guardrag.global.js"></script>
<rag-chat
endpoint="/api/rag"
title="Ask the docs"
greeting="Hi! What can I help you find?"
suggestions="What is the range?|How long is the warranty?"
launcher
></rag-chat>
launcher renders a floating bubble in the corner; omit it for an inline panel (size it with CSS on the element).
| Attribute | Purpose |
|---|---|
endpoint |
Required. URL of your own endpoint that runs the pipeline. |
headers |
JSON object of extra request headers, e.g. a session token. |
title, subtitle, placeholder, greeting, disclaimer |
Copy. |
suggestions |
Starter questions, ` |
theme |
light, dark or auto. |
show-sources |
false to hide the retrieved-passage panel. |
launcher |
Render as a floating bubble instead of an inline panel. |
import { mountRagChat } from "@guardrag/embed";
const widget = mountRagChat("#support", { endpoint: "/api/rag", launcher: true });
widget.addEventListener("rag-answer", (e) => console.log(e.detail.retrieved));
widget.reset();
Emits rag-answer (detail: AskResult) and rag-error.
MIT licensed. Docs in the repository.
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.