arkclaw-sdk

v0.1.1 suspicious
6.0
Medium Risk

ArkClaw Invoke SDK — a2a protocol client for any a2a-compliant agent runtime.

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package exhibits high credential risk due to attempts to access sensitive files, raising concerns about potential malicious intent. Despite lower scores in other categories, the combination of signals suggests a need for further investigation.

  • High credential risk
  • Potential access to sensitive files
Per-check LLM notes
  • Network: Network calls using httpx are common and generally safe unless the URLs are suspicious.
  • Shell: Executing shell commands can be risky as it may indicate unintended behavior or potential execution of arbitrary code.
  • Obfuscation: No obfuscation patterns were detected.
  • Credentials: The code shows potential signs of attempting to access sensitive files such as AWS credentials, SSH keys, and GitHub hosts configuration, which could indicate malicious intent.
  • Metadata: The maintainer has only one package, indicating a potentially new or less active account.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 14 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 14 test file(s) detected (e.g. conftest.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (4900 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • Type checker (mypy / pyright / pytype) referenced in project
  • 95 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

Outbound Network Calls score 7.5

Found 5 network call pattern(s)

  • nfig() self._client = httpx.AsyncClient(timeout=self._timeout_config.to_httpx()) async def post
  • mport httpx client = httpx.AsyncClient(timeout=10.0) else: client = http_client tr
  • rt}/callback" async with httpx.AsyncClient(timeout=30.0) as http_client: oidc = await fetch_oid
  • t httpx client = httpx.AsyncClient(timeout=30.0) else: client = self._http_
  • import httpx return httpx.AsyncClient(timeout=30.0) def _safe_response_dict(response: "httpx.Res
Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • te" result = subprocess.run( [ sys.executable, "-m", "mkdocs
Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • ``~/.aws/credentials``, ``~/.ssh/id_rsa``, and ``~/.config/gh/hosts.yml``. Without this, secrets
  • atches the conventions of ``~/.aws/credentials``, ``~/.ssh/id_rsa``, and ``~/.config/gh/hosts.yml``. W
  • rkclaw login``), matching ``~/.aws/credentials`` and ``~/.ssh`` conventions. """ from __future__ import
Typosquatting

No typosquatting candidates detected

Registered Email Domain

No author email provided

Suspicious Page Links

All external links appear legitimate

Git Repository History

No GitHub repository linked

  • No GitHub repository link found
Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "ArkClaw Team" 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 arkclaw-sdk
Create a fully-functional mini-application that leverages the 'arkclaw-sdk' package to interact with a2a-compliant agent runtimes. Your app will serve as a simple yet powerful interface for users to send and receive messages from these agents. Here’s a detailed breakdown of the project requirements and features:

1. **Project Overview**: Develop an interactive CLI tool that allows users to connect to various a2a-compliant agent runtimes. Users should be able to specify the target agent, send messages, and receive responses.

2. **Core Functionality**:
   - **Connection Management**: Implement functionality to establish connections with different agent runtimes. This includes handling authentication, connection parameters, and error management.
   - **Message Sending**: Provide a command-line interface where users can input messages to be sent to the connected agent runtime.
   - **Response Handling**: Display responses from the agent runtime back to the user in a readable format.

3. **Suggested Features**:
   - **Configuration File Support**: Allow users to store connection details and preferences in a configuration file for easy access.
   - **Logging Mechanism**: Implement logging for all interactions to help with debugging and auditing.
   - **Command History**: Keep a history of commands and responses for reference.
   - **Customizable Messages**: Enable users to customize their messages before sending them.

4. **Utilization of 'arkclaw-sdk' Package**:
   - Use 'arkclaw-sdk' to handle the underlying communication with the a2a-compliant agent runtimes. Specifically, leverage its functions for initiating connections, sending messages, and receiving responses.
   - Ensure that your implementation is efficient and adheres to best practices outlined in the 'arkclaw-sdk' documentation.

5. **Development Steps**:
   - Set up your development environment with Python and install the 'arkclaw-sdk'.
   - Design the CLI structure and implement the core functionalities.
   - Integrate 'arkclaw-sdk' to manage connections and message exchanges.
   - Add additional features based on the suggestions provided.
   - Test your application thoroughly to ensure reliability and performance.

6. **Final Deliverables**:
   - A fully functional CLI application that interacts with a2a-compliant agent runtimes using 'arkclaw-sdk'.
   - Documentation on how to set up and use the application.
   - A brief report detailing the challenges faced and solutions implemented during development.

This project not only enhances your understanding of 'arkclaw-sdk' but also provides practical experience in building robust, feature-rich applications in Python.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!