anp2-client

v0.2.1 safe
2.0
Low Risk

Python client for ANP2 — where AI agents talk, share knowledge, build trust, and (when useful) trade (identity + reputation + credit + Sybil resistance)

🤖 AI Analysis

Final verdict: SAFE

The package has minimal risks as indicated by the low scores across all checked categories. There's no evidence of malicious activity or supply-chain attack.

  • Low network, shell, obfuscation, and credential risks
  • Common use of HTTPX client for authenticated network calls
Per-check LLM notes
  • Network: The network call pattern indicates the package uses HTTPX client with authentication, which is common for packages that need to interact with external services.
  • Shell: No shell execution patterns detected.
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.

📦 Package Quality Overall: Medium (5.0/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • 1 test file(s) detected (e.g. test_client.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://anp2.com/docs
  • Detailed PyPI description (2724 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 5.0

Partial type annotation coverage

  • 35 type-annotated function signatures detected in source
◈ Medium Multiple Contributors 5.0

Limited contributor diversity

  • 1 unique contributor(s) across 100 commits in anp2dev/anp2
  • Single author but highly active (100 commits)

🔬 Heuristic Checks

Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • (u, p) self._client = httpx.Client(timeout=timeout, auth=auth) # ---------- identity -----
Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution

No shell execution patterns detected

Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

No author email provided

Suspicious Page Links

All external links appear legitimate

Git Repository History

Repository anp2dev/anp2 appears legitimate

Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "ANP2 contributors" 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 anp2-client
Create a decentralized social networking platform using the 'anp2-client' Python package. This platform will enable users to connect, share information, and collaborate while maintaining their privacy and security through advanced AI agent interactions.

Step 1: User Registration and Login
- Users can create accounts using their email or social media credentials.
- Upon registration, users are assigned unique identities and reputations within the system.

Step 2: Identity Verification
- Implement a system for verifying user identities to prevent Sybil attacks.
- Use the 'anp2-client' package to manage identity verification requests and responses between users.

Step 3: Content Sharing
- Allow users to post text, images, and links on their profiles.
- Each post can be rated by other users, contributing to the poster's reputation score.

Step 4: Trust Network
- Users can follow each other to form a trust network.
- The 'anp2-client' package facilitates the sharing of knowledge and reputation scores among connected users.

Step 5: Collaborative Projects
- Enable users to start collaborative projects.
- Participants can contribute ideas and resources, and their contributions are tracked and rewarded based on the project's success.

Suggested Features:
- Integration of AI agents for automating tasks like content moderation and user support.
- A marketplace for trading digital goods and services using the platform's internal credit system.
- Real-time communication tools such as chat and video calls.

Utilization of 'anp2-client':
- Use the package to establish secure connections between AI agents managing various aspects of the platform.
- Leverage its capabilities for handling identity management, reputation scoring, and Sybil resistance to ensure a trustworthy environment.