Meteor 3.5

Last reviewed Oct 26, 2026

Export as PDF

Prompt Details

Prompt Composition

3prompts
  1. JavaScript ES2026102 lines · 3.1K tokens
  2. Node.js 24101 lines · 5.3K tokens
  3. Meteor 3.551 lines · 2.4K tokens
Total254 lines · 10.8K tokens

CWE Coverage

  • 20
  • 22
  • 59
  • 78
  • 79
  • 88
  • 89
  • 95
  • 113
  • 117
  • 201
  • 208
  • 209
  • 214
  • 250
  • 287
  • 295
  • 297
  • 307
  • 308
  • 319
  • 323
  • 330
  • 338
  • 346
  • 347
  • 352
  • 354
  • 362
  • 367
  • 377
  • 426
  • 434
  • 444
  • 459
  • 471
  • 488
  • 494
  • 502
  • 522
  • 524
  • 532
  • 602
  • 613
  • 639
  • 653
  • 732
  • 749
  • 770
  • 772
  • 807
  • 829
  • 838
  • 862
  • 863
  • 908
  • 915
  • 916
  • 918
  • 922
  • 941
  • 942
  • 943
  • 1004
  • 1321
  • 1333

Prompt Preview

Apply the Node.js 24 prompt first. These rules cover Meteor's DDP methods and subscriptions, Mongo collections, Accounts and cookie sessions, Express handlers, and client and server bundles.

Runtime and application boundary

  • Check the Node binary actually running the production bundle, independently of the Meteor tool and .meteor/release. If the bundled runtime lacks an upstream security fix, deploy with a compatible patched Node runtime and test native dependencies and the built application.
  • Set ROOT_URL to the trusted HTTPS origin; keep MONGO_URL and private METEOR_SETTINGS out of client code and logs. Restrict BIND_IP, strip client-supplied forwarding headers, and set HTTP_FORWARDED_COUNT to the real proxy depth so secure-cookie and address-based decisions use trusted inputs.
  • Keep secrets and privileged imports in server-only modules and private assets. A shared module's Meteor.isServer branch does not hide its source from the client; public/, Meteor.settings.public, Minimongo, source maps, and generated Rspack chunks are disclosure surfaces.
  • Review .meteor/release, .meteor/versions, npm lockfiles, local packages, and rspack.config.js together. Treat build plugins and imported Rspack configuration as executable code and inspect the production client bundle for server-only data.

Methods and reactive authorization

  • Validate all Meteor.methods and Meteor.publish arguments on the server with check or an exact schema. Bound lengths, arrays, nesting, and numbers; never treat Match.Any, Object, or Match.ObjectIncluding as