Back to skill

Security audit

leadgenius cli AI lead management platform

Security checks for vulnerabilities and agentic risk

Overview

This documentation-only skill is not clearly malicious, but it teaches broad admin, deletion, backup, and credential-handling operations that deserve human review before use.

Install only for agents/users trusted to operate LeadGenius production data. Avoid granting LGP_ADMIN_KEY unless admin backup, restore, role, and cross-company operations are truly needed. Prefer environment variables or a secret manager over command-line token/password flags, avoid token query parameters, test destructive table/user/company operations in staging, and treat backup/PITR changes as privileged infrastructure actions.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (3)

T09 · Insecure Skill Coding Practices

Warning
Location
references/cli_reference.md:47
Finding

Sensitive credentials exposed through command-line arguments

Content
View full analysis
` | string | No | `LGP_API_KEY` env var | API key for authentication (overrides environment variable) | | `--admin-key ` | string | No | `LGP_ADMIN_KEY` env var | Admin key to bypass rate limits (overrides environment variable) | ``` ```bash python lgp.py auth test --api-key lgp_abc123def456 ``` The EpsimoAI command documentation similarly instructs users to pass passwords and tokens directly as arguments: ```bash lgp epsimo activate --email --password lgp epsimo activate --cognito-token python lgp.py epsimo activate --email user@example.com --password secret python lgp.py epsimo activate --cognito-token eyJ... lgp epsimo info --token python lgp.py epsimo info --token eyJ... lgp epsimo credits --token python lgp.py epsimo credits --token eyJ... lgp epsimo purchase --token --amount python lgp.py epsimo purchase --token eyJ... --amount 10000 lgp epsimo threads --token python lgp.py epsimo threads --token eyJ... ``` ### Technical Analysis Command-line arguments are not an appropriate channel for long-lived API keys, passwords, administrative secrets, Cognito identity tokens, or bearer tokens. Depending on the host environment, process arguments can be exposed through: - Shell history files such as `.bash_history` or `.zsh_history` - Process inspection utilities and operating-system process metadata - Terminal session recording and audit systems - CI/CD job logs and command echoing - Endpoint detection and response telemetry - Wrapper scripts that log their full invocation - Crash diagnostics and support bundles Although enviro ...[truncated 2022 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
references/api_endpoints.md:5264
Finding

EpsimoAI bearer token accepted in URL query parameters

Content
View full analysis
`. 2. A reverse proxy, application server, browser, analytics system, or monitoring service records the complete URL. 3. An attacker obtains access to one of these records through a compromised logging account, an overly broad support role, exported telemetry, or browser-history access. 4. The attacker extracts the bearer token from the query string. 5. The attacker supplies the token in an `X-Epsimo-Token ...[truncated 658 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
references/cli_reference.md:7
Finding

Unpinned third-party dependency installation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (436)

Context-Inappropriate Capability

Critical
Category
Not specified by scanner
Confidence
99% confidence
Finding

Backup, restore, and PITR operations are infrastructure-level capabilities unrelated to the stated business purpose and can expose or duplicate entire datasets. In the wrong hands, they enable bulk data exfiltration, destructive rollback/restore actions, and recovery-path abuse across many tables at once.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
91% confidence
Finding

The README exposes DELETE /api/automation/users/{id} and DELETE /api/automation/companies/manage?id={id} as normal management actions, but does not warn that removing users or deleting companies can affect access, ownership, and stored business data. For markdown descriptions, omission of warnings around actions that can impact user data or system integrity is a reportable issue.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
94% confidence
Finding

The generic Tables API allows DELETE /api/automation/tables/{tableName}/{id} across a broad set of data and configuration tables, including tenant, campaign, workflow, integration, and system records. Because this is a highly impactful data-modifying capability, the markdown should explicitly warn users about deletion risk, scope, and possible service disruption.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 134)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 135)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 136)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 137)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 138)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 139)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 140)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 141)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 142)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 143)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 144)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 145)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 146)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 147)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 148)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 149)May include surrounding context.

md
| Auth | [references/api_endpoints.md#authentication](references/api_endpoints.md#authentication) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 155)May include surrounding context.

md
| `auth` | [references/cli_reference.md#auth](references/cli_reference.md#auth) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 156)May include surrounding context.

md
| `auth` | [references/cli_reference.md#auth](references/cli_reference.md#auth) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 157)May include surrounding context.

md
| `auth` | [references/cli_reference.md#auth](references/cli_reference.md#auth) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 158)May include surrounding context.

md
| `auth` | [references/cli_reference.md#auth](references/cli_reference.md#auth) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 159)May include surrounding context.

md
| `auth` | [references/cli_reference.md#auth](references/cli_reference.md#auth) |

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 160)May include surrounding context.

md
| `auth` | [references/cli_reference.md#auth](references/cli_reference.md#auth) |