
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
punch-sftp-publisher
Advanced tools
Publish your Punch based sites to any host that provides SFTP access.
Install the package
npm install punch-sftp-publisher
Open your Punch project's configurations (config.json
) and add the following:
"plugins": {
"publishers": {
"sftp": "punch-sftp-publisher"
}
}
Also, you must define publish
settings in the config.
"publish" : {
"strategy" : "sftp",
"options" : {
"host" : "hostname",
"username" : "sftpuser",
"port" : "22",
"private_key" : "/home/user/.ssh/id_rsa",
"upload_path" : "/var/www/"
}
}
You must specify server's hostname and your username to login. If you're using a private/public key to authenticate, make sure you specify the explicit full path to the private key (or provide the private key as a string). Files will be uploaded to the remote path specified as upload_path.
punch publish
(or punch p
) command.FAQs
Publish your site to any host that supports SFTP
We found that punch-sftp-publisher 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
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.