
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@ketch-in/components
Advanced tools
npm install
And then you can access to http://127.0.0.1:4173/example
npm run dev
npm run build
const toastRoot = document.querySelector("#toast");
const { ToastController } = window.ketchInComponents;
const toastController = new ToastController(toastRoot, { removeDelay: 2000 });
for (let i = 1; i < 5; i++) {
setTimeout(() => {
const p = document.createElement("p");
p.innerText = `Toast ${i} TEST`;
toastController.add({
children: p,
data: { i },
momentDelay: 3000,
onClick: (item) => {
item.unmount(true);
console.log(item.getData());
},
onClose: (item, action) => {
console.log("456", i, item, action);
},
});
}, i * 500);
}
const root = document.querySelector("#app");
const { ToolbarController } = window.ketchInComponents;
const toolbarController = new ToolbarController(root, {});
toolbarController.add({
status: "KetchIn",
handlePen: () => console.log("switch to drawing line mode"),
handleShape: (selectedShape) =>
console.log(`switch to drawing [${selectedShape.type}] shape mode`),
// TODO: selectedShape 객체의 svg 필드 활용
handleColor: (selectedColor) =>
console.log(`pen color is now [${selectedColor}]`),
onClear: () => console.log("clear canvas"),
});
const root = document.querySelector("#app");
const { ModalController } = window.ketchInComponents;
const modalController = new ModalController(root, {
removeDelay: 2000,
modalWidth: 200,
});
const p = document.createElement("p");
p.innerText = `Modal (${i})`;
modalController.add({
children: p,
onClose: (item) => {
console.log(item);
},
});
const { SelectModalController } = window.ketchInComponents;
const selectController = new SelectModalController(root, {
removeDelay: 2000,
modalWidth: 400,
});
const p = document.createElement("p");
p.innerText = `SelectModal TEST (${i})`;
selectController.add({
children: p,
buttons: { yes: "확인", no: "취소" },
onClick: (item, id, label) => {
console.log(item, id, label);
},
});
ketch in components
is MIT licensed.
FAQs
components for ketch-in
We found that @ketch-in/components 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.