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

objection

Latest version: v3.9.6

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: elhigu, koskimas, lehni
19 Stars
0 Forks
28 Versions
1.4M Downloads
JavaScript Repo language

Scan summary

objection was last scanned on 29 Nov 2026 at version 3.9.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 28 versions; the latest 5 were published within 7 days (23–29 Nov 2026).
  • Findings: No rules fired in version 3.9.6.
  • Downloads: 1,361,607 downloads.

Versions

28 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.9.6 LATEST 29 Nov 2026 No rules fired
4.4.6 29 Nov 2026 No rules fired
4.4.5 26 Nov 2026 No rules fired
3.9.5 26 Nov 2026 Not shown
4.4.4 23 Nov 2026 Not shown

No rules fired in 3.9.6

Findings

Findings for v3.9.6. 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 3.9.6; other versions have their own rules, not their own score.

Known vulnerabilities

1 CVE · last 6 Sep 2021

1 CRITICAL 0 HIGH 0 MEDIUM 0 LOW

Versions

  • ≥ 2.2.16
  • < 2.2.16 1 CRITICAL

Vulnerabilities

  • CVE-2021-3766 Critical 6 Sep 2021 objection.js Prototype Pollution vulnerability Fixed in 2.2.16

README

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

Stand With Ukraine

Tests

Objection.js

Objection.js is an ORM for Node.js that aims to stay out of your way and make it as easy as possible to use the full power of SQL and the underlying database engine while still making the common stuff easy and enjoyable.

Even though ORM is the best commonly known acronym to describe objection, a more accurate description is to call it a relational query builder. You get all the benefits of an SQL query builder but also a powerful set of tools for working with relations.

About this repository

objection.js was created by @koskimas and has been maintained by @lehni since 2023. After Vincit removed @lehni's access to Vincit/objection.js in 2026, development continues here at ditojs/objection, published as the same npm package objection.

  • 4.x is the current version. See the changelog and the migration guide.
  • 3.x gets fixes on the 3.x branch, published under the npm dist-tag legacy.
  • Releases are published from GitHub Actions with npm trusted publishing, so each version has a provenance statement that links it to its tag in this repository.
  • Issues and PRs are welcome here.

Objection.js is built on an SQL query builder called knex. All databases supported by knex are supported by objection.js. SQLite3, Postgres and MySQL are thoroughly tested.

What objection.js gives you:

What objection.js doesn't give you:

  • A fully object oriented view of your database With objection you don't work with entities. You work with queries. Objection doesn't try to wrap every concept with an object oriented equivalent. The best attempt to do that (IMO) is Hibernate, which is excellent, but it has 800k lines of code and a lot more concepts to learn than SQL itself. The point is, writing a good traditional ORM is borderline impossible. Objection attempts to provide a completely different way of working with SQL.
  • A custom query DSL. SQL is used as a query language. This doesn't mean you have to write SQL strings though. A query builder based on knex is used to build the SQL. However, if the query builder fails you for some reason, raw SQL strings can be easily written using the raw helper function.
  • Automatic database schema creation and migration from model definitions. For simple things it is useful that the database schema is automatically generated from the model definitions, but usually just gets in your way when doing anything non-trivial. Objection.js leaves the schema related things to you. knex has a great migration tool that we recommend for this job. Check out the example project.

The best way to get started is to clone our example project and start playing with it. There's also a typescript version available.

Check out this issue to see who is using objection and what they think about it.

Shortcuts:

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 objection

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

Copy of Template Design OX Blog (2)
Research

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

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

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229