
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.
oasis-tools2
Advanced tools
The tool for OASIS services # Prerequisites - NodeJS >= 14 (Recommend Node 16) - yarn@1.19.0 (Not using npm due to the workspaces feature) # How to use? ## Create docker file ```js import { createDocker } from 'oasis-tools' import path from 'path'
The tool for OASIS services
import { createDocker } from 'oasis-tools'
import path from 'path'
/**
* The directory where the functions are located.
*/
const functionsDir: string = path.resolve('.', '..', 'functions')
/**
* Root directory where the Dockerfile will locate
*/
const rootDir: string = path.resolve('.', '..', '..')
createDocker({ functionsDir, rootDir })
.then(() => console.log('Dockerfile created'))
.catch((e) => console.error(e))
import { createHandler } from 'oasis-tools'
import path from 'path'
/**
* The name of the service should be excluded from the generated actions.
*/
const excludes: string[] = ['auth', 'sendEmail']
/**
* The directory where the "functions" are located.
*/
const functionsDir: string = path.resolve(__dirname, '..', 'functions')
createHandler({ excludes, functionsDir })
.then(() => console.log('Done'))
.catch((e) => console.error(e))
import { createMoleculerService } from 'oasis-tools'
import path from 'path'
/**
* The name of the service should be excluded from the generated actions.
*/
const excludes = ['auth']
/**
* The directory where the "packages" are located.
*/
const packagesDir = path.resolve(__dirname, '..')
/**
* The directory where the "functions" are located.
*/
const functionsDir = path.join(packagesDir, 'functions')
createMoleculerService({ excludes, functionsDir, packagesDir })
.then(() => console.log('>> Done!'))
.catch((err) => console.error(err))
create-user.ts
import { createUser } from 'oasis-tools'
createUser()
packages.json
like this: "script": {
...,
"create:user": "npx ts-node --transpile-only --prefer-ts-exts create-user.ts"
}
yarn create:user --email your@mail.com --password test123456 --clientId xyz --poolId ap-southeast-1_AABBCC --region ap-southeast-1
FAQs
The tool for OASIS services # Prerequisites - NodeJS >= 14 (Recommend Node 16) - yarn@1.19.0 (Not using npm due to the workspaces feature) # How to use? ## Create docker file ```js import { createDocker } from 'oasis-tools' import path from 'path'
The npm package oasis-tools2 receives a total of 0 weekly downloads. As such, oasis-tools2 popularity was classified as not popular.
We found that oasis-tools2 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.