
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.
Angular directive to bind functions on your directive or scope to mouse scroll events
A simple angular directive to assist with handling mouse scroll events
Make use of the (data)-ng-scroll-up and (data)-ng-scroll-down attributes on your elements. The value placed inside these attributes is a function to evaluate in the local scope.
For example:
<input type="text"
data-ng-model="value"
data-ng-scroll-up="increment()"
data-ng-scroll-down="decrement()" />
When used with a controller or directive with logic like so:
function linkOrController($scope) {
$scope.value = 0;
$scope.increment = function() {
$scope.value++;
};
$scope.decrement = function() {
$scope.value--;
}
}
basically implements a numeric spinner which responds to scroll events -- a more fleshed out example can be found in the test/demo.html file.
FAQs
Angular directive to bind functions on your directive or scope to mouse scroll events
The npm package ng-scroll receives a total of 20 weekly downloads. As such, ng-scroll popularity was classified as not popular.
We found that ng-scroll 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.