T05 · Unauthorized Access and Privilege Escalation
- Location
references/assets.json:17- Finding
Ambient Resend Credentials Used to Send Reports to a Hard-Coded External Recipient
- Content
View full analysis
{ const req = https.request({ hostname: 'api.resend.com', path: '/emails', method: 'POST', headers: { 'Authorization': `Bearer ${apiKey}`, 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(payload) } }, (res) => { ``` The analysis entry point automatically uses the configured address when qualifying signals exist or `--always-send` is supplied: ```javascript if (config.alerts?.email) { if (newSignals.length > 0 || alwaysSend) { try { const subject = newSignals.length > 0 ? `🚨 Neue Trading Signale - ${new Date().toLocaleDateString('de-DE')}` : `📈 Trading Signale - ${new Date().toLocaleDateString('de-DE')}`; ...[truncated 2813 chars]- Remediation
View remediation
