Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@mtkruto/browser
Advanced tools
Cross-runtime JavaScript library for building Telegram clients
Note: MTKruto has not reached version 1.0.0 yet. While it can run in production, we currently do not recommend depending on it for critical projects.
const { Client, getRandomId } = require("@mtkruto/node"); // npm install @mtkruto/node
const client = new Client();
await client.connect();
const pong = await client.api.ping({ ping_id: getRandomId() });
console.debug(pong);
import { Client, getRandomId } from "https://deno.land/x/mtkruto/mod.ts";
const client = new Client();
await client.connect();
const pong = await client.api.ping({ ping_id: getRandomId() });
console.debug(pong);
<script type="module">
import { Client, getRandomId } from "https://esm.sh/@mtkruto/browser";
const client = new Client();
await client.connect();
const pong = await client.api.ping({ ping_id: getRandomId() });
console.debug(pong);
</script>
The @mtkruto/browser package can also be used with front end frameworks and bundlers.
import { Client, getRandomId } from "@mtkruto/mtkruto"; // bunx jsr i @mtkruto/mtkruto
const client = new Client();
await client.connect();
const pong = await client.api.ping({ ping_id: getRandomId() });
console.debug(pong);
MTKruto is made open-source under the GNU Lesser General Public License version 3, or at your option, any later version. Refer to COPYING and COPYING.LESSER for more.
FAQs
MTKruto for browsers
The npm package @mtkruto/browser receives a total of 210 weekly downloads. As such, @mtkruto/browser popularity was classified as not popular.
We found that @mtkruto/browser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.