T09 · Insecure Skill Coding Practices
- Location
scripts/send-campaign.js:104- Finding
Explicit zero send limit defaults to 25 outgoing emails
- Content
View full analysis
- Remediation
View remediation
RATE_LIMIT) { throw new Error(`--limit must be between 0 and ${RATE_LIMIT}`); } const limit = requestedLimit; ``` Additional hardening should include automated tests for omitted, zero, negative, nonnumeric, fractional, and excessively large values. A zero limit should exit without contacting the Resend API. ]]>
