atsdk

v0.2.63 safe
4.0
Medium Risk

Python SDK for atPlatform

🤖 AI Analysis

Final verdict: SAFE

The package shows some signs of obfuscation but lacks indicators of malicious intent such as network exploitation, shell execution, or credential theft. The metadata suggests a new or less active account but does not raise significant concerns.

  • Moderate obfuscation through base64 decoding and AES encryption
  • No evidence of malicious activities
Per-check LLM notes
  • Network: The use of requests.Session() is common for making HTTP requests and does not inherently suggest malicious activity.
  • Shell: No shell execution patterns were detected.
  • Obfuscation: The presence of base64 decoding and AES encryption suggests potential obfuscation but could also be legitimate use of cryptographic functions.
  • Credentials: No clear patterns indicating credential harvesting have been detected.
  • Metadata: The author has only one package, which could indicate a new or less active account, but no other red flags are present.

📦 Package Quality Overall: Medium (5.0/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (6070 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Separate author ("Umang Shah") and maintainer ("Chris Swan") listed
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 37 type-annotated function signatures detected in source
✦ High Multiple Contributors 10.0

Active multi-contributor project

  • 5 unique contributor(s) across 100 commits in atsign-foundation/at_python
  • Active community — 5 or more distinct contributors

🔬 Heuristic Checks

Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • self): self.session = requests.Session() self.headers = { "Content-Type": "appl
Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • ption_key_shared_by_other, iv=base64.b64decode(ivNonce)) new_event_data = dict(
  • encode('utf-8') key = base64.b64decode(key_base64) cipher = Cipher(algorithms.AES(key), mod
  • * 16): cipher_text = base64.b64decode(encrypted_text) key = base64.b64decode(self_encrypti
  • encrypted_text) key = base64.b64decode(self_encryption_key) cipher = Cipher(algorithms.AES(
  • vate_key.decrypt( base64.b64decode(cipher_text), rsa_padding.PKCS1v15() )
  • ase64(s): key_bytes = base64.b64decode(s.encode('utf-8')) return load_der_private_key(key_b
Shell / Subprocess Execution

No shell execution patterns detected

Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

Email domain looks legitimate: gmail.com

Suspicious Page Links

All external links appear legitimate

Git Repository History

Repository atsign-foundation/at_python appears legitimate

Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Umang Shah" 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 atsdk
Create a mini-application called 'atPlatform Dashboard' that leverages the Python package 'atsdk' to interact with and manage resources on the atPlatform. This application will serve as a user-friendly interface for monitoring and controlling various aspects of your atPlatform environment, including but not limited to managing users, roles, and permissions, as well as deploying and scaling applications.

### Core Features:
1. **User Management**: Allow users to view, add, edit, and delete user profiles within the atPlatform environment.
2. **Role & Permission Control**: Enable administrators to assign roles and permissions to different users based on their responsibilities.
3. **Application Deployment**: Provide functionality to deploy new applications to the atPlatform and monitor their status.
4. **Resource Scaling**: Implement tools for dynamically scaling resources up or down based on demand.
5. **Health Monitoring**: Display real-time health metrics of deployed applications, including CPU usage, memory usage, and network activity.

### Utilization of 'atsdk':
- Use the 'atsdk' package to authenticate and establish a connection to the atPlatform.
- Leverage the provided functions in 'atsdk' to perform CRUD operations on user data.
- Utilize 'atsdk' methods for role management, such as assigning and revoking permissions.
- Employ 'atsdk' deployment APIs to upload and manage application instances.
- Integrate 'atsdk' monitoring APIs to retrieve and display application health data.

### Development Steps:
1. Set up a virtual environment and install 'atsdk' along with other necessary dependencies like Flask for web framework.
2. Design the database schema and models to store user data and application configurations.
3. Implement authentication and authorization mechanisms using 'atsdk'.
4. Develop RESTful API endpoints for each feature using Flask.
5. Create a frontend using HTML/CSS/JavaScript to provide a seamless user experience.
6. Test all functionalities thoroughly to ensure reliability and performance.
7. Deploy the application on a cloud service provider of choice.

This project aims to demonstrate the power and flexibility of 'atsdk' in building robust, scalable applications for the atPlatform.

💬 Discussion Feed

Leave a comment

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