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.
five-bells-routing
Advanced tools
ILP routing table implementation
RouteData
refers to the Routes schema in five-bells-shared.
new Route(curve, hops, info)
Route.fromData(routeData) ⇒ Route
route.amountAt(x) ⇒ Number
Given a source amount, look up the corresponding destination amount.
route.amountReverse(y) ⇒ Number
Given a destination amount, look up the corresponding source amount.
route.getPoints(y) ⇒ Point[]
route.combine(alternateRoute) ⇒ Route
Combine two parallel routes.
route.join(tailRoute) ⇒ Route
Join two routes end-to-end.
route.shiftY(dy) ⇒ Route
Shift a route's curve up or down.
route.simplify(maxPoints) ⇒ Route
Simplify a route.
route.isExpired() ⇒ Boolean
Check if a route has expired.
route.toJSON() ⇒ RouteData
new RoutingTables(baseURI, localRoutes, expiryDuration)
tables.addLocalRoutes(localRouteObjects)
tables.addRoute(routeObject) ⇒ Boolean
Returns whether or not a new route was created (updates don't count).
tables.removeExpiredRoutes()
tables.toJSON(maxPoints) ⇒ RouteData[]
tables.findBestHopForDestinationAmount(ledgerA, ledgerC, finalAmount) ⇒ Hop
tables.findBestHopForSourceAmount(ledgerA, ledgerC, sourceAmount) ⇒ Hop
FAQs
ILP routing layer utilities
We found that five-bells-routing demonstrated a not healthy version release cadence and project activity because the last version was released 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.