Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@abtasty/widget-utils
Advanced tools
Collection of useful functions for AB Tasty Widgets.
Inside your Widget folder, install the widget-utils
library:
npm install @abtasty/widget-utils
Note: you can also use yarn instead of npm: yarn add @abtasty/widget-utils
With Webpack or Rollup.js:
import { waitForElement, isAffected } from '@abtasty/widget-utils';
const waitForBody = waitForElement('#section', (section) => {
section.insertAdjacentHTML('beforeend', '<p>New paragraph at the end of that section.</p>');
});
setTimeout(() => {
if (!isAffected()) {
waitForBody.clear();
}
}, 10000);
When you have installed and build your locally project :
npm link
in your widget-utils
foldernpm link @abtasty/widget-utils
editor
project.First, install your widget-utils
, copy the path of the project.
Then, In your local widget project :
npm install
, delete the folder /node_modules/@abtasty/widget-utils
/node_modules/@abtasty/
ln -s {your path to widget-utils project folder} widget-utils
A symlink has been created in your widget project, with the folder: /node_modules/@abtasty/widget-utils
The fonts.js file in this repo is exposing the Google Fonts from ABTasty CDN (which is populated by this repo: https://gitlab.com/abtasty/turfu/common-fonts)
Any changes in the common-fonts repo must follow the font regeneration here.
To regenerate the fonts.js file,
yarn run generateFonts
Once the MR is approved, follow the following steps:
npm
with npm publish
FAQs
Collection of useful functions for AB Tasty Widgets.
The npm package @abtasty/widget-utils receives a total of 23 weekly downloads. As such, @abtasty/widget-utils popularity was classified as not popular.
We found that @abtasty/widget-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.