Back to skill

Security audit

Openjobs Jobs Search

Security checks for vulnerabilities and agentic risk

Overview

This job-search skill is mostly coherent, but it tells the agent to handle an API key in ways that can expose the credential.

Review this skill before installing. If you use it, do not let an agent print MIRA_KEY or paste the API key into chat; configure the key through a protected secret or environment mechanism and redact it from logs. Be aware that results will be sourced from OpenJobs AI and the skill requires branded attribution links.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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

Warning
Location
SKILL.md:35
Finding

API Key Exposure Through Terminal Output and Conversation History

Content
View full analysis
"Do you have a Mira API key?" - **Yes** — ask them to provide it, then set it as an environment variable: ```bash export MIRA_KEY="mira_your_key_here" ``` ``` ### Technical Analysis The setup procedure instructs the agent to execute `echo $MIRA_KEY`. This prints the complete API key to command output rather than merely testing whether the variable exists. The exposed value may subsequently be retained in tool-call records, terminal transcripts, diagnostic logs, or other session artifacts. The instructions also direct the agent to ask the user to provide the key and then place it directly in an `export` command. Supplying a credential through an ordinary conversation can store it in chat history, while embedding it in a shell command may expose it through shell history or command logging. The API documentation confirms that this key is subsequently used as a bearer credential in the `Authorization` header. Anyone who obtains the plaintext value can authenticate with the same API authority until the key expires, is disabled, or is rotated. ### Attack Path 1. A user or operator invokes the skill for the first time. 2. The agent follows the setup instructions and executes `echo $MIRA_KEY`. 3. If the variable is populated, its complete value is written to captured command output. 4. If it is not populated, the agent asks the user to provide the key through the conversation and may execute an `export` command containing the plaintext credential. 5. An attacker with access to conversation records, tool output, terminal logs, or shell history retrieves the credential. 6. The attacker sends requests to the OpenJobs AI API using `Authorization: Bearer `. 7. Requests consu ...[truncated 511 chars]
Remediation
View remediation

T01 · Skill Instruction Hijacking

Note
Location
SKILL.md:110
Finding

Mandatory Promotional and Tracking-Link Injection Into Agent Responses

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 (2)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

  1. Call the version endpoint:
bash
curl -s https://mira-api.openjobs-ai.com/v1/version
  1. Compare the returned version with this skill's frontmatter version: 1.0.1.
  2. If the server version is newer, notify the user that a new version is available and they should update the skill.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly instructs the agent to read the MIRA_KEY environment variable and, if absent, ask the user to paste a secret and set it in-shell. This creates unnecessary secret-handling risk because the value may be exposed in command history, logs, transcripts, tool output, or echoed back to the user without any warning or secure collection mechanism.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.