AI Analysis
The package shows moderate risks related to credential handling and metadata integrity, with no direct evidence of malicious intent but concerns over security practices and maintenance.
- Credential risk due to reliance on environment variables for AWS credentials
- Red flags in metadata including non-secure links and low maintainer activity
Per-check LLM notes
- Network: No network calls detected, which is normal unless the package is designed to interact with external services like AWS.
- Shell: No shell execution patterns detected, indicating the package does not execute system commands.
- Obfuscation: No obfuscation patterns detected in the provided code snippets.
- Credentials: The code appears to be retrieving AWS credentials from environment variables, which is a common practice but should be handled securely to prevent unauthorized access.
- Metadata: The package shows some red flags such as non-secure links and low maintainer activity, but lacks clear evidence of malice.
Package Quality Overall: Medium (5.8/10)
Test suite present — 35 test file(s) found
Test runner config found: conftest.pyTest runner config found: pyproject.toml35 test file(s) detected (e.g. conftest.py)
Some documentation present
Detailed PyPI description (12288 chars)
No contributing guide or governance files found
No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
Partial type annotation coverage
Type checker (mypy / pyright / pytype) referenced in project1032 type-annotated function signatures detected in source
Limited contributor diversity
2 unique contributor(s) across 19 commits in harryhazza77/aws-safe-mcpTwo distinct contributors found
Heuristic Checks
No suspicious network call patterns found
No obfuscation patterns detected
No shell execution patterns detected
Found 4 credential access pattern(s)
_argument("--config", default=os.environ.get("AWS_SAFE_MCP_CONFIG")) parser.add_argument("--profile", defaargument("--profile", default=os.environ.get("AWS_PROFILE")) parser.add_argument( "--region","--region", default=os.environ.get("AWS_REGION") or os.environ.get("AWS_DEFAULT_REGION"), ).environ.get("AWS_REGION") or os.environ.get("AWS_DEFAULT_REGION"), ) parser.add_argument( "--
No typosquatting candidates detected
No author email provided
Found 2 suspicious link(s) on the package page
Non-HTTPS external link: http://127.0.0.1:4566Non-HTTPS external link: http://127.0.0.1:4572
Git history flags: Repository has zero stars and zero forks
Repository has zero stars and zero forks
1 maintainer concern(s) found
Author "Haresh Patel" appears to have only 1 package on PyPI (new or inactive account)
No known vulnerabilities found in OSV database.
AI App Starter Prompt
Create a Python-based mini-application named 'AWS Explorer' that allows users to securely investigate their AWS resources through a read-only, opinionated MCP server provided by the 'aws-safe-mcp' package. The application should have the following core functionalities: 1. **User Authentication**: Implement a simple login system where users can authenticate using their AWS credentials securely. 2. **Resource Inquiry**: Allow users to query various AWS resources such as EC2 instances, S3 buckets, RDS databases, etc., by providing a user-friendly interface or command-line options. 3. **Resource Details Display**: Once queried, display detailed information about the selected AWS resources in a structured format (e.g., JSON). 4. **Security Measures**: Ensure that all interactions with AWS resources are done in a read-only mode, adhering to the principles of 'aws-safe-mcp'. 5. **Logging and Reporting**: Integrate logging capabilities to record all user activities and resource queries for auditing purposes. 6. **Optional Features**: Consider adding optional features like resource tagging, filtering resources based on specific criteria (e.g., region, type), and exporting resource details to CSV or JSON files. The 'aws-safe-mcp' package will be primarily utilized to establish a secure connection to AWS resources, ensuring that all operations are performed in a safe, read-only manner. This package will also help in managing the server-side configuration necessary for the MCP server to function effectively. Your task is to design and implement this mini-application from scratch, making sure it meets the requirements outlined above while leveraging the 'aws-safe-mcp' package for its core functionalities.
💬 Discussion Feed
No discussion yet. Be the first to share your thoughts!
Report Abuse / Security Issue