not-so-smart-contracts
not-so-smart-contracts copied to clipboard
tx.origin misuse example
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.
:white_check_mark: disconnect3d
:white_check_mark: montyly
:x: adamskrodzki
You have signed the CLA already but the status is still pending? Let us recheck it.
looks like something is broken in license/cla I've clicked sign and form redirected me by check is still pending
@adamskrodzki as the bot says:
Your Name seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
It seems you fired more or less such command on ur machine:
git config --global user.name "Your name"
And then made commits and pushed them.
Please change your name in your git config so it corresponds to your github account:
git config --global user.name adamskrodzki
And then fix (change) your commits as described here: https://stackoverflow.com/questions/3042437/how-to-change-the-commit-author-for-one-specific-commit
You will have to re-push the commits with force afterwards. I recommend git push --force-with-lease for that (in this case you can also use git push --force but see https://developer.atlassian.com/blog/2015/04/force-with-lease/).
@disconnect3d Thank You for your help, looks like now it works
Thanks for the PR! Can you include some more detail in your writeup. We want to have the following sections for all of our writeups:
- [ ] Description of the unique vulnerability type
- [ ] Attack scenario(s) to exploit the vulnerability
- [ ] Recommendations to eliminate or mitigate the vulnerability
- [ ] Real-world contracts that exhibit the flaw
- [ ] References to third-party resources with more information
Please also keep the writeup focused on the technical details, and not the state of mind of the developer:
Some incompetent developer creates a service FreeSuperSecuredWalletsFactory (Let's call him Danny)
Please also keep the writeup focused on the technical details, and not the state of mind of the developer:
Some incompetent developer creates a service FreeSuperSecuredWalletsFactory (Let's call him Danny)
Intention was to indroduce real life scenarion. I believe this particular attack is tricky because one creating code with it might be neither victim nor attacker and victim might be harmed interacting with some totally different contract.
Anyway I've edited Readme, please review
Honestly I'm not to much used to use Markdown so it might be misused, now should have been better
@montyly @disconnect3d
Please review
@montyly @disconnect3d
Please review I applied Your advices 11 days ago
Hi @montyly @disconnect3d Vivek from Gitcoin here, are you able to review this one this week? Just checking in on behalf of @adamskrodzki 🙂
@adamskrodzki hey William from Gitcoin here - are you still working on this issue? there are some requested changes from @disconnect3d :)