ahjo

v3.11.5 safe
4.0
Medium Risk

Database deployment framework

🤖 AI Analysis

Final verdict: SAFE

The package shows low risk for network and shell vulnerabilities. However, the metadata suggests a potential new maintainer due to having only one published package, and there is a non-HTTPS link present in the documentation.

  • Single package from the author, suggesting possibly new or less active maintainer.
  • Non-HTTPS link in the package documentation.
Per-check LLM notes
  • Network: No network calls detected, which is normal if the package does not require internet access.
  • Shell: No shell execution patterns detected, indicating the package does not execute system commands.
  • Metadata: The author has only one package, which might indicate a new or less active maintainer, and there's a non-HTTPS link in the package documentation.

📦 Package Quality Overall: Low (4.2/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 (43070 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

  • Type checker (mypy / pyright / pytype) referenced in project
✦ High Multiple Contributors 8.0

Active multi-contributor project

  • 4 unique contributor(s) across 100 commits in ALMPartners/ahjo
  • Small but multi-author team (3–4 contributors)

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

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

Email domain looks legitimate: almpartners.fi

Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://www.apache.org/licenses/LICENSE-2.0
Git Repository History

Repository ALMPartners/ahjo appears legitimate

Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "ALM Partners Oy" 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 ahjo
Your task is to create a small, yet powerful database management utility using the 'ahjo' package in Python. This utility will serve as a versatile tool for deploying and managing databases efficiently. The application should allow users to deploy SQL scripts, manage database objects such as tables, views, and stored procedures, and perform basic database maintenance tasks like backup and restore operations.

Here are the key steps and features your application should include:
1. **Database Connection Setup**: Implement a user-friendly interface where users can input their database connection details (e.g., host, port, username, password). Use 'ahjo' to establish a secure connection to the target database.
2. **SQL Script Deployment**: Create a feature that allows users to upload SQL scripts (.sql files) which will then be executed against the connected database. Ensure error handling is robust, providing clear feedback if any part of the script fails to execute.
3. **Object Management**: Develop functionality to list all existing tables, views, and stored procedures in the database. Additionally, provide options to create, update, or delete these objects based on user input.
4. **Backup & Restore**: Integrate backup and restore capabilities. Users should be able to initiate a full database backup to a specified location and also restore from a previously saved backup file.
5. **Logging & Reporting**: Implement logging for all actions performed through the utility. Logs should include timestamps, action types, and outcomes. Provide a reporting feature that summarizes recent activities for auditing purposes.

To utilize 'ahjo', you'll need to leverage its core functionalities for database deployment and management. For instance, use 'ahjo' to read and execute SQL scripts, manage database objects, and handle transactions safely. Make sure to document each step clearly and provide examples where applicable.