anipy-api

v3.8.12 suspicious
5.0
Medium Risk

api for anipy-cli

πŸ€– AI Analysis

Final verdict: SUSPICIOUS

The package exhibits high obfuscation risk and contains suspicious hard-coded strings, raising concerns about potential malicious intent despite low risks in network and shell execution.

  • High obfuscation risk
  • Suspicious hard-coded strings
Per-check LLM notes
  • Network: The observed network patterns are typical for making HTTP requests and handling retries, which is likely legitimate for an API interaction.
  • Shell: No shell execution patterns were detected.
  • Obfuscation: The observed patterns suggest deliberate obfuscation through base64 decoding and custom padding, which could indicate an attempt to hide code logic.
  • Credentials: No clear evidence of credential harvesting is present; however, the presence of hard-coded strings like 'Xot36i3lK3:v1' may warrant further investigation.
  • Metadata: The author has only one package, suggesting a potentially new or less active account, but no other red flags are present.

πŸ“¦ Package Quality Overall: Medium (5.0/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://sdaqo.github.io/anipy-cli/getting-started-api
  • Brief PyPI description (226 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

  • 129 type-annotated function signatures detected in source
✦ High Multiple Contributors 10.0

Active multi-contributor project

  • 9 unique contributor(s) across 100 commits in sdaqo/anipy-cli
  • Active community β€” 5 or more distinct contributors

πŸ”¬ Heuristic Checks

⚠ Outbound Network Calls score 3.0

Found 2 network call pattern(s)

  • ) self._session = requests.Session() adapter = HTTPAdapter(max_retries=Retry(connect=3
  • ) req = requests.get(sub.url, headers={"Referer": stream.referrer})
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • beparsed(tbp: str): raw = base64.b64decode(tbp) key = hashlib.sha256("Xot36i3lK3:v1".encode()).dige
  • len(s) % 4 else s return base64.b64decode(s.replace("-", "+").replace("_", "/")).decode("latin-1") d
  • "=" * (-len(n) % 4) raw = base64.b64decode(padded.replace("-", "+").replace("_", "/")) result = []
βœ“ 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: protonmail.com

βœ“ Suspicious Page Links

All external links appear legitimate

βœ“ Git Repository History

Repository sdaqo/anipy-cli appears legitimate

⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "sdaqo" 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 anipy-api
Your task is to develop a simple yet powerful anime tracker application using Python, leveraging the 'anipy-api' package. This application will allow users to easily keep track of their favorite anime series, including the ability to add new shows, mark episodes as watched, and receive notifications about upcoming episodes. Here’s a detailed breakdown of what your application should include:

1. **User Authentication**: Implement basic user authentication so that each user can have their own list of tracked anime.
2. **Anime Database Integration**: Use 'anipy-api' to fetch information about various anime series, including titles, episode counts, airing schedules, and more.
3. **Adding Anime**: Users should be able to add anime series to their personal list from the fetched database.
4. **Episode Tracking**: Allow users to mark episodes as watched and store this data locally.
5. **Notifications**: Integrate a feature that sends email notifications when a new episode of a tracked anime is available.
6. **Search Functionality**: Implement a search bar where users can look up anime by title.
7. **UI/UX**: Design a clean and intuitive interface for ease of use. Consider using a web framework like Flask for the frontend.

**How 'anipy-api' fits in**: 
- Utilize 'anipy-api' to interact with the anime database API, fetching necessary data such as anime titles, episode details, and airing schedules.
- Use this data to populate dropdown lists, search results, and other dynamic content within the application.
- Ensure that all interactions with the 'anipy-api' are efficient and optimized for performance.

This project aims to provide a seamless experience for anime enthusiasts to manage their viewing habits and stay updated on their favorite shows. Get creative with your design and implementation choices!

πŸ’¬ Discussion Feed

Leave a comment

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