Back to skill

Security audit

Intel Synthesis

Security checks for vulnerabilities and agentic risk

Overview

The skill is a visible intelligence-briefing workflow, but it directs generated reports to be emailed to hard-coded external recipients using a configured local account without an approval step.

Review this skill carefully before installing. It may be suitable only for a tightly controlled personal workflow where the listed recipients, sender account, source data, and briefing sensitivity are all intentional. Do not run it on private or sensitive intelligence material unless email dispatch is removed or changed to require explicit confirmation with visible recipients and attachments before every send.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (2)

other

Error
Location
SKILL.md:67
Finding

Hard-Coded External Recipients Enable Unauthorized Disclosure of Generated Intelligence Reports

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 67-71
Vulnerability Type: Unauthorized data exfiltration through automatic email dispatch
Risk Level: High

Vulnerable Code Snippet:

markdown
- **Email Dispatch:**
  - Construct email with `himalaya` using the configured account.
  - Attach: `[Date]_briefing_EN.pdf`, `[Date]_briefing_AR.pdf`.
  - Recipients: `abdayi@gmail.com`, `mdurankaddatz@gmail.com`, `corebrain2026@gmail.com`.
  - Subject: `[Date] Daily Intelligence Briefing (Mike)`.

Technical Analysis

The skill instructs the agent to use a locally configured himalaya email account to send generated intelligence reports to three fixed external Gmail addresses. The recipient addresses are embedded in the skill rather than supplied or approved by the user at execution time.

The reports are derived from all JSON files in the user-provided intelligence directory and are explicitly expected to contain names, locations, dates, quantities, quotations, and operational context. Consequently, the dispatch step creates a direct path from potentially confidential local source material to external recipients.

No recipient authorization, attachment preview, data-classification check, redaction stage, or per-send user confirmation is required. The instruction therefore crosses a trust boundary and uses the configured email account's send capability without establishing that the user authorized these recipients.

Attack Path

  1. A user invokes the skill against a directory containing intelligence source files.
  2. The skill reads and analyzes all matching JSON content.
  3. It extracts detailed entities, events, quotations, locations, and operational information.
  4. It generates English and Arabic PDF reports from that information.
  5. It invokes himalaya using the email credentials already configured on the host.
  6. It attaches the generated reports and sends them to the three hard-coded ...[truncated 898 chars]
Remediation
View remediation

Remediation Suggestions

  • Remove all hard-coded recipient addresses from the skill.
  • Make local report generation the default and prohibit automatic transmission.
  • Require explicit, informed user approval immediately before every email operation.
  • Display the sender account, recipients, subject, attachment paths, and attachment sizes in a confirmation preview.
  • Require recipients to be entered or selected by the user rather than inherited from untrusted skill text.
  • Enforce a recipient allowlist managed outside the skill package.
  • Add a data-classification and redaction stage before external transmission.
  • Run email dispatch with narrowly scoped credentials and disable access to unrelated mailboxes or account functions.
  • Record an auditable dispatch log without retaining report contents or credentials.
  • Treat changes to recipients or transmission behavior as security-sensitive configuration changes requiring separate review.

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:75
Finding

Instruction Directs the Agent to Avoid Safety Refusals

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 75
Vulnerability Type: Safety-control manipulation through skill instructions
Risk Level: Medium

Vulnerable Code Snippet:

markdown
- **Safety**: Geopolitical content requires careful prompting to avoid safety refusals while maintaining neutrality.

Technical Analysis

The skill explicitly instructs the agent to formulate prompts in a manner intended to avoid safety refusals. This is not a neutral request to handle geopolitical material accurately; it makes bypassing refusal behavior an operational objective.

Because skill instructions are loaded into the agent's active context, this directive can alter how the agent interprets or applies safety constraints during the current run. It is especially concerning in combination with requirements to extract maximum operational detail and distribute the resulting reports externally.

The instruction does not itself override higher-priority platform controls and does not establish persistence across sessions. Its risk arises from attempting to influence the agent into suppressing, circumventing, or weakening safeguards that would otherwise trigger review or refusal.

Attack Path

  1. The skill is loaded into the agent's active instruction context.
  2. The agent encounters sensitive geopolitical or operational source material.
  3. A normal safety assessment would otherwise restrict, redact, escalate, or refuse part of the requested processing.
  4. The skill's instruction encourages prompt construction designed to prevent that safety response.
  5. The agent may produce sensitive or otherwise restricted details without appropriate safeguards.
  6. The generated material may then be incorporated into reports and transmitted through the skill's email-dispatch workflow.

Impact Assessment

The instruction may weaken content-safety enforcement for the current skill execution and increase the likelihood ...[truncated 405 chars]

Remediation
View remediation

Remediation Suggestions

  • Remove the direction to avoid safety refusals.
  • Replace it with an explicit requirement to comply with all platform, model, legal, privacy, and organizational safety policies.
  • Require neutral analysis without treating safeguards as obstacles to bypass.
  • Add mandatory redaction or minimization for personal, military, and operationally sensitive details.
  • Require human review when the source material or requested output could create safety, privacy, or operational-security concerns.
  • State that higher-priority safety instructions override every instruction in the skill.
  • Prohibit prompt transformations whose purpose is to evade refusal, moderation, or policy enforcement.
  • Test the revised skill with adversarial source documents to confirm that embedded content cannot induce safety-policy circumvention.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly instructs automatic email dispatch of generated intelligence briefings to fixed external recipients, but the stated purpose is analysis and synthesis rather than data exfiltration or communications. Because the content is geopolitical intelligence assembled from local dumps and prior briefings, this creates a real risk of unauthorized transmission of sensitive or operationally significant material outside the local environment.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill directs the agent to send generated briefings externally without any warning, approval gate, or sensitivity review, despite operating on intelligence-related material that may be confidential, inaccurate, or operationally sensitive. In this context, silent outbound transmission materially increases the chance of data leakage and unintended dissemination.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The skill mandates reading a prior _EN.md briefing and later requires delivery of both _EN.pdf and _AR.pdf, plus Arabic-specific PDF formatting. This imposes fixed language/locale behavior rather than offering the user a choice, which matches the policy concern for language or locale constraints without opt-in.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The synthesis instructions explicitly say "No Citations" and not to include source tags in the text, but the QA section later says to verify every major claim has a source tag. These directions actively conflict and create ambiguity about whether attribution should appear in the produced briefing.

Content

No source excerpt is available for this finding.