
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
ssh-agent-bridge
Advanced tools
A Python package that provides high-level SSH session management for AI agents. Enables non-interactive agents to communicate with remote VMs over SSH using a tool-based interface with structured parameters and returns.
pip install ssh-agent-bridge
For development:
git clone https://github.com/Ganzzi/ssh-agent-bridge.git
cd ssh_agent_bridge
pip install -e .[dev]
import asyncio
from ssh_agent_bridge import SSHService
async def main():
service = SSHService()
try:
result = await service.run_ephemeral(
agent_id="my-agent",
host="example.com",
command="echo 'Hello, World!'",
username="myuser",
password="mypassword"
)
print(f"Exit code: {result.exit_code}")
print(f"Output: {result.stdout}")
finally:
await service.shutdown()
asyncio.run(main())
import asyncio
from ssh_agent_bridge import SSHService
async def main():
service = SSHService()
try:
# Create session
session_id = await service.create_session(
agent_id="my-agent",
host="example.com",
username="myuser",
password="mypassword"
)
# Run multiple commands
commands = ["pwd", "ls -la", "whoami"]
for cmd in commands:
result = await service.run_command(session_id, cmd)
print(f"$ {cmd}")
print(result.stdout)
# Clean up
await service.end_session(session_id)
finally:
await service.shutdown()
asyncio.run(main())
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)# Install development dependencies
pip install -r requirements-dev.txt
# Run tests
pytest
# Run type checking
mypy src/
# Format code
black src/
# Run all tests (55/55 core tests PASS - 100% pass rate)
uv run pytest tests/test_core.py -v
# Run with coverage (86% coverage, exceeds 80% target)
uv run pytest tests/test_core.py --cov=src/ssh_agent_bridge --cov-report=html
# Run core unit tests
uv run pytest tests/test_core.py::TestDataTypes tests/test_core.py::TestExceptions tests/test_core.py::TestSSHService tests/test_core.py::TestConnectionManagement tests/test_core.py::TestSessionLifecycle tests/test_core.py::TestCommandExecution -v
For detailed testing information, see:
Phase 6 Complete ✅ | Released on PyPI 🚀
If you find this project helpful, please consider:
FAQs
High-level SSH session management for AI agents
We found that ssh-agent-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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.