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.
@teamteanpm2024/delectus-sed-dolores
Advanced tools
[![npm version](https://badge.fury.io/js/%40safe-global%2Fsafe-deployments.svg)](https://badge.fury.io/js/%40safe-global%2Fsafe-deployments) [![CI](https://github.com/teamteanpm2024/delectus-sed-dolores/actions/workflows/test.yml/badge.svg)](https://githu
This contract contains a collection of deployments of the contract of the Safe contracts repository.
For each deployment the address on the different networks and the abi files are available. To get an overview of the available versions check the available json assets.
To add additional deployments please follow the deployment steps in the Safe contract repository.
npm i @teamteanpm2024/delectus-sed-dolores
yarn add @teamteanpm2024/delectus-sed-dolores
It is possible to directly use the json files in the assets folder that contain the addresses and abi definitions.
An alternative is to use the JavaScript library methods to query the correct deployment. The library supports different methods to get the deployment of a specific contract.
Each of the method takes an optional DeploymentFilter
as a parameter.
interface DeploymentFilter {
version?: string,
released?: boolean, // Defaults to true if no filter is specified
network?: string // Chain id of the network
}
The method will return a SingletonDeployment
object or undefined
if no deployment was found for the specified filter.
interface SingletonDeployment {
defaultAddress: string, // Address the contract was deployed to by the Safe team
version: string,
abi: any[],
networkAddresses: Record<string, string>, // Address of the contract by network
contractName: string,
released: boolean // A released version was audited and has a running bug bounty
}
const safeSingleton = getSafeSingletonDeployment()
// Returns latest contract version, even if not finally released yet
const safeSingletonNightly = getSafeSingletonDeployment({ released: undefined })
// Returns released contract version for specific network
const safeSingletonGörli = getSafeSingletonDeployment({ network: "5" })
// Returns released contract version for specific version
const safeSingleton100 = getSafeSingletonDeployment({ version: "1.0.0" })
// Version with additional events used on L2 networks
const safeL2Singleton = getSafeL2SingletonDeployment()
const proxyFactory = getProxyFactoryDeployment()
const multiSendLib = getMultiSendDeployment()
const multiSendCallOnlyLib = getMultiSendCallOnlyDeployment()
const createCallLib = getCreateCallDeployment()
// Returns recommended handler
const fallbackHandler = getFallbackHandlerDeployment()
const callbackHandler = getDefaultCallbackHandlerDeployment()
const compatHandler = getCompatibilityFallbackHandlerDeployment()
safe-deployments
release cycle is once per month, except urgent issues that require immediate attention.
A list of network information can be found at chainid.network
This library is released under MIT.
FAQs
[![npm version](https://badge.fury.io/js/%40safe-global%2Fsafe-deployments.svg)](https://badge.fury.io/js/%40safe-global%2Fsafe-deployments) [![CI](https://github.com/teamteanpm2024/delectus-sed-dolores/actions/workflows/test.yml/badge.svg)](https://githu
We found that @teamteanpm2024/delectus-sed-dolores demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.