
Research
Security News
Malicious npm Packages Target BSC and Ethereum to Drain Crypto Wallets
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Online Math Calculator
Shoutout to BobDotCom#4428 for his help
pip install web-math
calculate() takes one required and one optional argument
calculate([TASK], [PRECISION])
TASK = str
PRECISION = int
# import webmath and asyncio
import asyncio
from web_math import webmath
# make def
async def bread():
output = await webmath.calculate("3+3*3-sqrt(pi)", 4)
print(output)
# run def
asyncio.run(bread())
# with 4 digit precision
10.23
# without digit precision
10.227546149094485
FAQs
Online Math Api Wrapper
We found that web-math 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 uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
Security News
TC39 advances 9 JavaScript proposals, including Array.fromAsync, Error.isError, and Explicit Resource Management, which are now headed into the ECMAScript spec.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.