Scan your whole stack
Are you using @blazetrails/arel?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0-alpha0.3
@blazetrails/arel was last scanned on 28 Nov 2026 at version 0.1.0-alpha0.3. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0-alpha0.3 LATEST | 28 Nov 2026 | No rules fired |
| 0.1.0-alpha0.2 | 28 Nov 2026 | No rules fired |
| 0.1.0-alpha0.1 | 27 Nov 2026 | No rules fired |
| 0.0.0-stage | 27 Nov 2026 | Not shown |
Findings for v0.1.0-alpha0.3. 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-alpha0.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The trails port of Rails' Arel, the SQL AST that ActiveRecord builds every
query with (vendor/rails/v8.0.5.2/activerecord/lib/arel). It covers tables and
attributes, the node tree, predications, the select / insert / update / delete
managers, and the ToSql visitor with its SQLite, PostgreSQL and MySQL
subclasses, plus the Dot visitor.
As of 2026-09-27: 725 of 728 public Rails methods have a counterpart
(pnpm parity:api --package arel --public-only), and all 739 Rails Arel tests
are ported (pnpm parity:test). Its novel extra surface (public names with no
Rails counterpart) is pinned at zero, and its parameter names are gated
(pnpm parity:api:extra:gate, pnpm parity:api:params). The deliberate
differences from Rails are listed on the arel package page.
As in Rails, Arel renders SQL through an engine, which supplies the connection
to quote with. Arel::Table.engine is normally the ActiveRecord base class, so
the usual entry point is a model's arelTable. This ran against SQLite:
const posts = Post.arelTable;
posts
.project(posts.get("id"), posts.get("title"))
.where(posts.get("status").gt(0).and(posts.get("title").matches("%rails%")))
.order(posts.get("created_at").desc())
.take(5)
.toSql();
// SELECT "posts"."id", "posts"."title" FROM "posts" WHERE "posts"."status" > 0
// AND "posts"."title" LIKE '%rails%' ORDER BY "posts"."created_at" DESC LIMIT 5
Post.where(posts.get("title").eq("Hello").or(posts.get("slug").eq("hi"))).toSql();
// SELECT "posts".* FROM "posts" WHERE ("posts"."title" = 'Hello' OR "posts"."slug" = 'hi')
Ruby's table[:id] is table.get("id"). Without an engine, toSql() fails
where Rails would, with a TypeError whose message starts
undefined method `with_connection' for nil. Set Table.engine, or pass
an engine to toSql(), to use Arel without ActiveRecord.
The package root exports Table, Attribute, the Nodes, Visitors,
Attributes and Collectors namespaces, the four managers, sql, star and
the Arel errors.
Arel::Visitors::Visitor derives the method to call from the visited object's
class at runtime, :"visit_#{klass.name.gsub('::', '_')}"
(vendor/rails/v8.0.5.2/activerecord/lib/arel/visitors/visitor.rb:17-21), and caches it
per visitor class. trails does the same through ruby-compat's rbObjClass and rbModName, which
read the path rbSetClassPathString gave the class where it is seated on its
namespace, since a JS constructor name carries no namespace.
That makes the class names load-bearing at runtime. The published dist/ is
unminified ESM, but a consumer bundling arel with name mangling enabled will
break visitor dispatch. Keep class names in any bundle that includes arel.
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.