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.
@curong/fs
Advanced tools
@curong/fs
@curong/fs
包含以下方法:
clearDir
: 清空一个文件夹copy
: 将内容从 fromPath
拷贝到 toPath
copyFile
: 把一个文件,从一个目录拷贝到另一个目录中copySymbolicLink
: 将一个符号链接拷贝到另一个路径deleteOne
: 删除一个文件或一个文件夹destPath
: 获取目标路径和目标文件夹diffFile
: 比较两个文件的内容是否相等fileList
: 获取一个文件夹的所有文件名的列表findDir
: 从一个文件夹中查找指定的文件夹isDir
: 是不是一个文件夹isFile
: 是不是一个文件isSymbolicLink
: 是不是一个符号链接mkdir
: 创建一个文件夹readFile
: 将文件的内容读取为指定格式的字符串readFragment
: 从一个文件中读取一段长度的内容readline
: 一行一行地读取文本中的内容readlineFromCode
: 一行一行地读取编程语言文件中的文本内容readlineStream
: 基于流的形式一行一行的读取文件的内容readLnk
: 解析 lnk
文件的原始地址stripBOM
: 删除字节顺序标记 (BOM),编码为 0xFEFF
symbolicLink
: 获取符号链接所指向的原始路径writeFile
: 将数据写入到文件FAQs
`@curong/fs` 包含以下方法:
The npm package @curong/fs receives a total of 1 weekly downloads. As such, @curong/fs popularity was classified as not popular.
We found that @curong/fs 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.