
Research
/Security News
Coruna Respawned: Compromised art-template npm Package Leads to iOS Browser Exploit Kit
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.
@halo-dev/attachment-upload-cli
Advanced tools
在 Terminal 中上传文件到 Halo 并得到链接,兼容 Typora 编辑器的图片上传。
npm install @halo-dev/attachment-upload-cli -g
安装完成之后,就可以在 Terminal 中使用 halo-attachment-upload 命令,或者 hau,以下使用 hau 为例。
hau setup
其中,Personal Access Token 需要有附件管理的权限。
配置文件存储位置:
~/.config/@halo-dev/attachment-upload-cli/config.json
hau upload -f /path/to/file
找到 Node 和 hau 的实际路径
which node
which hau
# 以下为例子
/opt/homebrew/opt/node@18/bin/node
/opt/homebrew/bin/hau
拼接上传命令
/opt/homebrew/opt/node@18/bin/node /opt/homebrew/bin/hau upload -f
打开 Typora 设置,进入 图像 -> 上传服务设定,将上传服务改为自定义命令,并将上面拼接的命令填入即可。
❯ hau --help
Usage: halo-attachment-upload|hau [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
upload|u [options] Upload a file to Halo
setup|s Setup your Halo site url and personal access token
help [command] display help for command
FAQs
A CLI tool for uploading attachments to Halo.
We found that @halo-dev/attachment-upload-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
/Security News
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.

Company News
As AI accelerates how code is written and shipped, Socket is scaling to protect the software supply chain from the growing wave of attacks targeting open source dependencies.

Company News
Socket is scaling to defend open source against supply chain attacks as AI accelerates software development.