
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
HRT 是前端代理工具,根据配置把指定的URL指向到本地或其它URL。
源代码安装
git clone git://github.com/tudouui/hrt.git
NPM安装
npm install hrt -g
修改浏览器代理设置,IP: 127.0.0.1
,端口: 2222
。
创建配置文件 ./config/my.js
,添加跳转规则。
指定单个文件。
var root = 'D:\\Projects\\static-trunk';
exports.map = [
['http://js.tudouui.com/js/lib/tuilib2.js', root + '/js/lib/tuilib2_combo.js']
];
也可以把整个目录指向到本地。
var root = 'D:\\Projects\\static-trunk';
exports.map = [
['http://js.tudouui.com/js/lib', root + '/js/lib']
];
替换部分URL。
exports.map = [
['/dist/', '/src/']
];
在命令行输入 hrt
,启动HTTP服务。
hrt --config=./config/my.js
hrt --config=./config/my.js --port=8080
hrt --config=./config/my.js --debug=true
FAQs
HTTP Rewrite Tool
The npm package hrt receives a total of 4 weekly downloads. As such, hrt popularity was classified as not popular.
We found that hrt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.