
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@minswap/eslint-plugin
Advanced tools
Contains rules used by our TypeScript repositories.
Use script scripts/initRule.sh. It automates the process of creating the necessary directory structure, files, and import statement in the index file. Follow the steps below to run the script:
Give script executable permissions
chmod +x scripts/initRule.sh
Run the script with the following command:
./scripts/initRule.sh -r <rule_name> [-d <description>] [-m <message>]
Replace <rule_name> with the desired name for your new rule. Optionally, you can provide a description and a message for the rule using the -d and -m options, respectively.
Example
./scripts/initRule.sh -r my-custom-rule -d "Enforce a specific coding style" -m "Avoid using unnecessary variables"
Use script scripts/pack.sh. It automates the process of bumping npm package version to a random version, build, pack and revert version update.
Give script executable permissions
chmod +x scripts/pack.sh
Run the script with the following command:
./scripts/pack.sh
Find *.tgz file in the root folder and copy its full path.
Install this package:
npm i -D <path>/minswap-eslint-plugin-1.0.4913.tgz
The scripts always randomizes the patch version with 4 digit random number. Copy the 4 digit number and paste in package.json to path where this plugin was installed for testing for easy updates.
FAQs
Custom set of eslint rules for Minswap Labs
The npm package @minswap/eslint-plugin receives a total of 1 weekly downloads. As such, @minswap/eslint-plugin popularity was classified as not popular.
We found that @minswap/eslint-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.