Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
marcan42's profile
Hector Martin
Hector Martin
Hector Martin
@marcan42

Tweets

Hector Martin

@marcan42

If it ain't broke, I'll fix it! I'm porting Linux to Apple Silicon Macs at @AsahiLinux. http://patreon.com/marcan  | http://github.com/sponsors/marcan 

Tokyo, Japan
marcan.st
Joined May 2009

Tweets

  • © 2021 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Hector Martin‏ @marcan42 12 Mar 2020
      • Report Tweet
      • Report NetzDG Violation

      Okay, @yubico, what the hell. https://www.yubico.com/support/security-advisories/ysa-2020-01/ … SQL injection. In a product by a security vendor. In 2020. And you fixed it with "data validation"?!?! Not prepared statements?!? Not even just escaping the params‽‽‽‽ This is downright criminally irresponsible code.pic.twitter.com/hQ81F8Pdwl

      41 replies 456 retweets 1,027 likes
      Show this thread
    2. Hector Martin‏ @marcan42 12 Mar 2020
      • Report Tweet
      • Report NetzDG Violation

      Please tell me that the people writing this PHP abomination have *nothing* to do with the people developing your hardware tokens. Please. Maybe I should really start looking into alternative products...

      4 replies 8 retweets 143 likes
      Show this thread
    3. Hector Martin‏ @marcan42 12 Mar 2020
      • Report Tweet
      • Report NetzDG Violation

      Seriously, how incompetent do you have to be to not only write code like this, but also *once the bug is found, completely fail at educating yourself as to what the correct, sane, safe way to fix it is*? I might excuse lack of knowledge, but not the utter inability to learn.

      1 reply 8 retweets 117 likes
      Show this thread
    4. Hector Martin‏ @marcan42 12 Mar 2020
      • Report Tweet
      • Report NetzDG Violation

      Seriously, this incident raises *serious* questions about the quality of development at @yubico. It might be an isolated problem, but how did this mess slip through the cracks? Who reviewed this code? Does an entire team at Yubico think this is okay? Who hired them?

      1 reply 7 retweets 84 likes
      Show this thread
      Hector Martin‏ @marcan42 12 Mar 2020
      • Report Tweet
      • Report NetzDG Violation

      Do the same standards apply to every other team at @yubico? How do we know this isn't a pervasive problem? Are there any companywide standards on code quality? Is there even a security team dedicated to auditing stuff in general? HOW DID THIS HAPPEN?!?

      12:39 AM - 12 Mar 2020
      • 2 Retweets
      • 61 Likes
      • Jozef Izso Lev1a Ken Keiter St. Florian-Prinzip Nicklo6649 The Blade Evan Lee Tom Sydney Kerckhove Stefan Baur @ 🏡
      3 replies 2 retweets 61 likes
        1. New conversation
        2. Hector Martin‏ @marcan42 12 Mar 2020
          • Report Tweet
          • Report NetzDG Violation

          Hector Martin Retweeted Hector Martin

          Btw, someone joked about http://php.net  having this as the correct solution, and, well. But "knowing better than http://php.net " is definitely a prerequisite to be in the security business writing PHP. Or just don't write PHP.https://twitter.com/marcan42/status/1089238169839489025 …

          Hector Martin added,

          Hector Martin @marcan42
          It's 2019 and PHP is *still* teaching people to concatenate SQL and vaguely-sanitized user input instead of using prepared statements. http://php.net/manual/en/mysqli.examples-basic.php … They got rid of the mysql module... only to teach people to use mysqli the same way. This is why SQLi isn't going away.
          3 replies 8 retweets 105 likes
          Show this thread
        3. Hector Martin‏ @marcan42 12 Mar 2020
          • Report Tweet
          • Report NetzDG Violation

          OMG IT'S STILL BROKEN. THIS IS HOW THEY'RE SANITIZING URLS FOR INSERTING INTO SQL QUERIES $ echo "<?php echo filter_var('http://inject/\'', FILTER_VALIDATE_URL);" | php http://inject/' AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

          8 replies 26 retweets 144 likes
          Show this thread
        4. Hector Martin‏ @marcan42 12 Mar 2020
          • Report Tweet
          • Report NetzDG Violation

          Okay, get this. The fix in question? It was co-authored by 5 Yubico employees and merged (and hopefully reviewed) by a 6th. At least 6 Yubico employees do not know about prepared statements. https://github.com/Yubico/yubikey-val/pull/59/commits/d0e4db3245deb5ce0c8d7d26069c78071a140286 … I am in shock.

          7 replies 12 retweets 90 likes
          Show this thread
        5. End of conversation
        1. New conversation
        2. Jevin Sweval‏ @jevinskie 12 Mar 2020
          • Report Tweet
          • Report NetzDG Violation
          Replying to @marcan42 @Yubico

          The source code contains a logical flaw related to user PIN verification that allows an attacker with local host privileges and/or physical proximity (NFC) to perform security operations without knowledge of the user’s PIN code. https://developers.yubico.com/ykneo-openpgp/SecurityAdvisory%202015-04-14.html …

          1 reply 0 retweets 1 like
        3. Hector Martin‏ @marcan42 12 Mar 2020
          • Report Tweet
          • Report NetzDG Violation
          Replying to @jevinskie @Yubico

          Yeah, I know about that one. But I could see how that slips by. Now, lack of security review might also explain why they didn't catch it earlier... but it's hard to say.

          0 replies 0 retweets 2 likes
        4. End of conversation
        1. un_stitched‏ @john_barsheff 12 Mar 2020
          • Report Tweet
          • Report NetzDG Violation
          Replying to @marcan42 @Yubico

          Finally

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2021 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info