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.
@vkontakte/elephize
Advanced tools
Library and tool for transpiling limited set of React & Typescript constructions into PHP for use in server-side rendering.
NPM:
npm install -D @vkontakte/elephize
or
yarn add -D @vkontakte/elephize
Check error messages for peerDependencies errors, as elephize requires typescript to work.
Play with lib and demo (github):
git clone https://github.com/VKCOM/elephize.git
cd elephize && yarn
yarn demo_start
This will set up demo files in demo/public folder and run two servers:
To see help, use bin/elephize --help
or ./node_modules/.bin/elephize --help
if you've installed elephize as a module.
You can use debugger;
statement in your ts code to debug transpilation process and check context variables. When run with
node debugger, this statement will pause the execution process when source file transpilation reaches the statement.
It's useful to combine it with manual breakpoints to check particular cases.
Help wanted! If you have time to translate docs to english, please feel free to send us your PRs.
FAQs
typescript -> php basic transpiler
The npm package @vkontakte/elephize receives a total of 3 weekly downloads. As such, @vkontakte/elephize popularity was classified as not popular.
We found that @vkontakte/elephize demonstrated a healthy version release cadence and project activity because the last version was released less than 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.