Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Antivirus catches “CVE-2024-4577” vulnerability even though there is no php in my code

$
0
0

I have a web project with Svelte and the antivirus application throws such an error even though there is no php related code block in it. Under node_modules, there is only one php file in the “flatted” library related to php and I couldn't find anything related to it.

These are the libraries I used for development

{"@fontsource/fira-mono": "^4.5.10","@neoconfetti/svelte": "^1.0.0","@playwright/test": "^1.28.1","@sveltejs/adapter-auto": "^1.0.0","@sveltejs/adapter-node": "^1.0.0","@sveltejs/kit": "^1.0.0","autoprefixer": "^10.4.13","eslint": "^8.28.0","eslint-config-prettier": "^8.5.0","eslint-plugin-svelte3": "^4.0.0","postcss": "^8.4.20","prettier": "^2.8.0","prettier-plugin-svelte": "^2.8.1","svelte": "^3.54.0","svelte-preprocess": "^5.0.0","tailwindcss": "^3.2.4","vite": "^4.0.0","vitest": "^0.25.3"}

A friend working before me for IIS stands up a windows service and redirects ports with url rewrite, their codes are below

import { handler } from './build/handler.js';import express from 'express';const app = express()const port = 3000app.get('/healthcheck', (req, res) => {res.end('ok');});app.use(handler);app.listen(3000, () => {console.log('listening on port 3000');});

service.js

import nodeWindow  from 'node-windows'var Service = nodeWindow.Service;var svc = new Service({ // });svc.on('install',function(){ svc.start();});svc.install();

thank you in advance for the help


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>