Stephen Rees-Carter

Stephen Rees-Carter

@valorin.bsky.social

Friendly Hacker, Speaker, and PHP & Laravel Security Specialist.πŸ•΅οΈ I write securinglaravel.com and hack stuff on stage for fun. 😈 I'm found elsewhere too: https://pinkary.com/@valorin πŸͺ„

2,361 Followers 509 Following 960 Posts Joined Jun 2023
1 day ago
Preview
Security Tip: Your JWT Might Be a Forever Key! [Tip #127] Without an `exp` claim, a JWT can remain valid forever, turning a leaked token into permanent access.

Without an `exp` claim, a JWT can remain valid forever, turning a leaked token into permanent access.

securinglaravel.com/security-tip... #Laravel

2 2 0 0
1 week ago
Preview
Security Tip: Validate Config at Boot [Tip #126] Rather than checking for essential config when it's used, throw the checks in your Service Provider - you'll know about configuration failures before your users get a weird error.

Rather than checking for essential config when it's used, throw the checks in your Service Provider - you'll know about configuration failures before your users get a weird error.

securinglaravel.com/security-tip... #Laravel

5 0 0 0
2 weeks ago
Preview
CVE-2026-27593 - GitHub Advisory Database Statamic is vulnerable to account takeover via password reset link injection

PSA for @statamic.com folks - update your sites ASAP! ⚠️

A CRITICAL vuln was discovered that allows full account takeover via password resets! 😱

All the details: cvereports.com/reports/CVE-...

9 6 0 0
2 weeks ago

I am determined to get back to @laravellive.dk this year, so if you have a dev team or a meetup in EU or UK and want me to run a workshop or give a talk in August, let me know!

1 0 0 0
2 weeks ago

Yes, I love the Bridgerton soundtracks! They have a good mix of high energy and consistent rhythm that helps me concentrate.

I'm almost always listening to some soundtrack when working, today is BSG.

2 0 0 0
2 weeks ago

That adds a whole new level of pain, good luck! 🀞

1 0 0 0
2 weeks ago
Preview
In Depth: Email Verification Isn't as Simple as You Think [In Depth #38] You can't trust an email address you haven't verified, so why are you storing them in your database?

You can't trust an email address you haven't verified, so why are you storing them in your database?

securinglaravel.com/in-depth-ema... #Laravel

5 0 1 0
3 weeks ago
Preview
Security Tip: Consider All Routes, Not Just Web! [Tip #125] routes/web.php is boring and reliable, and routes/api.php is fancy, but have you forgotten one?

routes/web.php is boring and reliable, and routes/api.php is fancy, but have you forgotten one?

securinglaravel.com/security-tip...

6 1 0 0
1 month ago

I know I say this all the time (especially on stage!), but apparently not everyone heard me, so here we go again...

securinglaravel.com/security-tip...

2 1 0 0
1 month ago
Preview
Securing Laravel The essential security resource for Laravel developers.

It's been 4 months, a lot has happened, but I'm finally back to writing securinglaravel.com!

New Security Tip coming out in a few hours...

9 0 0 0
3 months ago
Post image

And my talk on Friday was the most absurd and crazy thing I've done on stage (which is saying something), and I've had some great feedback that's already made it worth it. No idea what I'll do next year...

1 0 0 0
3 months ago
Post image

Exhausted after #LaraconAU last week, but excited by how it all went!

I was so proud of everyone in my workshop on Wednesday - everyone had a go, and the excitement in the room as they hacked through challenges made it all worth it.

5 0 1 0
4 months ago
"Let's Hack!" Pre-Laracon Security Workshop Attending Laracon AU? Come along to

Haven't bought tickets to my Pre-@laracon.au Security Workshop yet?! 😲

I'll be locking in numbers early next week, so get your ticket TODAY or reach out to me directly. βŒ›

This is your final warning... ⏰
events.humanitix.com/lets-hack-pr...

0 1 0 0
5 months ago
"Let's Hack!" Pre-Laracon Security Workshop Attending Laracon AU? Come along to

"Let's Hack!", my Pre-Laracon Security Workshop is just FIVE weeks away! πŸŽ‰
(So is @laracon.au... but let's be honest, priorities.)

Only 11 tickets left, & I need to confirm numbers with the venue, so if you've been thinking about it, now's the time!
πŸ‘‰ events.humanitix.com/lets-hack-pr...

1 1 0 0
5 months ago

Good point! I completely forgot about this option. 🀦

I've updated the article to reflect this.

1 0 0 0
5 months ago
Preview
Security Tip: How Should APIs Respond to HTTP? [Tip #123] If an API client tries to connect via unencrypted HTTP, what should your API do: redirect to HTTPS, disable HTTP, offer a swift rebuke, or take matters into it's own hands?

If an API client tries to connect via unencrypted HTTP, what should your API do: redirect to HTTPS, disable HTTP, offer a swift rebuke, or take matters into it's own hands? πŸ€”

securinglaravel.com/security-tip... #Laravel

3 1 1 0
5 months ago
Preview
Security Tip: What Is An HttpOnly Cookie? [Tip #86] Cookies come in many shapes and sizes, and with multiple attributes just to confuse you... Have you ever wondered what the humble HttpOnly attribute actually does?

Cookies come in many shapes and sizes, and with multiple attributes just to confuse you... Have you ever wondered what the humble HttpOnly attribute actually does?

securinglaravel.com/security-tip... #Laravel

6 0 1 0
5 months ago

I was wondering if anyone would get the reference! πŸŽ‰

I haven't seen it in a long time, the Ο€ is the only thing I remember. Not sure how I'll fit impossible IP addresses into my talk...

1 0 0 0
5 months ago

Exactly. 😎

Maybe next time I'll do my Ethics talk, that'd make for some fun irony. 😈

1 0 0 0
5 months ago

Clearly I'm being framed here!

1 0 1 0
5 months ago
Post image

Would I do something like that?

1 0 1 0
5 months ago

We'll never know how @valorin.bsky.social keeps getting invited back to speak at @laracon.au but we do know that he always puts on a heck of a talk when he does!

Learn how to defend your Hornburg on November 13-14!

Grab your ticket before 29 Sept to get a πŸ‘• in your size πŸ‘‰ laracon.au/tickets

3 1 1 0
5 months ago
Video thumbnail

Security advocate and friendly hacker @valorin.bsky.social keeps finding his way back into the #LaraconAU lineup.

Join us on November 13-14 for some practical security tips to help you defend your Hornburg (with or without Gandalf)

4 2 2 1
5 months ago
Preview
Security Tip: Do You Have a Permissions Policy? [Tip #85] What browser features do you have enabled on your site, and what can an XSS attack do if you don't disable them?

Laravel Security Tip: Do You Have a Permissions Policy?

What browser features do you have enabled on your site, and what can an XSS attack do if you don't disable them?

securinglaravel.com/security-tip...
#Laravel

3 0 0 0
5 months ago
Preview
Security Tip: Don't Forget to Regenerate 2FA Secret Keys! It's not just passwords you need to worry about when it comes to authentication and stolen credentials: your 2FA secret keys may also be at risk!

Do you reset your 2FA secret keys when a user toggles TOTP off/on?

It's not just passwords you need to worry about when it comes to authentication and stolen credentials: if an attacker can steal a 2FA secret key, they'll always have a valid TOTP! 😱

securinglaravel.com/security-tip... #Laravel

3 0 0 0
5 months ago
Preview
Security Tip: Prohibiting Destructive Commands on Production [Tip #83] It's important to be paranoid when it comes to production environments - because if you forget you're logged into prod, you may end up dropping a database... or worse! 😱

It's important to be paranoid when it comes to production environments - because if you forget you're logged into prod, you may end up dropping a database... or worse! 😱

Laravel's new Prohibitable trait lets you disable Artisan Commands to avoid this!

securinglaravel.com/security-tip...
#Laravel

0 0 0 0
5 months ago
Preview
Security Tip: A Well-Known URL for Changing Passwords [Tip#73] You may have heard of the `/.well-known/` path, and the security.txt file, but there is a new one called `change-password` you should be aware of too!

You may have heard of the /.well-known/ path, and the security.txt file, but there is a new one you should be aware of too:

/.well-known/change-password

It should redirect to your change password form, so password managers can easily send users there.

securinglaravel.com/security-tip... #Laravel

10 1 0 0
5 months ago
Preview
Security Tip: Bypassing Content-Security-Policy with <base>! [Tip #122] Content Security Policies are awesome, but if you haven't fully configured all of your directives, it's possible to redirect requests, inherit Nonces, and get juicy CSP-bypassing XSS! 😈

Content Security Policies are awesome, but if you haven't fully configured all of your directives, it's possible to redirect requests, inherit Nonces, and get juicy CSP-bypassing XSS! 😈

securinglaravel.com/security-tip... #Laravel

2 1 0 0
5 months ago

Sometimes when I sit down to write a Security Tip it comes together so quickly that I'm surprised I hadn't written it sooner. πŸ€“

The one I'm about to publish came together perfectly, including the demo, and it has the bonus of being pure nightmare fuel. Win-win for me! 😈

5 0 0 0
5 months ago

Agreed!

It's the switching of defaults that annoys me the most. There is nothing wrong with MRU, but don't switch my defaults! Add the option and let me enable it.

1 0 0 0