MoleditPy-linux

v3.6.4 suspicious
4.0
Medium Risk

A cross-platform, simple, and intuitive molecular structure editor built in Python. It allows 2D molecular drawing and 3D structure visualization. It supports exporting structure files for input to DFT calculation software.

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package has some legitimate functionalities but raises concerns due to its use of subprocess.run and base64 encoding, along with incomplete metadata. These factors suggest potential risks that need further investigation.

  • Use of subprocess.run
  • Base64 encoding for data
  • Incomplete maintainer information
Per-check LLM notes
  • Network: No network calls were detected, which is low risk.
  • Shell: The use of subprocess.run to execute scripts might be legitimate, but it could also indicate potential risks such as executing arbitrary code.
  • Obfuscation: The use of base64 encoding to decode binary data suggests potential obfuscation but could also be legitimate for data storage or transmission.
  • Credentials: No clear evidence of credential harvesting patterns detected.
  • Metadata: The maintainer's author name is missing and the account seems new or inactive, raising some suspicion but not definitive evidence of malice.

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • mol_binary = base64.b64decode(mol_base64.encode("ascii")) self.host.v
Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • try: result = subprocess.run( [sys.executable, "-c", script],
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 HiroYokoyama/python_molecular_editor 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 MoleditPy-linux
Create a fully-functional mini-application named 'MolecularSketcher' that leverages the 'MoleditPy-linux' Python package to enable users to draw and visualize molecular structures easily. The application should allow users to perform the following tasks:

1. Draw molecules in 2D format using an interactive interface.
2. Visualize the drawn molecules in 3D for better understanding of their spatial arrangements.
3. Save the molecular structure files in formats suitable for DFT calculations (e.g., .xyz).
4. Load pre-existing molecular structures from file inputs to edit or view.
5. Provide basic editing tools such as adding or removing atoms, changing bond types, etc.
6. Include a feature to calculate and display basic properties of the molecule like molecular weight, number of atoms, etc.
7. Offer an option to export the drawn molecule to a file that can be directly used in common DFT software like Gaussian or ORCA.

The application should be designed with a user-friendly interface and provide clear instructions on how to use each feature. Additionally, it should include error handling mechanisms to ensure smooth operation even if invalid inputs are provided.

Utilize the 'MoleditPy-linux' package to implement the 2D drawing and 3D visualization functionalities. Ensure that the integration with 'MoleditPy-linux' is seamless and that its core features are effectively utilized to enhance the user experience.