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.
tmod-loader
Advanced tools
由 tmodjs
改造的 artTemplate
loader,用于webpack 。
{
...
module: {
loaders: [
{
test: /\.tpl$/,
loader: "tmod",
query: {
// 编译输出目录设置
output: "./build",
// 设置输出的运行时路径
runtime: "src/template.js",
// 定义模板采用哪种语法,内置可选:
// simple: 默认语法,易于读写。可参看语法文档
// native: 功能丰富,灵活多变。语法类似微型模板引擎 tmpl
syntax: "simple",
// 模板文件后缀
suffix: '.tpl'
}
}
]
}
}
模板语法参考artTemplate
FAQs
artTemplate loader module for webpack
The npm package tmod-loader receives a total of 1 weekly downloads. As such, tmod-loader popularity was classified as not popular.
We found that tmod-loader 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.