apftool

v0.5.14 suspicious
4.0
Medium Risk

Encoder and decoder for Aperture Science Image Format (apf), Aperture Science Image Format 2 (apf2), Wireless Bitmap (wbmp), Over-The-Air Bitmap (otb), and FaceDev's .bruh format

πŸ€– AI Analysis

Final verdict: SUSPICIOUS

The package has a moderate risk score due to suspicious metadata, including a non-HTTPS link and low maintainer activity, which raises concerns about potential supply-chain risks.

  • Suspicious non-HTTPS link found in metadata
  • Low maintainer activity suggests possible abandonment or lack of updates
Per-check LLM notes
  • Network: No network calls detected, which is normal unless the tool requires online functionality.
  • Shell: No shell execution detected, indicating no immediate risk of command injection or similar attacks.
  • Metadata: Suspicious non-HTTPS link and low maintainer activity suggest potential risk.

πŸ“¦ Package Quality Overall: Low (2.8/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 (5665 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

  • 26 type-annotated function signatures detected in source
β—‹ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked β€” contributor count unavailable

πŸ”¬ 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://portalwiki.asshatter.org/index.php/Aperture_Image_Format.html
βœ“ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author "Mari (kbity)" 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 apftool
Create a versatile image converter tool using the 'apftool' Python package. This tool will allow users to encode and decode images into various formats supported by the Aperture Science Image Format (APF), APF2, Wireless Bitmap (WBMP), Over-The-Air Bitmap (OTB), and FaceDev's .bruh format. The application should provide a user-friendly interface for selecting input files and specifying output formats. Additionally, include options to preview the converted images before saving them. Here’s a detailed breakdown of the steps and features to implement:

1. **Setup**: Begin by installing the 'apftool' package. Ensure your environment is set up to handle different image file types.
2. **User Interface**: Design a simple GUI using a library like Tkinter. The UI should allow users to select an input image file and choose from a dropdown menu of supported output formats.
3. **Conversion Logic**: Utilize the 'apftool' package to handle the conversion processes. Implement functions to encode and decode images based on the selected format.
4. **Preview Feature**: After converting the image, display it in a preview window within the application. Allow users to confirm if they want to save the image or cancel the operation.
5. **Save Options**: Provide options to save the converted image directly to the user's specified directory. Include functionality to rename the file if desired.
6. **Error Handling**: Ensure the application gracefully handles errors such as unsupported file types or conversion issues.
7. **Documentation**: Write clear documentation explaining how to use the application, including any prerequisites and usage instructions.
8. **Testing**: Test the application thoroughly to ensure all features work as expected. Consider edge cases, such as very large images or non-standard file types.

By following these steps, you'll create a useful and user-friendly tool that leverages the unique capabilities of the 'apftool' package.

πŸ’¬ Discussion Feed

Leave a comment

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