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.
codemirror-lang-fsl
Advanced tools
This is an example repository containing a minimal CodeMirror language support package. The idea is to clone it, rename it, and edit it to create support for a new language.
Things you'll need to do (see the language support example for a more detailed tutorial):
git grep EXAMPLE
and replace all instances with your language name.
Rewrite the grammar in src/syntax.grammar
to cover your language. See the Lezer system guide for information on this file format.
Adjust the metadata in src/index.ts
to work with your new grammar.
Adjust the grammar tests in test/cases.txt
.
Build (npm run prepare
) and test (npm test
).
Rewrite this readme file.
Optionally add a license.
Publish. Put your package on npm under a name like codemirror-lang-EXAMPLE
.
FAQs
FSL and JSSM language support for CodeMirror
The npm package codemirror-lang-fsl receives a total of 3 weekly downloads. As such, codemirror-lang-fsl popularity was classified as not popular.
We found that codemirror-lang-fsl 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.