agentberlin

v0.148.0 suspicious
6.0
Medium Risk

Python SDK for Agent Berlin - AI-powered SEO and AEO automation

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package exhibits a moderate level of risk due to its network and shell execution capabilities, which could potentially lead to unauthorized data exchange or arbitrary code execution.

  • High network risk due to external calls
  • Potential shell execution increasing risk of unintended behavior
Per-check LLM notes
  • Network: The package makes network calls to an auth endpoint and potentially to a profile endpoint, which could be legitimate but might also indicate unauthorized data exchange.
  • Shell: Executing commands with subprocess.run and Popen suggests the package may run external scripts, increasing risk of unintended behavior or execution of arbitrary code.
  • Obfuscation: The observed obfuscation pattern is unusual but may be used for legitimate purposes such as encoding or validating strings.
  • Credentials: No suspicious patterns indicating credential harvesting were found.
  • Metadata: The package has a missing author name and the repository is not found, indicating potential lack of transparency and accountability.

🔬 Heuristic Checks

Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • eshed self._session = requests.Session() self._session.headers.update( {
  • try: response = requests.post( f"{self._base_url}/auth/refresh",
  • otp" try: resp = requests.post( exchange_url, json={"otp": otp, "pr
  • Any]: try: resp = requests.post( f"{base_url}/brand/profile", header
  • ny]]: try: resp = requests.post( f"{base_url}/brand/files/list", hea
  • son"} try: resp = requests.post( f"{base_url}/brand/files/content",
Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • erver-side. _REPORT_SLUG_RE = __import__("re").compile(r"^[a-z0-9][a-z0-9-]{0,63}$") # The CLI currently
Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • try: completed = subprocess.run( cmd, capture_output=True, text=True, timeout=ti
  • UNBUFFERED"] = "1" proc = subprocess.Popen( [sys.executable, "-u", str(main_resolved)],
Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

Email domain looks legitimate: agentberlin.ai>

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 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 agentberlin
Create a Python-based mini-app called 'SEO Booster' that leverages the 'agentberlin' package to automate SEO and AEO tasks for websites. The app should allow users to input URLs of their website pages and then perform a series of automated actions to improve SEO and AEO metrics. Here are the key functionalities you need to implement:

1. **User Interface**: Develop a simple command-line interface (CLI) where users can input the URL of a webpage they want to optimize.
2. **SEO Audit**: Use 'agentberlin' to run an SEO audit on the provided URL, which includes analyzing on-page elements such as meta tags, header tags, keyword density, etc.
3. **AEO Audit**: Similarly, perform an AEO (Above-the-Fold Experience Optimization) audit to evaluate the user experience above the fold, including loading times, visual design, and content placement.
4. **Recommendations**: Based on the audits, generate actionable recommendations to improve both SEO and AEO. These could include suggestions like adding missing meta tags, optimizing images for faster load times, or improving the readability of the content.
5. **Progress Tracking**: Allow users to track improvements over time by storing audit results and allowing them to re-run audits on the same URL at a later date.
6. **Report Generation**: Implement a feature to export the audit results and recommendations into a PDF report that users can share with stakeholders.

To utilize the 'agentberlin' package effectively, integrate its core functions for performing SEO and AEO audits, extracting data, and generating insights. Ensure your code is well-documented, modular, and follows best practices for handling web requests and data processing.