Sardou

v0.12.4 suspicious
6.0
Medium Risk

Sardou TOSCA Library

πŸ€– AI Analysis

Final verdict: SUSPICIOUS

The package has moderate risks due to shell execution and obfuscation techniques, which could indicate potential for malicious activities despite no clear evidence of actual harm.

  • Shell execution is present
  • Use of eval and obfuscated strings
Per-check LLM notes
  • Network: No network calls detected, which is typical and not indicative of malicious activity.
  • Shell: Shell execution is present but appears to be part of the intended functionality for parsing or executing commands. Further review of the package's purpose is recommended.
  • Obfuscation: The use of eval and obfuscated strings suggests potential for code injection or hiding malicious functionality.
  • Credentials: No clear patterns indicating credential harvesting were found.
  • Metadata: The package shows signs of low maintainer activity and poor metadata quality, raising some suspicion but not definitive evidence of malice.

πŸ”¬ Heuristic Checks

βœ“ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • = to_ask(tosca) fn = eval(result["svc"]["expression"]) assert fn({"host.num-cp
  • eqs.items(): fn = eval(entry["expression"]) assert callable(fn), (
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • try: result = subprocess.run( [PUCCINI_CMD, "parse", str(temp_file.name)]
  • mpletedProcess.""" return subprocess.run( ["sardou", *args], capture_output=True,
βœ“ Credential Harvesting

No credential harvesting patterns detected

βœ“ Typosquatting

No typosquatting candidates detected

βœ“ Registered Email Domain

Email domain looks legitimate: westminster.ac.uk>

βœ“ Suspicious Page Links

All external links appear legitimate

βœ“ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" 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 Sardou
Create a mini-application named 'ToscaOrchestrator' using the Python package 'Sardou', which is a library designed for working with TOSCA (Topology and Orchestration Specification for Cloud Applications). Your goal is to develop a tool that simplifies the creation, deployment, and management of cloud applications based on TOSCA templates. Here’s a step-by-step guide to building this application:

1. **Project Setup**: Initialize a new Python project and install the 'Sardou' package along with any necessary dependencies.
2. **Template Parsing**: Develop a feature that allows users to input or upload TOSCA YAML files. Use 'Sardou' to parse these templates and validate them against the TOSCA standard.
3. **Node Management**: Implement functionality to manage nodes within the parsed TOSCA template. This includes listing all nodes, their types, and properties.
4. **Deployment Simulation**: Create a simulation module that shows how the TOSCA template would be deployed. Use 'Sardou' to simulate the deployment process without actually deploying anything to the cloud.
5. **Customization Options**: Allow users to customize certain aspects of the TOSCA template, such as node properties or relationships, directly through the application interface.
6. **Validation Reports**: After parsing and customization, generate a detailed report that highlights any potential issues or warnings in the TOSCA template.
7. **Documentation**: Provide comprehensive documentation for both developers and end-users, explaining how to use the 'ToscaOrchestrator' application effectively.

Throughout the development process, focus on leveraging 'Sardou's capabilities to handle complex TOSCA templates efficiently. Ensure that your application is user-friendly and provides clear feedback at each step of the process.