Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
jello-optimizer-velocity-xss
Advanced tools
Readme
自动将内容区的变量加 $esc.html
包裹。
在 #script()#end
中的用 $esc.javascript
包裹。
安装
npm install -g jello-optimizer-velocity-xss
启用插件
fis.config.set('modules.optimizer.vm', 'velocity-xss');
然后使用 release 命令的时候,记得带上 -o
参数。
jello release -o
目前只有 blacklist
一个配置项。数组格式,元素为正则对象。
fis.config.set('settings.optimizer.velocity-xss', {
blacklist: [
/^foo/i, // foo 打头的变量不进行转换。
]
});
FAQs
jello velocity xss protect
We found that jello-optimizer-velocity-xss 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.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).