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.
@politico/interactive-style
Advanced tools
Component library for base POLITICO interactive page stylings.
Component library for base POLITICO interactive page stylings.
Installation:
$ yarn add @politico/interactive-style
Import only what you need:
import { Headline } from "@politico/interactive-style";
Use it in your component:
import React from "react";
const MyComponent = () => <Headline />;
export default MyComponent;
Clone Repo:
$ git clone https://github.com/The-Politico/politico-interactive-style
Install dependencies:
$ yarn
Start development server:
$ yarn start
Increase the version number in package.json
. Increase the last number (i.e. 2.2.x
) if you're pushing a bug fix. Increase the second number and reset the last one to 0 (i.e. 2.x.0
) if you're pushing a new feature.
Rebuild the docs server.
$ yarn build
Commit/Push to GitHub with the latest version number.
$ git add .
$ git commit -m 'v2.x.x: What you changed.'
$ git push origin master
Publish latest docs (you have to be pushed to GitHub for this to work properly).
$ yarn docs
Publish to NPM. It will show you the current version as what you just changed in package.json. Don't increment again when prompted here, just hit enter.
$ yarn publish
FAQs
The reusable foundation of interactive stories at POLITICO
The npm package @politico/interactive-style receives a total of 13 weekly downloads. As such, @politico/interactive-style popularity was classified as not popular.
We found that @politico/interactive-style demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.