aiguard-py

v0.5.0 suspicious
6.0
Medium Risk

AI驱动的Python代码安全审计工具

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package shows some signs of potential obfuscation and has metadata that raises concerns, such as a single package from an unmaintained git repository.

  • Obfuscation risk detected
  • No associated git repository found
Per-check LLM notes
  • Network: No network calls detected, which is normal unless the package requires internet access for its functionality.
  • Shell: No shell execution detected, indicating the package does not execute external commands.
  • Obfuscation: The observed pattern is likely used for obfuscating the current date and time, which could be part of a legitimate feature but may also indicate an attempt to hide functionality.
  • Credentials: No clear evidence of credential harvesting patterns detected.
  • Metadata: The maintainer has only one package and the git repository is not found, raising suspicion but not conclusive evidence of malice.

📦 Package Quality Overall: Low (2.0/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (1133 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
○ Low Type Annotations 1.0

No type annotations detected

  • No type annotations, py.typed marker, or stub files detected
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 404

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • <strong>扫描时间:</strong> {__import__('datetime').datetime.now().strftime('%Y-%m-%d %H:%M:%S')}<br>
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: 139.com>

Suspicious Page Links

All external links appear legitimate

Git Repository History score 3.0

Repository not found (deleted or private)

  • Repository not found (deleted or private)
Maintainer History score 2.0

1 maintainer concern(s) found

  • 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 aiguard-py
构建一个名为 'CodeGuard' 的小型应用程序,该应用使用 'aiguard-py' 包来自动化地审计和报告Python代码的安全性问题。'CodeGuard' 应用程序将允许用户上传他们的Python源代码文件或直接输入代码文本,并通过 'aiguard-py' 进行分析。此应用的主要功能包括但不限于:

1. **代码安全性审计**:利用 'aiguard-py' 对上传的Python代码进行安全性检查,识别潜在的安全漏洞。
2. **报告生成**:为每个审计结果生成详细的报告,包括发现的问题、可能的风险以及修复建议。
3. **实时反馈**:提供实时的代码编辑器集成,当用户在编辑器中编写代码时,自动显示可能的安全隐患。
4. **代码优化建议**:除了安全性审计外,还能够提供一些关于代码质量和性能的优化建议。
5. **用户界面友好**:设计直观易用的图形用户界面(GUI),使非技术背景的用户也能轻松操作。
6. **支持多种编程环境**:确保应用能在不同操作系统上运行,并支持多种常见的Python开发环境。
7. **数据可视化**:为用户提供易于理解的数据图表,展示代码中存在的主要安全隐患及其分布情况。
8. **多语言支持**:为了扩大用户基础,提供至少两种语言的支持。

请详细描述如何实现上述功能,特别是如何整合和利用 'aiguard-py' 来提升代码审计的效果。此外,请考虑如何保证用户数据的安全性和隐私保护。