
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
ns-gradient
Advanced tools
This package is used to calculate the gradients of a shifted column of dataset to form a rows
column_0 column_1 column_2 column_3 column_4 column_5
0 0.05601 NaN NaN NaN NaN NaN
1 0.08611 0.05601 NaN NaN NaN NaN
2 0.05125 0.08611 0.05601 NaN NaN NaN
3 0.02576 0.05125 0.08611 0.05601 NaN NaN
4 0.01776 0.02576 0.05125 0.08611 0.05601 NaN
Once installed ns_gradient can be imported and functions called like so:
import pandas as pd
from ns_gradient.nsgrads import Nsgrads, calculator
df = pd.read_csv('./src/ns_gradient/all_sigs_df.csv')
df.drop(['Unnamed: 0'], axis=1, inplace=True)
result = calculator(dataset=df, periods=20, column='close')
print(result.get('gradients_mean')) # to get the mean
print(result.get('dataset')) # to retrieve data used to calculate the gradients
print(result.get('gradients')) # to get the vector gradients
FAQs
A package for calculating shifted gradients
We found that ns-gradient demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.