awa-cli

v0.5.7 suspicious
6.0
Medium Risk

CLI for the Awa Postgres-native job queue (migrations, admin, serve)

πŸ€– AI Analysis

Final verdict: SUSPICIOUS

The package shows minimal direct risks but has a suspicious metadata score due to a non-HTTPS link and a new maintainer with only one package, raising concerns about potential supply-chain attacks.

  • Suspicious non-HTTPS link in package description
  • New maintainer with a single package
Per-check LLM notes
  • Network: No network calls detected, which is normal if the package does not require internet access.
  • Shell: No shell execution detected, indicating the package likely does not execute external commands.
  • Obfuscation: No obfuscation patterns detected, indicating low risk of malicious obfuscation.
  • Credentials: No credential harvesting patterns detected, indicating low risk of malicious activity related to secret harvesting.
  • Metadata: Suspicious non-HTTPS link and new maintainer with single package suggest potential risk.

πŸ“¦ Package Quality Overall: Low (4.6/10)

β—‹ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
β—ˆ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/hardbyte/awa#cli
  • Detailed PyPI description (1428 chars)
β—‹ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
β—‹ Low Type Annotations 1.0

No type annotations detected

  • No type annotations, py.typed marker, or stub files detected
✦ High Multiple Contributors 10.0

Active multi-contributor project

  • 5 unique contributor(s) across 100 commits in hardbyte/awa
  • Active community β€” 5 or more distinct 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

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:3000
βœ“ Git Repository History

Repository hardbyte/awa appears legitimate

⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Brian Thorne" 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 awa-cli
Create a task management application using Python that leverages the 'awa-cli' package to manage a PostgreSQL-based job queue. Your application should allow users to submit tasks, view the status of their tasks, and cancel tasks if necessary. Here’s a detailed breakdown of what your application should include:

1. **Task Submission**: Users should be able to submit tasks via a command-line interface. Each task will have a unique identifier, a description, and a priority level.
2. **Job Queue Management**: Use 'awa-cli' to set up and manage the job queue. This includes running migrations to create the necessary database tables, starting the job server, and performing administrative tasks like viewing job statuses.
3. **Task Status Updates**: Implement a feature where users can check the status of their submitted tasks. The system should display whether a task is pending, processing, completed, or failed.
4. **Task Cancellation**: Allow users to cancel tasks that are still in the queue or being processed, provided they haven't already been completed or marked as failed.
5. **Admin Interface**: Develop a simple admin interface that allows administrators to manage the job queue directly. They should be able to view all tasks, force-cancel tasks, and perform other administrative actions.
6. **Logging and Monitoring**: Integrate logging and monitoring features to track the performance of the job queue and individual tasks. Logs should capture when tasks were added, started, completed, or failed, along with any relevant error messages.

Your application should demonstrate proficiency in using 'awa-cli' for setting up and managing the PostgreSQL-based job queue, as well as handling tasks from submission to completion through the command line.

πŸ’¬ Discussion Feed

Leave a comment

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