
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
testivai-playwright
Advanced tools
@testivai/playwright-visual-diff is a powerful adapter for Playwright that enables seamless visual regression testing, powered by AI. It provides a complete workflow for capturing screenshots, comparing them against baselines, and reviewing differences in a user-friendly local report.
testivai.checkpoint() function to capture screenshots in your tests.tsvai audit to compare snapshots and generate a detailed HTML report.tsvai serve to launch a local server, review visual diffs, and accept changes with a single click.npm install testivai-playwright-visual-diff
Run the init command in the root of your project to create the necessary directories and configuration files.
npx tsvai init
In your Playwright tests, import and use the checkpoint function to capture screenshots at key moments.
import { test, expect } from '@playwright/test';
import { checkpoint } from 'testivai-playwright-visual-diff';
test('example test', async ({ page }) => {
await page.goto('https://playwright.dev/');
await checkpoint('Playwright Home Page', page);
});
After your tests have run and captured the latest screenshots, run the audit command to compare them against your baselines and generate a report.
npx tsvai audit
Use the serve command to view the interactive report in your browser. If there are any visual differences, you can accept the new version as the baseline directly from the report.
npx tsvai serve
This will start a server, typically at http://localhost:3000.
FAQs
A Playwright adapter for TestivAI visual diffing.
We found that testivai-playwright 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 supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.