almasru

v3.1.1 suspicious
4.0
Medium Risk

This python module is a tool to use Alma SRU. it manages the logs and the backup of the records.

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package has no clear signs of malicious activity, but the missing author information and the apparent inactivity of the maintainer raise concerns about its legitimacy and ongoing support.

  • Missing author information
  • Maintainer appears to be new or inactive
Per-check LLM notes
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The maintainer's author name is missing and they appear to be new or inactive, which raises some concern but does not strongly indicate malicious intent.

📦 Package Quality Overall: Medium (5.8/10)

✦ High Test Suite 9.0

Test suite present — 3 test file(s) found

  • 3 test file(s) detected (e.g. test_briefrec.py)
◈ Medium Documentation 5.0

Some documentation present

  • Brief PyPI description (533 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

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

Active multi-contributor project

  • 4 unique contributor(s) across 83 commits in Swiss-Library-Service-Platform/almasru
  • Small but multi-author team (3–4 contributors)

🔬 Heuristic Checks

Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • try: r = requests.get(self.base_url, params=params, timeout=10)
Code Obfuscation

No obfuscation patterns detected

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: slsp.ch>

Suspicious Page Links

All external links appear legitimate

Git Repository History

Repository Swiss-Library-Service-Platform/almasru 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 almasru
Create a mini-application called 'AlmaLogBackup' that leverages the 'almasru' Python package to manage and automate the process of logging and backing up records from an Alma SRU service. The application should have the following functionalities:

1. **Connection Setup**: Allow users to configure the connection settings for their Alma SRU service, including server URL, port, and any necessary authentication credentials.
2. **Logging Mechanism**: Implement a logging mechanism to record all interactions with the Alma SRU service, including successful requests, errors, and timestamps. Logs should be stored in a structured format such as JSON.
3. **Backup Functionality**: Develop a feature to periodically back up records from the Alma SRU service to a local storage directory. Users should be able to specify the frequency of backups (e.g., daily, weekly).
4. **Error Handling**: Ensure the application gracefully handles errors and retries failed operations according to user-defined parameters.
5. **User Interface**: Provide a simple command-line interface for users to interact with the application, including options to start/stop the logging and backup processes, view logs, and check backup status.
6. **Configuration Management**: Allow users to save and load configurations for easy management of multiple Alma SRU services.
7. **Security Measures**: Implement basic security measures such as encrypting sensitive information like passwords and ensuring secure transmission of data when connecting to the Alma SRU service.

The 'almasru' package will be utilized primarily for managing connections to the Alma SRU service and handling the retrieval and processing of records. It will also assist in the logging and backup functionalities by providing tools and methods specific to Alma SRU operations.