
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
JavaScript port of the RiotGames/LoRDeckCodes library, made for encoding and decoding Legends of Runeterra card decks. Below is an example code for the Warmother Control deck by prohibit_hb on Mobalytics.
CEBAIAIFAEHSQNQIAEAQGDAUDAQSOKJUAIAQCBI5AEAQCFYA
npm install runeterra
If you want to understand the process of the encoding and decoding decks, please refer to the original library, as Riot has done a great job explaining it there.
const { DeckEncoder } = require('runeterra')
const deck = DeckEncoder.decode('CEAAECABAQJRWHBIFU2DOOYIAEBAMCIMCINCILJZAICACBANE4VCYBABAILR2HRL')
/*
[ Card { code: '01PZ019', count: 2 },
Card { code: '01PZ027', count: 2 },
Card { code: '01PZ028', count: 2 },
Card { code: '01PZ040', count: 2 },
Card { code: '01PZ045', count: 2 },
Card { code: '01PZ052', count: 2 },
Card { code: '01PZ055', count: 2 },
Card { code: '01PZ059', count: 2 },
Card { code: '01IO006', count: 2 },
Card { code: '01IO009', count: 2 },
Card { code: '01IO012', count: 2 },
Card { code: '01IO018', count: 2 },
Card { code: '01IO026', count: 2 },
Card { code: '01IO036', count: 2 },
Card { code: '01IO045', count: 2 },
Card { code: '01IO057', count: 2 },
Card { code: '01PZ013', count: 1 },
Card { code: '01PZ039', count: 1 },
Card { code: '01PZ042', count: 1 },
Card { code: '01PZ044', count: 1 },
Card { code: '01IO023', count: 1 },
Card { code: '01IO029', count: 1 },
Card { code: '01IO030', count: 1 },
Card { code: '01IO043', count: 1 } ]
*/
// Card
deck[0].code // "01PZ019"
deck[0].count // 2
deck[0].set // 1
deck[0].id // 19
deck[0].faction // Faction { id: 4, shortCode: "PZ" }
const code = DeckEncoder.encode(deck)
// CEAAECABAQJRWHBIFU2DOOYIAEBAMCIMCINCILJZAICACBANE4VCYBABAILR2HRL
FAQs
Legends of Runeterra deck code encoder/decoder
We found that runeterra demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.