
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
@tehw0lf/n8n-nodes-unix-socket-bridge
Advanced tools
Generic Unix domain socket communication with configurable server support for n8n
An n8n community node that enables generic Unix domain socket communication with configurable servers for system automation and command execution.
n8n is a fair-code licensed workflow automation platform.
This n8n node appears as "unverified" in the n8n interface due to its use of Node.js APIs that are outside n8n's standard allowlist:
net
module: Required for Unix domain socket communicationsetTimeout
/clearTimeout
: Used for connection timeout handlingThis occurs because the node requires system-level APIs for socket communication. The functionality is stable and the code is open source for review.
What this means for users:
@tehw0lf/n8n-nodes-unix-socket-bridge
npm install -g @tehw0lf/n8n-nodes-unix-socket-bridge
cd n8n-node
npm install
npm run build
npm pack
npm install -g ./n8n-nodes-unix-socket-bridge-1.0.7.tgz
⚠️ Important if installing with npm or from source: Configure n8n to recognize the custom node
After installing from other sources than within n8n directly, you must set these environment variables for n8n to recognize the custom node:
# Find your installation path
npm list -g @tehw0lf/n8n-nodes-unix-socket-bridge
# Set required environment variables
# Path to your custom node installation
export N8N_CUSTOM_EXTENSIONS=/home/user/.nvm/versions/node/v20.0.0/lib/node_modules/@tehw0lf/n8n-nodes-unix-socket-bridge
# Ensure n8n reinstalls missing packages (recommended for custom nodes)
export N8N_REINSTALL_MISSING_PACKAGES=true
# For multiple custom nodes, separate with colons
# export N8N_CUSTOM_EXTENSIONS=/path/to/node1:/path/to/node2
Add these environment variables to your shell profile (.bashrc
, .zshrc
, etc.) or your n8n startup script to make them persistent.
The Unix Socket Bridge node provides seamless communication with Unix domain socket servers:
Path to the Unix domain socket file (e.g., /tmp/socket.sock
)
When enabled, the node automatically discovers available commands from the server using introspection. This provides a user-friendly dropdown of available operations.
When using JSON commands, parameters can be provided as key-value pairs. The node handles:
First, set up a Unix socket server using the provided server component:
{
"name": "System Control",
"description": "Basic system monitoring commands",
"socket_path": "/tmp/system.sock",
"commands": {
"uptime": {
"description": "Get system uptime",
"executable": ["uptime"],
"timeout": 5
},
"disk-usage": {
"description": "Check disk usage",
"executable": ["df", "-h"],
"timeout": 10,
"parameters": {
"path": {
"description": "Specific path to check",
"type": "string",
"required": false,
"style": "argument"
}
}
}
}
}
/tmp/system.sock
This n8n node works with the Unix Socket Bridge server, which provides:
For complete server setup and configuration examples, see the main repository.
echo "N8N_CUSTOM_EXTENSIONS: $N8N_CUSTOM_EXTENSIONS"
echo "N8N_REINSTALL_MISSING_PACKAGES: $N8N_REINSTALL_MISSING_PACKAGES"
npm list -g @tehw0lf/n8n-nodes-unix-socket-bridge
# For systemd installations
sudo journalctl -u n8n -f
# For Docker installations
docker logs n8n-container-name
FAQs
Generic Unix domain socket communication with configurable server support for n8n
The npm package @tehw0lf/n8n-nodes-unix-socket-bridge receives a total of 14 weekly downloads. As such, @tehw0lf/n8n-nodes-unix-socket-bridge popularity was classified as not popular.
We found that @tehw0lf/n8n-nodes-unix-socket-bridge demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.