Skip to main content

Questions tagged [node.js]

Node.js is an event-based, non-blocking, asynchronous I/O framework that uses Google's V8 JavaScript Engine.

1 vote
2 answers
101 views

Does the npm package manager cryptographically validate its payload's authentication and integrity for all packages after downloading them and before installing them? I see a lot of guides providing ...
Michael Altfield's user avatar
1 vote
0 answers
108 views

I have a legacy Express/Mongoose application laying around and found a potentially dangerous line of code in it: Object.assign with user input as second argument. I thought it would be a nice exercise ...
cis's user avatar
  • 417
-2 votes
1 answer
181 views

My friend and I are making games on RPG Maker and sharing them together. He also makes plugins from ChatGPT. I asked him for a script for a game crash (horror scene) and they asked "can this ...
Лев Хобот's user avatar
0 votes
1 answer
116 views

As a web developer, I frequently create minimal reproductions of whatever issue I'm facing, as a Github repo, and post a link to it in the Stack Overflow question or Github Issue thread that I'm ...
dwjohnston's user avatar
1 vote
1 answer
102 views

Let's say we have this simple Express application const express = require('express') const app = express(); app.get("/public/*", (req, res) => { res.sendFile(req.path); }); app....
cis's user avatar
  • 417
1 vote
1 answer
196 views

So I have a peculiar setup to work with. The main server is your standard off-the-mill Apache server with SSL enabled bound to a public domain (NOT localhost!). My Node.JS server runs on localhost:...
bblizzard's user avatar
  • 111
5 votes
1 answer
424 views

AWS Lambda's support for Node.js and Node.js end of life do not coincide, instead AWS Lambda continues to support the runtime for a few months after the official end of life for a specific Node.js ...
ndenarodev's user avatar
7 votes
1 answer
1k views

In the documentation on GitHub Actions there is a note, Due to security restrictions, GITHUB_ENV cannot be used to set the NODE_OPTIONS environment variable. What exploit were they trying to ...
Evan Carroll's user avatar
  • 3,237
1 vote
1 answer
99 views

I use NodeJS on AWS Lightsail and want to upgrade to version 23. I have been using a version packaged by bitnami that boasts "security by default", e.g. with some ports closed. It supports ...
ginjaemocoes's user avatar
0 votes
0 answers
86 views

tldr: is using a script spawned by my main process, which reads only a chunk of a sensitive file then passing the result to my main process - of any benefit? in contrast to loading the file in my ...
nicholaswmin's user avatar
1 vote
1 answer
145 views

I was thinking about how to ensure the authenticity of Node.js packages that are installed from a public registry like npmjs.com. The only mechanisms (optionally) in place to my understanding are: ...
Bob Ortiz's user avatar
  • 7,725
0 votes
1 answer
269 views

I have a node.js project which implement in nest.js framework. there is some apiKey and secretKey in my env file, I want to protect these keys from anyone, even host administrator. so I compile my ...
aref razavi's user avatar
0 votes
1 answer
107 views

I made a mistake - i was reached out for work regarding a project. Accidentally built it and ran it locally and it was obviously a bunch of nonsense code designed to look like a normal react project ...
Cody Popham's user avatar
0 votes
1 answer
308 views

I know math.random() in javascript can be predicted if you know the exact outputs of it, but if I only know what it gives after doing math.floor(100 / (1.0001 - Math.random())), how would I use this ...
user318151's user avatar
0 votes
1 answer
147 views

I am not totally sure how the following concepts are related, could someone please explain? password-based key derivation passphrase that can be passed to crypto.generateKeyPairSync (in Node.js) ...
yolooow's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
12