
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
@yfi/yearn-protocol-nodejs
Advanced tools
;
wrapper-ci.sh
revert_trace.sh
nodejs_install.sh
npm-wrapper.bash
truffle-config.js
package.json
Changes between this refernce and the offical yearn-protocol
@openzeppelin/contracts 3.1.0
@openzeppelin/contracts 2.5.1
Solidity Versions:
0.5.17
0.6.12
{
"name": "yearn-protocol-ci-env-only",
"description": "yearn protocol CI - NOT FOR PRODUCTION USAGE",
"main": "truffle-config.js",
"directories": {
"test": "test"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"apollo-ethereum": "0.1.1",
"ethlint": "^1.2.5",
"husky": "^4.3.0",
"prettier": "^2.1.2",
"prettier-plugin-solidity": "^1.0.0-alpha.59",
"pretty-quick": "^3.0.2",
"truffle": "^5.1.21",
"@openzeppelin/test-environment": "^0.1.4",
"@truffle/debug-utils": "^4.1.5",
"@truffle/hdwallet-provider": "^1.0.35",
"chai": "^4.2.0",
"ganache-cli": "^6.9.1",
"mocha": "^7.2.0",
"solidity-coverage": "^0.7.5",
"truffle-flattener": "^1.4.4"
},
"scripts": {
"ganache": "ganache-cli",
"coverage": "node --max-old-space-size=4096 ./node_modules/.bin/truffle run coverage --network development",
"test": "truffle test",
"lint:sol": "prettier --write \"contracts/**/*.sol\" \"interfaces/**/*.sol\" --loglevel debug --plugin prettier-plugin-solidity",
"lint": "pretty-quick --pattern '**/*.*(sol|json|md)' --verbose",
"lint:check": "prettier --check **/*.sol **/*.json **/*.md",
"lint:fix": "pretty-quick --pattern '**/*.*(sol|json|md)' --staged --verbose"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"@openzeppelin/contracts": "^2.5.1"
}
}
Yearn Protocol is a set of Ethereum Smart Contracts focused on creating a simple way to generate high risk-adjusted returns for depositors of various assets via best-in-class lending protocols, liquidity pools, and community-made yield farming strategies on Ethereum.
Before getting started with this repo, please read:
To run the project you need:
ETHERSCAN_TOKEN, WEB3_INFURA_PROJECT_ID).npm install -g ganache-cli@6.11.To run the yearn protocol, pull the repository from GitHub and install its dependencies. You will need yarn installed.
git clone https://github.com/iearn-finance/yearn-protocol
cd yearn-protocol
yarn install --lock-file
Compile the Smart Contracts:
brownie compile
Run tests:
brownie test -s
Run tests with coverage:
brownie test -s --coverage
Check linter rules for *.json and *.sol files:
yarn lint:check
Fix linter errors for *.json and *.sol files:
yarn lint:fix
Check linter rules for *.py files:
black . --check --config black-config.toml
Fix linter errors for *.py files:
black . --config black-config.toml
For security concerns, please visit Bug Bounty.
You can read more about yearn finance on our documentation webpage.
For questions not covered in the docs, please visit our Discord server.
FAQs
Reference version of the Yearn Protocol in NodeJS/Truffle
The npm package @yfi/yearn-protocol-nodejs receives a total of 2 weekly downloads. As such, @yfi/yearn-protocol-nodejs popularity was classified as not popular.
We found that @yfi/yearn-protocol-nodejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.