
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.
A ReactJS component to render a pagination.
npm install reaginate --save

| Name | Type | Description |
| --- | --- | --- | --- |
| currentPage | Number | Required. The current page to display. |
| totalPages | Number | Required. The total number of pages. |
| onPageChange | Number | Required. A callback with the page number as an argument for when the page changes. |
| onRefresh | Function | A function when the refresh button is clicked. If omitted, the button is not displayed. |
| displayLabel | String | A label to display feedback for the user. i.e. Displaying 1 to 50 of 200 messages |
<Reaginate
currentPage={ pager.currentPage }
totalPages={ pager.totalPages }
onPageChange={ this.onPageChange }
onRefresh={ this.onRefresh }
displayLabel={ `Displaying events 101 - 150 of 7765` }/>
import React, {Component} from 'react';
import 'reaginate/src/reaginate.scss'
import Reaginate from 'reaginate';
class MessageInbox extends Component {
constructor(props) {
super(props);
// Fetch data and then set state...
this.state = {
pager: {
currentPage: 1,
totalPages: 20
}
};
}
onPageChange(page) {
const {totalPages} = this.state.pager;
this.setState({
pager: {
currentPage: page,
totalPages: totalPages
}
});
}
render() {
const {pager} = this.state;
return (
<div>
<Grid />
<Reaginate
currentPage={ pager.currentPage }
totalPages={ pager.totalPages }
onPageChange={ this.onPageChange }
displayLabel={ `Displaying events 101 - 150 of 7765` }/>
</div>
);
}
}
FAQs
A ReactJS component to render a pagination.
We found that reaginate 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.