animepahe-dl

v5.10.1 suspicious
6.0
Medium Risk

A feature-rich anime downloader with CLI and GUI support

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package exhibits signs of potential obfuscation and shell execution, which raises concerns about its true intentions and the possibility of misuse.

  • High obfuscation risk due to use of eval and script modification.
  • Potential shell risk indicating possible execution of external commands.
Per-check LLM notes
  • Network: No network calls detected, which is normal for a package that does not require internet access.
  • Shell: Detection of shell execution patterns suggests the package may execute external commands, potentially for functionality like launching media players or adjusting system settings, but could also indicate potential risks if commands are misused.
  • Obfuscation: The presence of eval and attempts to modify the script text suggest potential for code injection or evasion techniques.
  • Credentials: No direct evidence of credential harvesting patterns, but low risk cannot be entirely ruled out without further analysis.
  • Metadata: The maintainer has a new or inactive account and lacks a proper author name, raising some suspicion but not conclusive evidence of malice.

📦 Package Quality Overall: Medium (7.0/10)

✦ High Test Suite 9.0

Test suite present — 6 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 6 test file(s) detected (e.g. __init__.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/ayushjaipuriyar/animepahe-dl#readme
  • Detailed PyPI description (19230 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 70 type-annotated function signatures detected in source
✦ High Multiple Contributors 8.0

Active multi-contributor project

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

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • .string or "" if "eval(" in script_text: modified_script = (
  • .replace("eval(", "console.log(") ) try:
Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • try: p = subprocess.run( ["node", "-e", modified_script],
  • ] process = subprocess.Popen( cmd, stdout=subprocess.PIPE,
  • oin(cmd)}") process = subprocess.Popen(cmd) logger.success(f"✓ Launched {player} for {anime
  • result = subprocess.run(['gsettings', 'get', 'org.gnome.desktop.interface', 'gtk-the
  • result = subprocess.run(['gsettings', 'get', 'org.gnome.desktop.interface', 'color-s
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 ayushjaipuriyar/animepahe-dl appears legitimate

Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" 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 animepahe-dl
Create a fully functional mini-application that leverages the 'animepahe-dl' Python package to download anime episodes directly from AnimePahe. This application should provide a user-friendly interface for selecting anime series and specific episodes to download. Here are the key features and steps to implement:

1. **User Interface**: Develop both a command-line interface (CLI) and a graphical user interface (GUI) using a library like PyQt5. The GUI should have a clean layout with options to search for anime, select episodes, and start downloads.
2. **Search Functionality**: Implement a search function that allows users to find anime titles by name. Use the 'animepahe-dl' package to query the AnimePahe API for matching results.
3. **Episode Selection**: Once an anime title is selected, display a list of available episodes for download. Users should be able to choose multiple episodes to download at once.
4. **Download Management**: Utilize the 'animepahe-dl' package to handle the downloading process. Ensure that the application manages download progress and handles interruptions gracefully (e.g., resuming downloads).
5. **Customization Options**: Allow users to customize their download settings such as quality, subtitle languages, and download directory.
6. **Logging and Notifications**: Implement logging to track download activities and notify users about the status of their downloads through the GUI.
7. **Error Handling**: Ensure robust error handling to manage common issues such as network errors, file permission issues, etc.
8. **Documentation**: Provide comprehensive documentation for both the CLI and GUI interfaces explaining how to use the application effectively.

By following these steps, you will create a versatile tool that makes it easy for anime enthusiasts to download their favorite shows directly from AnimePahe.

💬 Discussion Feed

Leave a comment

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