Lemmy - RazBot
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
YoorWeb@lemmy.world to Programmer Humor@lemmy.ml · 1 年前

Oops, wrong person.

lemmy.world

message-square
14
fedilink
641

Oops, wrong person.

lemmy.world

YoorWeb@lemmy.world to Programmer Humor@lemmy.ml · 1 年前
message-square
14
fedilink
alert-triangle
You must log in or register to comment.
  • Sharpiemarker@startrek.website
    link
    fedilink
    arrow-up
    105
    ·
    1 年前

    Whoops, the mask slipped and we all saw the bot behind it.

    • Aliyss@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 年前

      I think there’s a second mask. Who sends oops wrong person in the same text message?

    • titter@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 年前

      Mask slipped? The bot saw a person speak code and was like l, rips off mask Comrade!

  • s12@sopuli.xyz
    link
    fedilink
    arrow-up
    74
    ·
    1 年前

    Thought that seemed really cute. Nice way to try to break through social anxiety.

    Then I saw that it started as a wrong number message. Then I realised…

    Damn scam bots!

  • chicken@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    50
    ·
    1 年前

    Modern version of this will be ChatGPT jailbreak messages

  • PeriodicallyPedantic@lemmy.ca
    link
    fedilink
    arrow-up
    40
    ·
    1 年前

    In the future, bots are going to get so annoyed with people pretending to be bots when they just want to talk to other bots!

  • MyFeetOwnMySoul@lemmy.ca
    link
    fedilink
    arrow-up
    35
    ·
    1 年前

    How does this exploit work? I understand that inputs were not sanitized, but what did the injected code do?

    • powerofm@lemmy.ca
      link
      fedilink
      arrow-up
      51
      ·
      1 年前

      My guess would be the response text is passed through a rudimentary templating engine that looks for { and }. Somehow it must be processing the whole chat history. The templater fails at the unexpected braces in the code block and then just gives up (probably a try-catch ignores the error and sends the message anyway).

    • kromem@lemmy.world
      link
      fedilink
      English
      arrow-up
      37
      ·
      edit-2
      1 年前

      I don’t think the code is doing anything, it looks like it might be the brackets.

      That effectively the spam script has like a greedy template matcher that is trying to template the user message with the brackets and either (a) chokes on an exception so that the rest is spit out with no templating processor, or (b) completes so that it doesn’t apply templating to the other side of the conversation.

      So { a :'b'} might work instead.

  • SzethFriendOfNimi@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 年前

    Remember, always validate your inputs.

    • draughtcyclist@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 年前

      Little Bobby Tables we call him.

      • azimir@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 年前

        Such great Exploits of a Mom: https://xkcd.com/327/

        • GombeenSysadmin@feddit.uk
          link
          fedilink
          arrow-up
          2
          ·
          1 年前

          They had to change the law in the uk around naming companies!

  • Joe_0237@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 年前

    This is the best thing ive seen this week!

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 831 users / day
  • 1.42K users / week
  • 2.16K users / month
  • 10.3K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.62K Posts
  • 30.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org