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.
Static HTML template engine for template developer
Make sure you have PHP installed in your $PATH
first. Then run:
npm install -g phptpl
phptpl create example
Use your favorite PHP web server to preview.
▾ dist/
▸ css/
▸ js/
index.html
▾ src/
▸ css/
▸ js/
footer.inc.php
header.inc.php
index.php
.tpl
Rules:
src
directorydist
directory.inc.php
in filename won't be generated to html.for
loop, if
else
conditions, include_once
, and more...)Navigate to project directory and run:
phptpl build
FAQs
PHP Template Engine for front-end developer
We found that phptpl 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.