
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
vue-cli-plugin-ali-oss
Advanced tools
1.创建 oss.js(优先级最高)
路径: {你的项目目录下}/oss.js
oss.js:
module.exports = {
accessKeyId: "xxx",
accessKeySecret: "xxx",
bucket: "bucket",
prefix: "prefix",
projectName: true,
};
2.或者在插件初始化写入配置(优先级中)
new tinypngPlugin({
config:{
accessKeyId: "xxx",
accessKeySecret: "xxx",
bucket: "bucket",
prefix: "prefix",
projectName: true,
}
})
configureWebpack: (config) => {
return {
plugins: [
new aliOssPlugin()
]
}
}
https://${bucket}.${region}.aliyuncs.com/${prefix}/${projectName}/XXXX
阿里云accessKeyId
accessKeyId:XXX,
阿里云accessKeySecret
accessKeySecret:XXX,
bucket名称
bucket:XXX,
超时时间 默认:15 * 1000
timeout:XXX,
是否https 默认:true
secure:XXX,
阿里oss-region 默认:"oss-cn-hangzhou"
region:XXX,
路径前缀名称
prefix:XXX,
是否使用项目名称在路径中 默认:true
projectName:XXX,
是否使用该插件 default: true
use: true/false,
可识别的正则 默认: /.(png|jpe?g|bmp|gif|mp4|webm|mp3)/i
reg: XXXX
FAQs
upload ali oss for webpack or vue
The npm package vue-cli-plugin-ali-oss receives a total of 1 weekly downloads. As such, vue-cli-plugin-ali-oss popularity was classified as not popular.
We found that vue-cli-plugin-ali-oss 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.