Skip to content

Conversation

@security-curious
Copy link

Per the feedback at #9 (comment) that you are open to have Ruby examples:

a7f0aee adds the same examples that are in the other languages. Homoglyph method names and invisible functions are sort of "yawn" with Ruby given it's support for monkey-patching. It would be easier to just define the method again with the same name. But included them for completeness. Tried to follow the style of the other languages.

49d8720 adds some additional variations that are probably not applicable to every language but may be applicable to some other languages.

I did reach out to the Ruby security team to see if they want to address. They responded with "at the moment, our opinion is that the interpreter is not the right place for a fix".

Include all strategies tested in other languages. For comment out
and early return the strategy needed to be modified in order to
make it work but the idea still works.

Unlike the other languages invisible functions do work in Ruby since
any unicode character can be put in a method name.
Some of these might be applicable to other languages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant