ai-text-cleaner

v0.1.0 suspicious
4.0
Medium Risk

Regelbasierter + LLM-gestützter Cleaner für KI-typische Schreibmuster in deutschen Texten.

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package shows unusual activity patterns in its metadata, suggesting possible suspicious behavior. However, other aspects like shell execution need closer inspection, while there are no immediate signs of malicious intent or network risks.

  • Unusual metadata risk due to rapid commits and low engagement
  • Potential shell execution needs further verification
Per-check LLM notes
  • Network: No network calls detected, which is normal for most text processing packages.
  • Shell: Shell execution may be part of the package's functionality to run CLI commands, but requires scrutiny to ensure it doesn't execute unauthorized commands.
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The package is newly created with unusual activity patterns such as rapid commits and a low number of repository engagements, indicating potential risk.

📦 Package Quality Overall: Low (4.6/10)

✦ High Test Suite 9.0

Test suite present — 7 test file(s) found

  • Test runner config found: pyproject.toml
  • 7 test file(s) detected (e.g. test_bm_json.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (3000 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

  • 39 type-annotated function signatures detected in source
○ Low Multiple Contributors 2.0

Single-author or unverifiable project

  • 1 unique contributor(s) across 5 commits in web-werkstatt/ai-text-cleaner
  • Single author with few commits — possibly a personal or throwaway project

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • .CompletedProcess: return subprocess.run( [sys.executable, "-m", "ai_text_cleaner.cli", *args
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 score 5.0

Git history flags: Repository has zero stars and zero forks

  • Repository has zero stars and zero forks
  • All 5 commits happened within 24 hours
Maintainer History score 4.0

2 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • Author "web-werkstatt" 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 ai-text-cleaner
Create a mini-application called 'TextPurifier' that leverages the 'ai-text-cleaner' package to enhance the readability and grammatical correctness of German texts contaminated with AI-generated anomalies. This tool will be particularly useful for bloggers, content writers, and anyone who frequently interacts with AI-generated text. Here’s how you can structure your project:

1. **Setup**: Begin by installing the 'ai-text-cleaner' package using pip. Also, include other necessary Python libraries such as Flask for web development if you plan to create a web interface.

2. **Core Functionality**: Develop the main function of your application which takes raw text as input and outputs a cleaned version. Use 'ai-text-cleaner' to identify and correct common issues like unnatural sentence structures, repetitive words, incorrect punctuation, and other anomalies typical in AI-generated German texts.

3. **Enhanced Features**:
   - **Grammar Check**: Implement a feature that not only cleans the text but also checks for grammatical errors specific to German language, leveraging the 'ai-text-cleaner' capabilities.
   - **Custom Rules**: Allow users to define their own cleaning rules, which could be specific to certain writing styles or preferences.
   - **Feedback Loop**: Integrate a mechanism where users can provide feedback on the cleaned text, helping improve the model over time.

4. **User Interface**: Design a simple yet effective user interface using Flask or any preferred framework. The UI should allow users to paste their text, select cleaning options, and view the cleaned result.

5. **Testing and Documentation**: Thoroughly test the application with various types of German texts, including those known to have AI-generated anomalies. Document all functionalities and how they work together to ensure ease of use and understanding.

By following these steps, you'll create a versatile and user-friendly application that significantly improves the quality of German text, making it more natural and human-like.