
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.
figma-tailwind-sync
Advanced tools
A Node.js package that automatically syncs color variables from your Figma design system to your Tailwind CSS configuration. This tool helps maintain design consistency between Figma and your codebase by automatically updating your Tailwind color palette.
A Node.js package that automatically syncs color variables from your Figma design system to your Tailwind CSS configuration. This tool helps maintain design consistency between Figma and your codebase by automatically updating your Tailwind color palette.
npm install figma-tailwind-sync
env.local file in your project root with the following variables:FIGMA_API_TOKEN=your_figma_personal_access_token
FIGMA_FILE_ID=your_figma_file_id
TAILWIND_CONFIG_PATH=./tailwind.config.js # Optional, defaults to ./tailwind.config.js
To get these values:
figma.com/file/YOUR_FILE_ID/Run the sync command:
npx figma-tailwind-sync
import { generateTailwindVariables } from 'figma-tailwind-sync';
// Call the function
await generateTailwindVariables();
theme.extend.colors to avoid overriding Tailwind's defaultsColors are added to your Tailwind config using the same names as in Figma. For example:
module.exports = {
theme: {
extend: {
colors: {
'primary': '#0066FF',
'secondary': '#4D4D4D',
// ... other colors from Figma
}
}
}
}
The tool includes helpful error messages for common issues:
Contributions are welcome! Please feel free to submit a Pull Request.
MIT
Ryan Wheatley
If you encounter any issues or have questions, please open an issue on the GitHub repository.
FAQs
A Node.js package that automatically syncs color variables from your Figma design system to your Tailwind CSS configuration. This tool helps maintain design consistency between Figma and your codebase by automatically updating your Tailwind color palette.
We found that figma-tailwind-sync 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
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.