mirror of
https://github.com/Komediruzecki/token-circles.git
synced 2026-10-20 09:46:43 +02:00
backend/package.json pinned `xlsx: ^0.18.5`, which can never resolve to a patched SheetJS build — the prototype-pollution and ReDoS fixes ship only off-npm at >=0.19.3 / 0.20.x. The backend runs XLSX.read() on attacker-controlled input (multipart spreadsheet uploads and the Google-Sheets XLSX fallback), so this is a reachable dependency vulnerability. Repoint it at the same vendored, patched tarball the frontend and worker already use (vendor/xlsx-0.20.3.tgz). The API surface used by services/spreadsheetService.js is unchanged; verified it resolves 0.20.3 and imports cleanly.
58 lines
1.6 KiB
JSON
Executable File
58 lines
1.6 KiB
JSON
Executable File
{
|
|
"name": "finance-manager-backend",
|
|
"version": "4.0.0",
|
|
"description": "Finance Manager Backend API",
|
|
"main": "index.js",
|
|
"author": "Komediruzecki",
|
|
"license": "AGPL-3.0-only",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Komediruzecki/finance-manager"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Komediruzecki/finance-manager/issues"
|
|
},
|
|
"homepage": "https://github.com/Komediruzecki/finance-manager#readme",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"dev": "node index.js",
|
|
"lint": "eslint --ext js .",
|
|
"lint:fix": "eslint --fix --ext js .",
|
|
"format": "prettier --write .",
|
|
"test": "NODE_ENV=test jest --runInBand",
|
|
"test:unit": "jest --config jest.unit.config.js",
|
|
"test:coverage": "jest --config jest.unit.config.js --coverage",
|
|
"test:e2e": "jest ../test/e2e/backend-api --runInBand"
|
|
},
|
|
"dependencies": {
|
|
"bcrypt": "^6.0.0",
|
|
"better-sqlite3": "^11.0.0",
|
|
"connect-sqlite3": "^0.9.16",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^17.4.2",
|
|
"express": "^4.18.2",
|
|
"express-session": "^1.19.0",
|
|
"helmet": "^8.1.0",
|
|
"mime-types": "^3.0.2",
|
|
"multer": "^2.1.1",
|
|
"node-cron": "^4.2.1",
|
|
"nodemailer": "^8.0.10",
|
|
"pdfkit": "^0.15.0",
|
|
"puppeteer": "^24.41.0",
|
|
"swagger-ui-express": "^5.0.1",
|
|
"xlsx": "file:../vendor/xlsx-0.20.3.tgz",
|
|
"yahoo-finance2": "^3.14.0",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.29.2",
|
|
"chai": "^4.4.1",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-security": "^4.0.1",
|
|
"eslint-plugin-sonarjs": "^4.1.0",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.8.3",
|
|
"supertest": "^7.2.2"
|
|
}
|
|
}
|