Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
uport-lite
Advanced tools
Lightweight library for looking up public profiles on uport-registry
A uPort is an ethereum address representing an identity of a person, thing or other entitity. We are using the NID address encoding scheme to support safe use of multiple networks.
A public profile is stored on ipfs at a hash registered in the uPortRegistry.
This library aims to let developers look up a profile for a given ethereum address and nothing else. It is designed to be tiny (<3k with all dependencies), so you can easily add uport functionality to non Ethereum apps.
By default it uses the uport registry on the ropsten
network as well as infura ipfs and jsonRpc gateways.
import UportLite from 'uport-lite'
// UportLite is just a function returning a function. It is not a Class so don't use `new`
const registry = UportLite()
registry('2oVdmcz7BkWozm2JE4hHixRV8s5y3STqhPG', (error, profile) => {
console.log(profile)
})
You can configure it passing options to the function:
import UportLite from 'uport-lite'
const registry = UportLite({
ipfsGw: 'https://ipfs.infura.io/ipfs/',
infuraKey: 'INFURA_API_KEY',
networks: {
'0x94365e3b': {
rpcUrl: 'https://private.chain/rpc',
address: '0x0101....'
}
}
})
registry('5A8bRWU3F7j3REx3vkJWxdjQPp4tqmxFPmab1Tr', (error, profile) => {
console.log(profile)
})
FAQs
Lightweight library for looking up public profiles on uport-registry
The npm package uport-lite receives a total of 43 weekly downloads. As such, uport-lite popularity was classified as not popular.
We found that uport-lite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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 researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.