agent-client-protocol

v0.10.1 safe
4.0
Medium Risk

A Python implement of Agent Client Protocol (ACP, by Zed Industries)

🤖 AI Analysis

Final verdict: SAFE

The package shows low risks in most categories, with only a moderate concern regarding shell execution. However, without additional evidence of malicious intent, it cannot be conclusively determined as suspicious or malicious.

  • moderate shell risk due to subprocess execution
  • sparse author metadata
Per-check LLM notes
  • Network: No network calls detected, which is normal and doesn't raise immediate concerns.
  • Shell: Subprocess execution can be legitimate but the use of untrusted or dynamically generated inputs may indicate potential risk for code injection or execution of unintended commands.
  • Obfuscation: No obfuscation patterns detected, indicating low risk of malicious obfuscation.
  • Credentials: No credential harvesting patterns detected, indicating low risk of malicious credential theft.
  • Metadata: The author's information is sparse, indicating potential lack of transparency.

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • ZE + '"}}\n' result = subprocess.run( # noqa: S603 [sys.executable, small_agent], in
  • ld handle it result = subprocess.run( # noqa: S603 [sys.executable, large_agent], in
  • extra_args, ] proc = subprocess.Popen( # noqa: S603 - command is built from trusted inputs
Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

Email domain looks legitimate: frostming.com>

Suspicious Page Links

All external links appear legitimate

Git Repository History

Repository agentclientprotocol/python-sdk appears legitimate

Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with agent-client-protocol
Create a fully functional mini-application that leverages the 'agent-client-protocol' Python package to manage remote agent interactions for system monitoring. This application will serve as a simplified version of a system monitoring tool, allowing users to send commands to remote agents and receive status reports. The application should include the following features:

1. **Agent Registration**: Allow agents to register themselves with the central server. Each agent should have unique identification information.
2. **Command Execution**: Enable the server to send commands to specific agents, such as 'check_cpu', 'check_memory', etc.
3. **Status Reporting**: Agents should periodically report their status back to the server, including CPU usage, memory usage, and disk space.
4. **Error Handling**: Implement error handling mechanisms to deal with failed command executions or agent disconnections.
5. **User Interface**: Develop a simple command-line interface (CLI) for the user to interact with the application, allowing them to add new agents, execute commands, and view status reports.
6. **Logging**: Integrate logging functionality to keep track of all interactions between the server and agents.
7. **Security Measures**: Incorporate basic security measures, such as encrypted communication between the server and agents, to protect against unauthorized access.

The 'agent-client-protocol' package will be used extensively throughout the development process. It will handle the low-level details of connecting agents to the server, sending and receiving messages, and managing the state of each agent. Your task is to focus on building the higher-level logic of the application, such as command execution and status reporting, while relying on 'agent-client-protocol' for the underlying communication infrastructure.