
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@scalar/echo-server
Advanced tools
The Scalar Echo Server is an Express server, which replies with the request data. Works well with the Scalar API Client.
npm install @scalar/echo-server
Create a new Node.js project and run the following code to run your own instance:
import { createEchoServer } from '@scalar/echo-server'
const { listen } = createEchoServer()
listen(5052, () => {
console.log(`🔁 Echo Server listening on http://localhost:5052`)
})
No matter which route you hit, the response contains all the request data and looks like that:
{
"headers": {
"host": "localhost:5052",
"connection": "keep-alive",
"accept": "*/*",
"accept-language": "*",
"sec-fetch-mode": "no-cors",
"user-agent": "undici",
"cache-control": "max-age=0",
"accept-encoding": "gzip, deflate",
"content-length": "0"
},
"cookies": {},
"method": "GET",
"path": "/foo",
"query": {
"foo": "bar"
},
"body": {}
}
FAQs
an express server which replies with the request data
The npm package @scalar/echo-server receives a total of 2 weekly downloads. As such, @scalar/echo-server popularity was classified as not popular.
We found that @scalar/echo-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.