close
The Wayback Machine - https://web.archive.org/web/20211008002449/https://github.com/topics/solana
Skip to content
#

solana

Here are 179 public repositories matching this topic...

t-nelson
t-nelson commented Oct 7, 2021

Problem

Solana CLI tools display user controlled input from various sources without any sanitization. A malicious user can craft input to include ANSI escape sequences, hijacking a victim's console and spoofing legitimate command output. Naturally leading to social attacks

Some affected sources of user-controlled text input

  • Memo instructions
  • Program logs
  • Validator info

themaxjames77
themaxjames77 commented Sep 29, 2021

With an Open Edition the NFT supply must be infinite in order to list. However the number of NFTs displays as 0 as does the number of Winners. Further more it is set at a fixed price. In this example the fixed price is 0.5 SOL. Rather than display the fixed price number it displays the highest bid. There is no language describing how this auction works in that anyone who bids 0.5 will receive the

GitTimmerd
GitTimmerd commented Aug 20, 2021

Hi,

The get_token_accounts_by_owner() function does not have the functionality to choose the encoding as optional argument, unlike in the official API function: https://docs.solana.com/developing/clients/jsonrpc-api#gettokenaccountsbyowner
In many other functions in the library this functionality is there, is there a possibility that this can also be added to this function? Thanks!

lieuzhenghong
lieuzhenghong commented Jul 20, 2021

Not sure where to put this, but trying to build the example page with sol-wallet-adapter 0.2.5 and anchor 0.11.1 gives a type mismatch.

Argument of type 'import("..../node_modules/@project-serum/sol-wallet-adapter/dist/cjs/index").default' is not assignable to parameter of type 'import(".../node_modules/@project-serum/anchor/dist/provider").Wallet'.
  Types of property 'publicKey' are

Improve this page

Add a description, image, and links to the solana topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the solana topic, visit your repo's landing page and select "manage topics."

Learn more