Meteor 3.5
Last reviewed Oct 26, 2026
Prompt Details
Prompt Composition
3prompts
- JavaScript ES2026102 lines · 3.1K tokens
- Node.js 24101 lines · 5.3K tokens
- 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_URLto the trusted HTTPS origin; keepMONGO_URLand privateMETEOR_SETTINGSout of client code and logs. RestrictBIND_IP, strip client-supplied forwarding headers, and setHTTP_FORWARDED_COUNTto 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.isServerbranch 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, andrspack.config.jstogether. 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.methodsandMeteor.publisharguments on the server withcheckor an exact schema. Bound lengths, arrays, nesting, and numbers; never treatMatch.Any,Object, orMatch.ObjectIncludingas