
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.
micro-app-onetime-password
Advanced tools
Micro app to generate onetime passwords needed to login to services like github when two-factor authentication is enabled.
Note since the totp password is easily obtained from the browser once the app is started, it is only suitable where you have good physical control over the client (as well as the server of course), for example the computer in your house.
After installation modify ../lib/config.json to match your configuration
The configuration entries that must be updated include:
NOTE you need to use the same password to encrypt the totp_secret and for the pre-hashed value used for authInfo.password.
In addition since tls is enabled you will need to generate a certificate and key for the server which need to be stored in the ../lib directory for the onetime-password micro-app and need to be called:
As an example the configuration file that comes with the install is:
{ "totp_secret": "encrypted value", "tls": "true", "authenticate": "true", "authInfo": { "username": "onetime", "password": "hashedvalue", "realm": "onetime" } } both the "encrypted value" and "hashedvalue" need to be repaced with appropriate values as explained above.
Simply run npm install micr-app-onetime-password
To run the onetime-password app, add node.js to your path (currently requires 4.x or better) and then run:
npm start
From the directory in the micro-app-onetime-password was installed.
Once the server is started. Point your browser at the host/port for the server. If you have configured your browswer to allow javascript to close the current page the original window will be closed and one with the correct size of the onetime password app page will be created.
You will need to provide the userid/password as configured in .../lib/config.json
The following is the page shown for my configuration:
As a micro-app the onetime password app depends on the micro-app-framework:
See the documentation on the micro-app-framework for more information on general configurtion options that are availble (ex using tls, authentication, serverPort, etc)
Base32 decoding is from link
FAQs
Simple micro-app to generate onetime passwords
The npm package micro-app-onetime-password receives a total of 0 weekly downloads. As such, micro-app-onetime-password popularity was classified as not popular.
We found that micro-app-onetime-password 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.