aimux

v0.1.2 suspicious
5.0
Medium Risk

AI-agent-friendly tmux wrapper: unified local + remote sessions, single-pane sessions, safe primitives.

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package shows moderate risks due to potential obfuscation and SSH execution capabilities, which could be exploited for malicious purposes.

  • Signs of code obfuscation
  • Potential for SSH-based command execution
Per-check LLM notes
  • Network: No network calls detected, which is not necessarily suspicious but should be verified against the package's intended functionality.
  • Shell: SSH execution patterns may indicate remote command execution capabilities, which could be used for legitimate purposes but also pose a risk if misused for unauthorized access or other malicious activities.
  • Obfuscation: The code snippet shows signs of obfuscation which could be an attempt to hide the true functionality of the code, raising some suspicion.
  • Credentials: No clear evidence of credential harvesting is present in the provided code snippet.
  • Metadata: Low activity and lack of detailed metadata suggest potential low effort or inactivity, but insufficient evidence for high suspicion.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 21 test file(s) found

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

Some documentation present

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

  • 247 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ent"] = content print(__import__("json").dumps(payload, ensure_ascii=False)) raise typer.Exi
Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • f 0 as resolvable.""" r = subprocess.run( ["ssh", "-G", host], capture_output=True, t
  • otonic() try: r = subprocess.run( [ "ssh", "-o",
  • lure.""" try: r = subprocess.run( [ "ssh", "-o",
  • otonic() try: r = subprocess.run(args, capture_output=True, text=True, timeout=timeout + 5)
  • _base() + list(args) r = subprocess.run( cmd, capture_output=capture, text=T
  • tmux server is up.""" r = subprocess.run( ["tmux", "-L", SOCKET_NAME, "ls"], capture_
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

No GitHub repository linked

  • No GitHub repository link found
Maintainer History score 4.0

2 maintainer concern(s) found

  • Author "aimux" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with aimux
Create a versatile terminal multiplexer control utility named 'SessionMaster' using the Python package 'aimux'. This utility will allow users to manage tmux sessions both locally and remotely, ensuring seamless integration and management of their terminal environments. The application should provide functionalities such as starting new sessions, attaching to existing ones, detaching from sessions, and even managing remote sessions across different machines.

Core Features:
1. **Session Management**: Users should be able to create new tmux sessions and attach/detach from them easily.
2. **Remote Session Control**: Integrate the ability to manage tmux sessions on remote servers through SSH. This includes creating sessions, attaching, and detaching from them without the need for manual SSH login.
3. **Unified Interface**: Provide a unified interface where local and remote sessions are managed through a single command-line interface.
4. **Safe Operations**: Ensure all operations are performed safely, avoiding any accidental session termination or data loss.
5. **Custom Commands**: Allow users to define custom commands that can be executed within a session, enhancing productivity and automation.

How 'aimux' is Utilized:
- Use 'aimux' to wrap tmux commands, providing a safer and more consistent way to handle tmux operations both locally and remotely.
- Leverage 'aimux' to ensure that all remote interactions are handled securely and efficiently, reducing the overhead of manual SSH connections.
- Implement 'aimux' primitives to create safe and reliable session management operations, preventing common pitfalls associated with tmux usage.

The final product should be a Python script or a CLI tool that users can run from their terminal, providing a robust solution for tmux session management.