
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.
Currently in dev
Technical stack for spa application.
Here is the library structure. It works with focus components.
index.js //entry point
__application/ //All application related functions/ helper
__definition/ // all the domain and metadata informations
__component // Component functions /helper
__helper // Global helpers
__exception // Global exceptions using error object
__network // Network layer (fech, //)
__router // Router related functions.
__store //Store related methods
__util //Utility functions
All unit tests are written with mocha, and can be launched using the npm run test
command.
It uses jest.
debug unit tests
node-debug --nodejs --harmony ./node_modules/jest-cli/bin/jest.js --runInBand
See our wiki See our documentation
The build system is made with gulp
which is a node base build system. npm install -g gulp
Then you have to launch the following command: npm run build
which generates two outputs: one for the browser, one for node js (expecially for unit tests purpose).
All build dependencies are listed into the devDepandencies of the package.json
file.
gulp eslint
in order to see your errors.
In order to install all your dependencies: npm install --no-optional
The browser build is inside the dist/focus.js
Focus is publish under the name focusjs on npm.
In order to use focus you can user require('focus')
You can require submodules of focus such as the network: require('focus/network/fetch')
or require('focus').network.fetch
.
FAQs
Technical stack in order to build single page application.
The npm package focusjs receives a total of 2 weekly downloads. As such, focusjs popularity was classified as not popular.
We found that focusjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.