
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ravine is a simple router middleware for nodejs
with ravine routes are just javascript arrays. use javascript array manipulation functions to construct and manipulate routes.
npm install ravine
http = require 'http'
ravine = require 'ravine'
middleware = ravine [
['ALL', '*', (req, res, next) ->
# called before all following routes
next()
]
['GET', '/', (req, res, next) ->
# called only on GET /
res.end 'hello'
]
['ALL', '/users*', (req, res, next) ->
# called before all following routes if the request url starts with /users
next()
]
['POST', '/users', (req, res, next) ->
res.end 'post'
]
['PUT', '/users/:id', (req, res, next) ->
# called on PUT /users/7 for example. req.params will then be {id: 7}
res.end 'put ' + req.params.id
]
['DELETE', '/users/:id', (req, res, next) ->
# called on DELETE /users/18 for example. req.params will then be {id: 18}
res.end 'delete ' + req.params.id
]
]
server = http.createServer middleware
server.listen 80
see url-pattern for supported url patterns.
the parameters extracted from the url will be available as req.params
.
FAQs
ravine is a simple router middleware for nodejs
We found that ravine 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.