You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/features/commands.ts
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -373,6 +373,33 @@ Have a look at these resources on how to ask good questions:
373
373
- [Coding Killed the Cat: "How to Ask for Programming Help"](http://wp.me/p2oIwo-26)
374
374
- [Stack Overflow: "How do I ask a good question?"](https://stackoverflow.com/help/how-to-ask)
375
375
- [Eric S. Raymond; "How To Ask Questions The Smart Way"](https://git.io/JKscV)
376
+
`,
377
+
color: EMBED_COLOR,
378
+
},
379
+
],
380
+
});
381
+
},
382
+
},
383
+
{
384
+
words: [`!security`],
385
+
help: `general information around managing security for a web application.`,
386
+
category: "Reactiflux",
387
+
handleMessage: (msg)=>{
388
+
msg.channel.send({
389
+
embeds: [
390
+
{
391
+
title: "Security Tips",
392
+
type: EmbedType.Rich,
393
+
description: `Managing security in a web application requires a proactive approach.
394
+
395
+
Some points to consider:
396
+
397
+
- Don't use create-react-app it is [no longer recommended](https://react.dev/blog/2025/02/14/sunsetting-create-react-app).
398
+
- Set up automated alerts via a service like [dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide) to be notified of new disclosures.
399
+
- Review packages either by inspecting the code or use a service like [Snyk](https://security.snyk.io/vuln/npm).
400
+
- Proactively keep your technology up to date – (everything not just packages).
401
+
- Test your code – follow safe practices (like sanitising errors) and ensure you audit features and functionality before pushing to prod.
402
+
- Set up multi-factor authentication and avoid re-using passwords by implementing something like a password manager to avoid credential stuffing attacks.
0 commit comments