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.
Runtime debugger agent for Node.js 10 and above.
In order to compile the agent you can use - npm install
To pack the agent you can run - ./build.sh
. This will compile the agent, run tests and
pack it to a tgz
file. If you do not wish to run the tests, run
./build.sh --skiptests=true
To install the agent, take the built tgz
file, copy it to the project you wish to
install it in, and run npm install lightrun-*.tgz
.
To run the tests, run ./run_all_tests.sh
To run the linter (and have it fix what it can), run npm run fix
After installing the agent, you can add it to your application by adding a require
statement and starting the agent:
require('lightrun').start({company: '<Company name>', lightrunSecret: '<Company secret>'});
Additional configuration options are available to pass to the start call, such as:
noCheckCertificate
- Pass true
to disable certificate pinningapiEndpoint
- The server endpoint the agent will communicate withcaPath
- Path to pem
file of the CA signing the certificate of the server
(useful for self-signed certificates)The agent supports some environment variables for configuration as well:
LIGHTRUN_SECRET
- The company secretLIGHTRUN_COMPANY
- The company nameLIGHTRUN_TAGS
- Comma separated list of tags for the agentLIGHTRUN_METADATA_FILE
- Path to file containing the metadata json for the agentFAQs
Lightrun Debug Agent for Node.js
The npm package lightrun receives a total of 9,654 weekly downloads. As such, lightrun popularity was classified as popular.
We found that lightrun demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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’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.