mirrord-prev-env
Create and Manage mirrord Preview Environments
Reviewing service changes in a shared Kubernetes cluster requires careful traffic routing and cleanup. This skill guides mirrord preview configuration, reviewer links, and pull request workflows.
Stop for confirmation before installing.
Review the plan and obtain explicit user consent before changing files.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "mirrord-prev-env" from https://skillstore.io/skills/metalbear-co-mirrord-prev-env.md and its manifest at https://skillstore.io/api/skills/metalbear-co-mirrord-prev-env/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "mirrord-prev-env". What should I confirm before starting a staging preview?
Expected outcome:
- Check the Enterprise license, Operator 3.142.0 or later, CLI 3.189.0 or later, and the enabled preview feature.
- Confirm the staging target, cluster context, and trusted image that the target registry credentials can pull.
- Choose a unique key, complete-key traffic filter, finite TTL, and explicit teardown step.
- Preview log retrieval requires CLI 3.255.0 or later and operator and chart 3.205.0 or later.
Using "mirrord-prev-env". My preview image fails with ErrImagePull. What should I investigate?
Expected outcome:
- The preview inherits the target pod specification and image-pull credentials.
- Check that the image exists in the registry and repository the target already uses.
- A newly created GitHub Container Registry package may be private.
- Review pull permissions without exposing registry credentials in logs or workflow files.
Using "mirrord-prev-env". Can reviewers use a predictable preview URL?
Expected outcome:
- Stable share hosts can derive a predictable hostname from the environment key.
- Enable them only behind ingress authentication because the resulting links are guessable.
- Check for sanitized-key collisions and configure DNS, TLS, share-ingress, and finite expiration with the platform team.
Security Audit
High RiskAll 162 static matches are false positives involving Markdown syntax, documentation links, or expected setup operations. Four contextual risks remain: persistent CI credentials, mutable Action references, a missing trusted-PR guard, and traffic filters that match key prefixes. No evidence found of prompt injection, credential exfiltration, or malicious intent in the two reviewed files.
Confirmed security concerns (4)
Risk Factors
โ๏ธ External commands (50)
๐ Filesystem access (3)
๐ Network access (13)
๐ Env variables (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/metalbear-co-mirrord-prev-env/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/metalbear-co-mirrord-prev-env?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/metalbear-co-mirrord-prev-env?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/metalbear-co-mirrord-prev-env/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/metalbear-co-mirrord-prev-env.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
metalbear-co. (2026). mirrord-prev-env security audit report (audit version 1) [Author version 2.5]. Skillstore. https://skillstore.io/skills/metalbear-co-mirrord-prev-env/audits/1BibTeX citation
@techreport{metalbear-co-metalbear-co-mirrord-prev-env-2026,
author = {metalbear-co},
title = {mirrord-prev-env security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/metalbear-co-mirrord-prev-env/audits/1},
note = {Author version 2.5}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "mirrord-prev-env security audit report (audit version 1)"
version: "2.5"
type: report
authors:
- name: "metalbear-co"
date-released: "2026-09-29"
url: "https://skillstore.io/skills/metalbear-co-mirrord-prev-env/audits/1"
identifiers:
- type: other
value: "skillstore:metalbear-co-mirrord-prev-env:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Validate a Backend Change
Prepare a staging preview for a built image, route selected requests, inspect failures, and define cleanup.
Standardize Pull Request Previews
Design trusted-PR deployment workflows with scoped authentication, stable session keys, finite expiration, and close-event teardown.
Review Changes Through a Browser
Coordinate authenticated preview links and verify header propagation so reviewers can exercise the intended service version.
Try These Prompts
Help me prepare my first mirrord staging preview. Ask for my operator version, CLI version, license, target, image, and cluster access before suggesting commands.
Draft preview configuration for [target] in [namespace] using [image] and key [key]. Include an exact-key traffic filter, finite TTL, validation, logs, and teardown.
Plan authenticated share-ingress access for previews under [domain]. Explain DNS, TLS, header propagation, stable-host tradeoffs, and expiration without installing anything.
Draft a mirrord preview workflow for [repository] and [staging target]. Use trusted-PR gates, pinned Actions, verified CLI, short-lived authentication, exact-key filters, finite TTL, concurrency, and close-event cleanup.
Best Practices
- Use trusted images on staging targets, complete-key traffic filters, finite TTLs, and explicit teardown.
- Gate CI on trusted contributions; pin Actions and use verified CLI binaries with short-lived, least-privilege cluster credentials.
- Authenticate reviewer links and test header propagation through every participating service.
Avoid
- Deploying untrusted PR images into a credentialed shared cluster or targeting production.
- Treating routing headers, random hostnames, or shared dependencies as complete security isolation.
- Copying mutable Action references, persistent tokens, or prefix-matching filters without review.
Frequently Asked Questions
Does this skill include mirrord or a Kubernetes cluster?
Which license and versions are required?
How does a preview differ from mirrord exec?
Can reviewers open previews without adding headers?
Can I copy the CI examples directly into production?
Can previews target CronJobs or workloads with zero replicas?
Developer Details
Author
metalbear-coLicense
MIT
Author version
v2.5
Skillstore revision
r1
Version notice
The author-declared version is not valid SemVer.
Ref
bad9dafc37d1638cd29cb9bab06d5f8dbcd0f6c2
Maintenance freshness
9/30/2026
Usage
0 downloads ยท 0 views