
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.
@haechi-labs/ql-handler-sdk
Advanced tools
SDK to build handler of Query Layer
import { Ethereum } from "@haechi-labs/ql-handler-sdk";
export.handler = (event: Ethereum.ProcessedEvent) => {
// do something awesome !
return result;
}
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 8.12 or higher is required. Also you need to install ts-node package >= v7.0.1 is required
Installation is done using the npm install
command:
$ npm install --save ql-handler-sdk
Create your package and initialize npm.
$ mkdir awesome-function && cd awesome-function && npm init
Install the ql-handler-sdk package:
$ npm i --save @haechi-labs/ql-handler-sdk
Write your own function code:
import { Ethereum } from "@haechi-labs/ql-handler-sdk"
exports.handler = (event: Ethereum.ProcessedEvent) => {
const { blockMeta } = event;
const { receipt } = blockMeta;
if (receipt.gasUsed >= 10000) {
return {
id: event.id,
msg: "gas used over 10000"
};
}
}
FAQs
SDK to build handler of Query Layer(Assumed Name)
The npm package @haechi-labs/ql-handler-sdk receives a total of 5 weekly downloads. As such, @haechi-labs/ql-handler-sdk popularity was classified as not popular.
We found that @haechi-labs/ql-handler-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
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.