
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@x-edu/attachments
Advanced tools
```jsx const uc = new UC({ ... }) export default function Demo() { const [userInfo, setUserInfo] = useState(null)
const uc = new UC({
...
})
export default function Demo() {
const [userInfo, setUserInfo] = useState(null)
useEffect(() => {
async function init() {
try {
await uc.login({
...
})
const info = await uc.getInfo() // 伪代码
setUserInfo(info)
} catch (error) {
console.log(error)
}
}
init()
}, [])
if (!userInfo) {
return null
}
return (
<Attachments
fileDatas={data}
editable={true}
uc={uc}
getCSToken={getCSToken}
userInfo={userInfo}
imgOnlyPreview
attachmentUploadPath="/homework/attachment"
env="preproduction"
/>
)
}
FAQs
| 参数 | 参数类型 | 是否必填 | 参数说明 | 默认值 | | ---------- | -------- | -------- | ------------------------------------------------------------ |----| | attachmentPreviewEnable | number | 是 | 是否开启预览|1| | sdpAppId | string | 是 | sdpAppId|| |
The npm package @x-edu/attachments receives a total of 4 weekly downloads. As such, @x-edu/attachments popularity was classified as not popular.
We found that @x-edu/attachments demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.