
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.
danger-plugin-flow
Advanced tools
Ensure all new
.js
files in a project are flow typed
Install:
yarn add danger-plugin-flow --dev
At a glance:
// dangerfile.js
import { schedule } from 'danger'
import flow from 'danger-plugin-flow'
schedule(flow());
Recommended setup:
schedule(flow({
modified: "warn",
created: "fail"
}))
This will fail the build for any newly introduced file that isn't flow typed, but will only warn the developer if they touch a file that's not flow typed. This is what we use because it can be hard to type legacy code, but we want to ensure every newly incoming code is properly typed.
blacklist
Blacklist certain globs from being checked:
schedule(flow({
blacklist: ['dist/**/*.js']
}))
created
Decide whether you want to warn, fail or ignore newly created files that are untyped:
schedule(flow({
created: "warn"
}))
schedule(flow({
created: "fail"
}))
schedule(flow({
created: false
}))
modified
Decide whether you want to warn, fail or ignore modified files that are untyped:
schedule(flow({
modified: "warn"
}))
schedule(flow({
modified: "fail"
}))
schedule(flow({
modified: false
}))
See the GitHub release history.
See CONTRIBUTING.md.
FAQs
Ensure all new JS files in a project are flow typed
The npm package danger-plugin-flow receives a total of 6 weekly downloads. As such, danger-plugin-flow popularity was classified as not popular.
We found that danger-plugin-flow 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.