anime-sama-cli

v1.0.2 safe
4.0
Medium Risk

Regarder ou télécharger des animés en VF/VOSTFR depuis le terminal (anime-sama.to)

🤖 AI Analysis

Final verdict: SAFE

The package appears legitimate for its intended use, with low risks associated with obfuscation, credentials, and metadata. The primary concerns are related to network and shell execution risks, which are relatively common for packages that interact with external services.

  • Low risk scores for obfuscation and credential handling.
  • Moderate network and shell execution risks that align with expected functionality.
Per-check LLM notes
  • Network: The network calls are likely used for fetching content related to anime, which is consistent with the package's presumed purpose.
  • Shell: Executing commands via subprocess might be necessary for functionality but could pose a risk if not properly sanitized or controlled.
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The author's information is incomplete and the account seems new or inactive, raising some concerns but not strong indicators of malicious intent.

📦 Package Quality Overall: Medium (6.6/10)

✦ High Test Suite 9.0

Test suite present — 9 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/CheikhNaro/anime-sama-cli#readme
  • Detailed PyPI description (7220 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

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

Partial type annotation coverage

  • 124 type-annotated function signatures detected in source
✦ High Multiple Contributors 8.0

Active multi-contributor project

  • 3 unique contributor(s) across 45 commits in CheikhNaro/anime-sama-cli
  • Small but multi-author team (3–4 contributors)

🔬 Heuristic Checks

Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • result try: req = urllib.request.Request( page_url, headers={"User-Ag
  • li)"}, ) with urllib.request.urlopen(req, timeout=8) as resp: html = resp.rea
  • request req = urllib.request.Request( image_url,
  • ) with urllib.request.urlopen(req, timeout=10) as resp: cached
  • =" * 80) try: response = httpx.get( url, headers={"User-Agent": ""}, timeout=10.0, foll
  • script_videos.js" page = httpx.get(SCRIPT_VIDEO_URL).text langs = {} matchs = re.fi
Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • , "dos"): return subprocess.Popen(command) else: return subprocess.Popen
  • else: return subprocess.Popen( command, stdout=subprocess.PIPE, stderr=su
  • bool: try: out = subprocess.run( ["fzf", "--version"], capture_outpu
  • " else "vlc" try: subprocess.run([cmd, "--version"], capture_output=True, timeout=5) exce
  • result = subprocess.run( ["chafa", "--size", cover_size, "--
  • one try: result = subprocess.run(cmd, input=fzf_input, text=True, capture_output=True, timeou
Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

No author email provided

Suspicious Page Links

All external links appear legitimate

Git Repository History

Repository CheikhNaro/anime-sama-cli 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 anime-sama-cli
Create a command-line interface (CLI) application using the Python package 'anime-sama-cli' to stream or download anime episodes directly from your terminal. Your application should allow users to search for anime series, browse through available episodes, and choose to either watch them online or download them for offline viewing. Here are the steps and features you need to implement:

1. **Setup Environment**: Ensure Python 3.6+ is installed on the system. Install 'anime-sama-cli' via pip.
2. **User Interface**: Design a simple yet user-friendly CLI that lists anime categories, popular shows, and allows keyword searches.
3. **Anime Search**: Implement a feature that lets users search for anime by title, season, or genre. Display results with relevant information such as episode count, airing status, and synopsis.
4. **Episode Selection**: Allow users to select a specific anime series and navigate through its episodes. Each episode should have options for streaming or downloading.
5. **Streaming and Downloading**: Integrate functionality to stream selected episodes directly in the terminal or download them to a specified directory. Provide progress indicators during downloads.
6. **Favorites List**: Enable users to add their favorite anime series to a personal favorites list for quick access.
7. **History Tracking**: Keep track of the last viewed episodes and display a history log.
8. **Help Documentation**: Include comprehensive help documentation within the CLI that explains all commands and functionalities.

Use the 'anime-sama-cli' package to handle the underlying logic of searching, fetching, and processing anime data. Customize the output to fit your CLI design and enhance user experience.

💬 Discussion Feed

Leave a comment

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