ge-demo-generator

Warn

Audited by Socket on Sep 14, 2026

12 alerts found:

Anomalyx5Securityx7
AnomalyLOW
SKILL.md

SUSPICIOUS. The skill is purpose-aligned and uses mostly first-party Google tooling and endpoints, so it does not look malicious or like credential harvesting. However, its footprint is unusually powerful: it reads local cloud auth, can create many resources, upload files to Drive, register agents, and auto-heal by changing IAM. That breadth is disproportionate for routine use and creates substantial operational risk even though the data flows are largely coherent with the claimed purpose.

Confidence: 89%Severity: 68%
SecurityMEDIUM
templates/fast_api_app.py

This is an agent orchestration service rather than an overt malware payload. However, it contains serious credential-handling and endpoint-security risks. In particular, bearer OAuth tokens are retained globally and can be uploaded in plaintext to Cloud Storage, while background execution and push-notification endpoints lack visible authentication and webhook validation. These behaviors could enable credential exposure, unauthorized task execution, SSRF, and leakage of user or Workspace data if deployment access controls or Firestore permissions are weak. Review and remediate token propagation, remove plaintext token uploads, authenticate internal endpoints, authorize task/demo access, validate webhook destinations, and reduce sensitive logging before production use.

Confidence: 98%Severity: 86%
SecurityMEDIUM
templates/tools.py

The code appears to be a feature-rich Google Cloud/MCP agent integration rather than a conventional malware payload. It contains no obvious cryptominer, reverse shell, destructive action, or covert exfiltration to a fixed suspicious domain. However, it has significant security risks: bearer tokens are propagated into autonomous prompts and Cloud Storage, arbitrary MCP configuration can execute local subprocesses with inherited secrets, managed-agent execution has unrestricted network access and code execution, and unsanitized HTML is published. The credential-storage and delegated-agent design should be reviewed and hardened before deployment. The supplied fragment also appears syntactically incomplete.

Confidence: 96%Severity: 83%
AnomalyLOW
templates/agent.py

The fragment appears to be application orchestration code for a highly privileged Gemini/Google ADK agent, not an obvious malware payload. It contains broad legitimate integrations and several defensive controls, but its capabilities create substantial security exposure if tool authorization, prompt boundaries, credentials, and Firestore access are not tightly controlled. Activity logging may copy SQL and document contents into Firestore. dotenv override behavior can also unexpectedly change runtime configuration. The provided text is syntactically incomplete and would not import as written. Review tool implementations and deployment IAM separately before production use.

Confidence: 96%Severity: 68%
AnomalyLOW
templates/viewer_app/templates/viewer.html

The fragment appears to be legitimate dashboard UI code, not malware. It has credible stored DOM XSS risks because several API-controlled values are inserted into innerHTML without escaping, especially activity feed fields, workflow actions, and activity-log entries. Task detail rendering is comparatively safer because it uses textContent and escaping. URL and selector concatenation should also be hardened with validation and encoding. Assessment is limited to the displayed fragment.

Confidence: 98%Severity: 62%
SecurityMEDIUM
templates/scripts/verify_and_heal.py

The fragment appears to be a Google Cloud deployment verification and auto-remediation script rather than malware. It contains no clear data-exfiltration endpoint, reverse shell, obfuscated payload, cryptomining logic, or destructive system behavior. However, it has substantial security impact: it obtains and uses cloud credentials, modifies BigQuery data, grants IAM permissions, provisions Discovery Engine resources and trials, creates broad Workspace OAuth authorization, and uploads local files. It should be run only in a controlled project with reviewed local helper scripts, least-privilege credentials, explicit approval for provisioning and IAM changes, and protection against token exposure through command-line arguments.

Confidence: 94%Severity: 72%
AnomalyLOW
templates/scripts/cleanup.sh

The code is a legitimate but highly destructive Google Cloud teardown script. Its network activity is directed to Google APIs and is consistent with deleting resources named by the demo configuration. The main security concerns are arbitrary command execution through sourcing a compromised .env file, excessive deletion scope if identifiers are wrong or colliding, broad secret filtering, and suppressed failures. No clear malicious payload or unauthorized data exfiltration is evident in the supplied fragment.

Confidence: 97%Severity: 68%
AnomalyLOW
templates/scripts/generate_and_upload_external_files.py

The visible code appears to be a document-generation and Google Drive deployment utility rather than clear malware. Its main security concerns are intentional transmission of generated content to Google Vertex AI and Google Drive, optional public link sharing, shell=True in an exposed helper, and insufficient validation of user-controlled inputs. The fragment is incomplete or corrupted, so the behavior of omitted authentication and upload functions requires separate review. No direct credential theft, destructive behavior, reverse shell, or cryptomining is evident in the supplied portion.

Confidence: 91%Severity: 62%
SecurityMEDIUM
templates/viewer_app/main.py

The code appears to be a legitimate Firestore-backed operational dashboard and shows no clear malware or supply-chain backdoor behavior. However, all API routes lack visible authentication and authorization, allowing unauthenticated callers to read potentially sensitive Firestore data and create, modify, approve, or delete records if the application is directly exposed. The risk is primarily an access-control and data-exposure issue rather than malicious behavior. Template safety for the session query value requires review of browser_view.html.

Confidence: 98%Severity: 86%
SecurityMEDIUM
templates/scripts/create_managed_agent.py

The code is an agent provisioning and polling utility, not clear malware. It legitimately communicates with Google AI Platform, but it creates or updates a remote agent with code execution, filesystem access, web access, optional externally sourced skills, and an unrestricted network allowlist. This presents a significant capability and supply-chain risk if the instruction file, GCS skills, bearer token, or project permissions are compromised. The caller-controlled output path and token-in-argv handling are additional security weaknesses.

Confidence: 97%Severity: 78%
SecurityMEDIUM
templates/scripts/warmup_managed_agent.py

The fragment is an environment warm-up and state-persistence helper, not clearly malware by itself. Its main risks are delegated remote command execution, unrestricted network access, unpinned pip dependencies, and an unverified curl|tar binary download. It also handles bearer credentials and writes cloud/local state based on unvalidated inputs. As supplied, the code has a syntax error at the final file-write statement and will not run until corrected.

Confidence: 98%Severity: 82%
SecurityMEDIUM
references/mcp_catalog.md

No direct malware is demonstrated because no executable code is supplied. The documented design contains significant security risks: excessive OAuth permissions, persistent credential reuse, arbitrary GitHub code import and dynamic tool registration, and remote MCP access using Bearer tokens. These are architectural risks requiring least-privilege scopes, explicit consent, credential rotation, repository pinning and verification, sandboxing, endpoint allowlisting, and audit controls. Findings are based only on the documentation; implementation-specific malicious behavior cannot be confirmed.

Confidence: 97%Severity: 78%
Audit Metadata
Analyzed At
Sep 14, 2026, 09:06 PM
Package URL
pkg:socket/skills-sh/googlecloudplatform%2Fgenerative-ai%2Fge-demo-generator%2F@372b6364097915c5722ddf7271f197e841593ad86127c0d5b69c7ef01844e816
Security Audit — socket — ge-demo-generator