Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brief audit of executor.ride #3

Open
1 of 2 tasks
deemru opened this issue Mar 13, 2023 · 0 comments
Open
1 of 2 tasks

Brief audit of executor.ride #3

deemru opened this issue Mar 13, 2023 · 0 comments

Comments

@deemru
Copy link

deemru commented Mar 13, 2023

  • LOW: old key can be reused so past arguments can be reused in loop as no nonce
    func updateSigner(newSignerPublicKey_: String, oldSignature_: String, newSignature_: String) = {
  • HIGH: uncertain serialization can lead to list argument manipulations (for example [ "", "0" ] and [ "0", "" ])
    func foldFunc(acc: ByteVector, elem: String) = {
    acc + elem.toBytes()
    }
    let argsBytes = FOLD<22>(functionArgs_, base58'', foldFunc)
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

No branches or pull requests

1 participant