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.
npm install vue-viewer --save
仓库地址: ssh://git@github.com:yylgit/vue-viewer.git
props: {
src: {
type: String
},
alt: {
type: String,
default: ''
},
value: {
type: Boolean,
default: false
}
}
<template>
<div>
<viewer v-model="showImage" :src="imageSrc">
</viewer>
<el-button @click="showImageClick">显示</el-button>
</div>
</template>
<script type="text/babel">
import Viewer from '../dist/vue-viewer';
export default {
data: function() {
return {
showImage: false,
imageSrc: 'http://p0.meituan.net/qcs/4662a009da0eafd379f3172a524127e1120196.jpg'
}
},
components: {
Viewer
},
methods: {
showImageClick () {
this.showImage = true;
}
}
}
</script>
<style lang="scss" rel="stylesheet/scss" scoped>
</style>
FAQs
a simple component for preview image
The npm package vue-viewer receives a total of 21 weekly downloads. As such, vue-viewer popularity was classified as not popular.
We found that vue-viewer 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.