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.
@n.see/gif-parser
Advanced tools
npm install @n.see/gif-parser --save
import { Parser, ExportBlockList } from '@n.see/gif-parser';
const parser = new Parser(arrayBuffer);
// 获取gif图片尺寸
const [width: number, height: number] = parser.getSize();
// 获取gif图片流所有模块数据
const blockList: ExportBlockList = parser.getBlockList();
// 获取gif图片流模块数据
const blockItem: ExportBlockItem = parser.getBlockItem(type: ExportBlockItemType)
// 处理后的数据
parser.export();
// 获取gif图片每帧数据(处理后的数据,需调用“parser.export()”)
const frames: ExportBlockItem = parser.getFrames()
// 获取gif图片流模块数据(处理后的数据,需调用“parser.export()”)
const dataList: ExportBlockList = parser.getDataList()
FAQs
gif-parser
The npm package @n.see/gif-parser receives a total of 2 weekly downloads. As such, @n.see/gif-parser popularity was classified as not popular.
We found that @n.see/gif-parser 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.