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.
CLI editor made for fun
Install:
npm install -g chi-editor
chi <file-name>
Hotkey | Description |
---|---|
C-q or C-c | Quit the editor |
C-s | Save the buffer to file |
Return | Split lines |
Backspace | Delete previous character, merge lines |
Delete | Delete current character |
C-p or up | Move cursor to previous row |
C-n or down | Move cursor to next row |
C-b or back | Move cursor to forward |
C-f or right | Move cursor to backward |
Esc | Ignore |
C-u | Undo |
Home | Move cursor to start of line |
End | Move cursor to end of line |
Create chi.json
in the same folder from where you are running the editor. Global config is not supported yet.
Following structure (all options with defaults):
{
"editorOptions": {
"lineNumbers": false
}
}
Option | Description | Type |
---|---|---|
editorOptions.lineNumbers | Show/hide line numbers | Boolean |
Run yarn xd
to open the sample file. Tail debug.log
and write to stderr
for development debugging.
Please feel free to suggest issues and chime in
FAQs
CLI editor made for fun
We found that chi-editor 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.