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

@blazetrails/arel

Latest version: v0.1.0-alpha0.3

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: deanmarano
0 Stars
0 Forks
4 Versions
TypeScript Repo language

Scan summary

@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.

  • Releases: 4 versions, all published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 0.1.0-alpha0.3.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.1.0-alpha0.3

Findings

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.

README

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

@blazetrails/arel

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.

Status

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.

Using it

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.

Visitor dispatch reads class names

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.

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 @blazetrails/arel

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

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229