caelum0x aa03239137 fix: harden round 3 inbound after merge
- Internal inbound endpoints fail closed without INBOUND_INTERNAL_SECRET
  and compare the secret in constant time (anyone could inject mail)
- mailauth pinned to a real version (^7.1.1); handle false results
- Inbound object storage uses real OCI SDK types and Region, and errors
  surface instead of silently writing to local disk
- Inbox preview uses sandbox="" + CSP (no scripts, no remote loads)
- /emails/received routes registered before /emails/:id
- Type and test fixes the round-3 branch shipped broken

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 04:00:48 +03:00

33 lines
714 B
JSON

{
"name": "smtp-server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "vitest run",
"build": "tsup",
"start": "node dist/server.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@types/mailparser": "^3.4.5",
"@types/smtp-server": "^3.5.10",
"dotenv": "^16.5.0",
"mailauth": "^7.1.1",
"mailparser": "^3.9.8",
"nodemailer": "^8.0.5",
"smtp-server": "^3.18.4",
"oci-common": "2.142.2",
"oci-objectstorage": "2.142.2"
},
"devDependencies": {
"@types/node": "^22.15.2",
"@types/nodemailer": "^8.0.0",
"tsup": "^8.4.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
}
}