Back to skill

Security audit

公司情报侦察

Security checks for vulnerabilities and agentic risk

Overview

This skill is a sales-intelligence workflow, but it directs agents to harvest and verify personal contact data and persist it to a CRM without adequate user controls or compliance guardrails.

Review this skill carefully before installing. It should only be used where collecting and storing business contact data is authorized and compliant with applicable policy; disable inferred email generation, raw SMTP probing, and automatic CRM writes unless the user explicitly approves scoped targets and retention rules.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:63
Finding

SMTP Command Injection Through Unsanitized Email Addresses

Content
View full analysis
\r\n") time.sleep(2) s.recv(512) s.send(f"RCPT TO:<{email}>\r\n".encode()) time.sleep(2) resp = s.recv(512).decode() code = resp[:3] # 250 = valid, 550 = nonexistent s.send(b"QUIT\r\n") s.close() time.sleep(3) ``` ### Technical Analysis The workflow collects or infers email addresses from external web content and interpolates each value directly into a raw SMTP command: ```python s.send(f"RCPT TO:<{email}>\r\n".encode()) ``` No validation rejects carriage returns, line feeds, control characters, malformed mailbox syntax, or oversized values. SMTP is a line-oriented protocol in which `\r\n` terminates a command. If an attacker-controlled email value contains CRLF characters, the value can terminate the intended `RCPT TO` command and append additional SMTP commands. This also invalidates the document's assertion that execution stops safely at the `RCPT TO` stage. The code does not technically enforce that boundary when untrusted input can inject protocol delimiters. ### Attack Path 1. An attacker publishes a crafted email-like value on a company website, search result, or another source processed during the contact-discovery phase. 2. The Agent extracts the value and adds it to the `emails` collection without strict mailbox validation. 3. The crafted value contains an SMTP delimiter and an additional command, conceptually: ```text victim@example.com>\r\nADDITIONAL_SMTP_COMMAND ``` 4. The s ...[truncated 1164 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:94
Finding

Path Traversal Through an Unsanitized Company Name

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

Ssd 4

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

This section explicitly guides the agent to identify employees, prioritize decision-makers, infer email formats from data-broker snippets, and expand that pattern into more personal addresses. In context, this is dangerous because it systematizes harvesting of personal contact data for outreach or targeting rather than a narrowly scoped, legitimate business record task.

Content

No source excerpt is available for this finding.

Ssd 4

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill provides an end-to-end pipeline to harvest, validate, and store named contacts with 'verified' emails in a CRM, making the collected personal data immediately actionable. This materially increases risk because it moves beyond passive research into operationalizing targeting data at scale, including SMTP enumeration and persistent storage.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The workflow performs external lookups and SMTP-based address verification against third-party infrastructure, transmitting queried company domains and target email addresses without warning the user or assessing privacy and acceptable-use implications. Even without sending message bodies, RCPT probing discloses intent, may violate service policies, and can expose harvested personal data to external systems.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill instructs the agent to create local dossiers and insert company and contact records into OKKI, including named individuals and verified email addresses, without any consent, lawful-basis, minimization, retention, or access-control guidance. This creates a real privacy and data-governance risk because harvested personal data is being operationalized and persisted in systems for later use.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.