Stephen Rees-Carter
@valorin.bsky.social
2.3K followers 510 following 950 posts
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 🪄
Posts Media Videos Starter Packs
valorin.bsky.social
"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...
"Let's Hack!" Pre-Laracon Security Workshop
Attending Laracon AU? Come along to
events.humanitix.com
valorin.bsky.social
Good point! I completely forgot about this option. 🤦

I've updated the article to reflect this.
valorin.bsky.social
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...
valorin.bsky.social
Exactly. 😎

Maybe next time I'll do my Ethics talk, that'd make for some fun irony. 😈
valorin.bsky.social
Clearly I'm being framed here!
valorin.bsky.social
Would I do something like that?
Reposted by Stephen Rees-Carter
dyrynda.au
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
Reposted by Stephen Rees-Carter
laracon.au
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)
valorin.bsky.social
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
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!
securinglaravel.com
valorin.bsky.social
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
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! 😱
securinglaravel.com
valorin.bsky.social
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
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!
securinglaravel.com
valorin.bsky.social
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! 😈
valorin.bsky.social
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.
valorin.bsky.social
So what you're saying is, you've all been off on a long weekend?
valorin.bsky.social
Ugh, I hate it when apps switch from Next/Previous Tab switching to Most Recently Used (MRU) switching with Ctrl+Tab! MRU is only logical when you can't see the other tabs, otherwise it's a UX disconnect between display and keyboard. 😒

Looking at you Telegram! 😡
valorin.bsky.social
Totally, you were just adding some helpful context. 👍
valorin.bsky.social
The Laravel News article you're replying to is my article. 😉
valorin.bsky.social
HTTPS is everywhere & easy, but HTTP is still the default option browsers will attempt when given a raw domain. How do you stop an attacker from abusing this by hijacking the initial HTTP connection attempt? 😱

This is where HSTS comes in... 🔒

securinglaravel.com/security-tip... #Laravel
Security Tip: How Strict Is your Transport Security?
[Tip #82] HTTPS is everywhere & easy, but HTTP is still an option... How do you stop an attacker intercepting and downgrading connections to your site?
securinglaravel.com
valorin.bsky.social
Do you know what information is being leaked by the Referer header when your users click on external links?

If you site is public, you might be safe - but what if you have internal apps, or sensitive information in your URLs?

securinglaravel.com/security-tip... #Laravel #PHP
Security Tip: Is Your Referrer Leaking Information?
[Tip #81] Do you know what information is being leaked by the Referer header when your users click on external links?
securinglaravel.com