Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Maybe coming some day.
This is what others might call an "application". But "application is a pretty silly name.
function(request, params) {
return response;
}
request
A node.js request object, as documented in the offical node.js docs. There are no additional properties, no magical extension methods.
params
Think: the "arguments".
This can be path parameters, query parameters.
params
should never contain anything other than simple data.
By default params
defaults to an empty object.
If a request handler forwards to a different handler,
it should forward all params that were passed in.
Injecting magic catch-all params is highly discouraged.
Say no to params.cookies
or .session
or any other funny business.
params
SHOULD be a simple object.
Any other kind of value should be the exception.
response
Describes the response that should be returned.
A proper response has a method to pipe to node.js response stream.
It's also valid to return any of the things
that can be coerced into a response object by quinn.respond
.
FAQs
A web framework designed for things to come.
We found that quinn demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.