Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Install soleasy globaly to use in any projects
npm install -g soleasy
or Install it locally
npm install soleasy
The tutorial will explain running globally but if you want to run it locally just use npx before soleasy like: `npx soleasy
soleasy genABI
If your project uses hardhat, after compile you can use genABI to get specific ABIs, on soleasy.json
file in the root of your project. as the following example:
[
{
"name": "file",
"contracts": ["StateMutability","Lock"],
"abiName": ["STATE_MUTABILITY_ABI","LOCK_ABI"]
},
{
"name": "file2",
"contracts":["HelloWorld","FurnitureDegen"],
"abiName":["HELLO_WORLD_ABI","FURNITURE_DEGEN_ABI"]
}
]
This will generate file.json
and file2.json
on out
directory in the root of your project, with the contracts StateMutability
and Lock
in the first file with these respective properties STATE_MUTABILITY_ABI
and LOCK_ABI
, and with the contracts HelloWorld
and FurnitureDegen
in the second file with these respective properties HELLO_WORLD_ABI
and FURNITURE_DEGEN_ABI
.
soleasy genABIAll
If your project uses hardhat, after compile you can use genABIAll to get all ABIs of your compile contracts, and save in a file called contracts.json
in the out
in your project root.
soleasy compile
Will compile using surya and parse to JSON.
FAQs
Make solidity so easy
The npm package soleasy receives a total of 7 weekly downloads. As such, soleasy popularity was classified as not popular.
We found that soleasy 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.