Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare mail via mailchannels :D #141

Merged
merged 3 commits into from
Apr 7, 2024
Merged

Conversation

fforres
Copy link
Member

@fforres fforres commented Apr 5, 2024

@fforres fforres force-pushed the fforres/adding_cloudflare_mailing branch from c9f1651 to 9e6e224 Compare April 6, 2024 23:55
Copy link

github-actions bot commented Apr 6, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 85.47% 8076 / 9448
🔵 Statements 85.47% 8076 / 9448
🔵 Functions 84.17% 266 / 316
🔵 Branches 82.77% 668 / 807
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
emails/helpers/index.ts 27.27% 0% 0% 27.27% 4-11
emails/helpers/tickets.tsx 25% 100% 0% 25% 18-72, 76-83
emails/templates/tickets/purchase-order-successful.tsx 25.29% 100% 0% 25.29% 42-168
src/datasources/db/events.ts 100% 100% 100% 100%
src/datasources/db/userTickets.ts 100% 100% 100% 100%
src/datasources/email/sendEmailToWorkers.ts 1.85% 100% 0% 1.85% 2-54
Generated in workflow #600

Copy link

socket-security bot commented Apr 7, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@react-email/[email protected] None +23 8.76 MB gabrielmfern
npm/[email protected] None 0 22.2 MB kossnocorp

🚮 Removed packages: npm/@react-email/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented Apr 7, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/@swc/[email protected]
  • Install script: postinstall
  • Source: node postinstall.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@fforres fforres marked this pull request as ready for review April 7, 2024 14:55
@fforres fforres merged commit d5a0c99 into main Apr 7, 2024
4 of 5 checks passed
@fforres fforres deleted the fforres/adding_cloudflare_mailing branch April 7, 2024 14:55
@fforres fforres changed the title [WIP] — Cloudflare mail via mailchannels :D Cloudflare mail via mailchannels :D Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant