notpeter Profile Banner
Peter Tripp Profile
Peter Tripp

@notpeter

Followers
327
Following
846
Media
280
Statuses
1K

Open source engineering @zeddotdev

Joined March 2007
Don't wanna be here? Send us removal request.
@notpeter
Peter Tripp
2 years
Costco code of ethics:.1. Obey the law. 2. Take care of our members. 3. Take care of our employees. 4. Respect our suppliers. Ponder for a moment why Musk, Bezos, Ellison and Zuck run companies share none of these values.
Tweet card summary image
podcasts.apple.com
Podcast Episode · Acquired · 08/21/2023 · 3h
1
0
3
@notpeter
Peter Tripp
4 days
Dude where’s my Chartio.
0
0
0
@notpeter
Peter Tripp
2 months
P.P.S They hide links from tweets too 🫠.That tweet contains a link to ' not and hovering shows '/ AzNOkFoo4F' with no hint of the original link whatsoever. Sigh🙃.
Tweet media one
@notpeter
Peter Tripp
2 months
Also, redirects can change. This is my favorite editor:
0
0
0
@notpeter
Peter Tripp
2 months
P.S. Despite reporting this 10 days ago. The domain in question is still operating (behind CloudFlare) and their X Developer account is still actively phishing user accounts. @XSecurity DM me if you want more details. Be safe out there!.
1
0
0
@notpeter
Peter Tripp
2 months
So what's the solution (for the OAuth flow)?.1. Approve all app name changes (new accounts and renames).2. Don't allow using non-validated domains in link/description. 3. Include a warning and a "report" link on those pages like Google does for Google Forms:
Tweet media one
1
0
0
@notpeter
Peter Tripp
2 months
Because of two bad security choices (hiding links and allowing X Developers to impersonate Google) users are two clicks away from takeover of their accounts. Lame sauce!.
1
0
0
@notpeter
Peter Tripp
2 months
(note: twitter silently removed the www prefix inside the double quotes so you see "calendar . google . com" in the previous message instead of the "www . calendar . google . com" I actually typed.
Tweet media one
1
0
0
@notpeter
Peter Tripp
2 months
At first glance this looks like it's a Google Calendar something something, but in reality it's actually a prompt to grant complete access to your twitter account to a malicious app named "Google Calendar" with the link " (bad link).
1
0
0
@notpeter
Peter Tripp
2 months
So what, you click a malicious link and then what. Well clicking that link leads you here:.
Tweet media one
1
0
0
@notpeter
Peter Tripp
2 months
See for yourself:.run curl -Is (grep for location)
Tweet media one
1
0
0
@notpeter
Peter Tripp
2 months
This is a recipe for disaster:.1. The card and destination domain get cached.2. Twitter never (or rarely) refreshes that. 3. The real link is hidden from to the user.4. If the user hovers all the see is a tracking link.
1
0
0
@notpeter
Peter Tripp
2 months
At some point, some a designer or PM decided it would look prettier to hide the the actual link and only show the card. But only in DMs. If you hover on the link, just like with every link on Twitter, all you see is the shortened link.
1
0
0
@notpeter
Peter Tripp
2 months
In a tweet, the real link (e.g. is always shown inline while the destination domain fancy preview card (after following the redirect) are also shown. Like so:.
Tweet card summary image
zed.dev
Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
1
0
0
@notpeter
Peter Tripp
2 months
So X/Twitter has a problem -- people like url shorteners ( etc) but those services immediately redirect. Users want to show the fancy preview card for the destination link and not ugly real link.
1
0
0
@notpeter
Peter Tripp
2 months
If you accept the DM and reply, here comes the hook. The reply includes a link looks to be to Where do you think clicking on that link would take you? Not Google Calendar! How about: calendar-schedule dot xyz. Wat?
Tweet media one
1
0
0
@notpeter
Peter Tripp
2 months
Here's the DM we got to @zeddotdev claiming to be someone from @TechCrunch. The user's profile (since deleted) had a a bunch of TechCrunch retweets and ~1000 followers.
Tweet media one
Tweet media two
1
0
0
@notpeter
Peter Tripp
2 months
There's a relatively well-crafted spear phishing campaign floating around to compromise X accounts. It exploits an X API security issue and stale previews of link preview cards to make things look almost legit. It all starts with a DM. .
1
0
0
@notpeter
Peter Tripp
4 months
RT @codeforamerica: Today’s reported decision to cancel the IRS’s free and easy to use Direct File program doesn’t align with what taxpayer….
Tweet card summary image
codeforamerica.org
Code for America CEO Amanda Renteria issued a statement in response to plans to end the IRS Direct File program
0
6
0
@notpeter
Peter Tripp
5 months
The env_home crate is truly barebones: Check $HOME on unix, $USERPROFILE on windows and otherwise return None. Unlike env::home_dir and other fancy crates that add a libc/WinAPI dependency for fallback use, env_home just checks the environment, that's it.
Tweet card summary image
github.com
There's no place like $HOME (rust crate). Contribute to notpeter/env-home development by creating an account on GitHub.
0
0
0