
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
encoding hex, number to korean language 4096.
찁, 찂 is padding string
import KorEncode from "kor-4096";
let plain = "0123456789asdf";
let kor = korEncode.encode(plain);
console.log(kor); //값뽅뉸벚곟찁
let hex = korEncode.decode(kor);
console.log(hex); //0123456789asdf
plain = "7a538344c200b87ed788809520bc82c4c8a9519235323f9b2a8572e2ef489966";
kor = korEncode.encode(plain);
console.log(kor); //뎥뾃끌븀랇쫗뒈법긋좂롌쒩넙븵꼣쮛꺨셲먮쭈떖밆찂
hex = korEncode.decode(kor);
console.log(hex); //7a538344c200b87ed788809520bc82c4c8a9519235323f9b2a8572e2ef489966
plain = "cf90b67643c7b1a8930acfe64549370f207b54aabdcc2ce5e1173afac24458d96b37960e8fee639c9a51c76e37744d261e332fb5b8c3f543bd72a4fabd83ce7f";
kor = korEncode.encode(plain);
console.log(kor); //룹벶덤뿇뜚쒓견쯦끔씷곲뱻녊욽룂죥먑쌺뮬비농앫꽹숎듾쩣뗉왑롶쨷덄줦귣뼯띛쓃뭔뾽댪샺럘뿎걿찁
hex = korEncode.decode(kor);
console.log(hex); //cf90b67643c7b1a8930acfe64549370f207b54aabdcc2ce5e1173afac24458d96b37960e8fee639c9a51c76e37744d261e332fb5b8c3f543bd72a4fabd83ce7f
let plain = [1, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096];
let kor = korEncode.encodeArray(plain);
console.log(kor); //["각찂","간찂","갈찂","감찁","갠찁","걀찁","검찁","관","글","뀀","됀","관밀찂"]
let hex = korEncode.decodeArray(kor);
console.log(hex); //["1","4","8","10","20","40","80","100","200","400","800","1000"]
let plain = ["1", "11", "111", "1111", "11111", "1111111", "1111111"];
let kor = korEncode.encodeArray(plain);
console.log(kor); //["각찂","갑찁","광","광밁찂","광밑찁","광봑각찂","광봑각찂"]
let hex = korEncode.decodeArray(kor);
console.log(hex); //["1","11","111","1111","11111","1111111","1111111"]
FAQs
kor 4096 package
The npm package kor-4096 receives a total of 1 weekly downloads. As such, kor-4096 popularity was classified as not popular.
We found that kor-4096 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.