agentguard-python-sdk

v0.2.7 suspicious
4.0
Medium Risk

A production-grade middleware for AI agents to perform on-chain payments and verifiable consent.

πŸ€– AI Analysis

Final verdict: SUSPICIOUS

The package shows signs of potential obfuscation through base64 decoding and requires further scrutiny to ensure that it does not involve credential harvesting or other malicious activities.

  • Potential obfuscation through base64 decoding
  • Lack of clear red flags but need for further investigation into data handling
Per-check LLM notes
  • Obfuscation: The use of base64 decoding for various operations suggests potential obfuscation, but it could also be legitimate for handling encoded data, especially in cryptographic contexts.
  • Credentials: No clear evidence of credential harvesting is present, but further investigation into the context and usage of decoded data is recommended.
  • Metadata: The package shows some low-effort signs but lacks clear red flags.

πŸ”¬ Heuristic Checks

⚠ Outbound Network Calls score 4.5

Found 3 network call pattern(s)

  • self.async_client = httpx.AsyncClient(timeout=self.timeout) # Configure logging
  • e Request async with httpx.AsyncClient(timeout=self.timeout) as probe_client: try:
  • ith Proof async with httpx.AsyncClient(timeout=self.timeout) as fetch_client: logger.i
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • on_chain_hash_hex = base64.b64decode(args[0]).decode("utf-8") return on_chain_hash_h
  • d in b64). """ seed = base64.b64decode(private_key_b64) if len(seed) > 32: seed = seed[
  • ature and key sig_bytes = base64.b64decode(signature_b64) pub_key_bytes = encoding.decode_address(w
  • nd public key sig_bytes = base64.b64decode(signature_b64) pub_key_bytes = encoding.decode_address(w
  • dk import encoding seed = base64.b64decode(private_key_b64) if len(seed) > 32: seed = seed[
βœ“ 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

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author "AgentGuard Team" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
βœ“ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

πŸ’‘ AI App Starter Prompt

Use this prompt to build a project with agentguard-python-sdk
Create a fully-functional mini-app called 'VeriPay' that leverages the 'agentguard-python-sdk' package to enable users to securely make on-chain payments and provide verifiable consent for transactions. The app should allow users to sign up, log in, and manage their accounts where they can initiate payments and track their transaction history. Additionally, VeriPay should ensure that all transactions are verifiable and consent-based, meaning users must approve each payment before it is processed. Here’s a detailed breakdown of the requirements and features:

1. User Authentication: Implement user registration and login functionalities using secure methods.
2. Account Management: Users should be able to view and update their account information.
3. On-Chain Payment Initiation: Allow users to initiate payments to other accounts or external wallets using the SDK's on-chain payment capabilities.
4. Verifiable Consent: Ensure every transaction requires explicit user consent before being processed.
5. Transaction History: Provide a feature for users to review their past transactions, including details such as amount, recipient, and status.
6. Security Measures: Utilize the SDK's security features to protect user data and ensure transactions are conducted safely.
7. Integration Testing: Develop test cases to verify the functionality of the app, focusing on both the SDK integration and overall user experience.

The 'agentguard-python-sdk' package will be crucial in enabling the secure handling of on-chain payments and ensuring all transactions are verifiable and consent-based. Your task is to design and implement this mini-app from scratch, providing clear documentation and instructions for others to understand and potentially contribute to the project.