Levyra security review workflow
SkillMonitoring & opsPerform an evidence-based Levyra security review and Codex Security workflow covering threat modeling, attack paths, validation, remediation, revalidation, secrets, provider URLs, redirects, SSRF, MIME confusion, permissions, privacy, logging, workflows, dependency changes, update verification, and untrusted input. Use automatically for vulnerability scans, security findings, dependency risk, authentication, trust-boundary changes, sensitive data, or security-related pull requests.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Levyra security review workflow skill
What this skill tells your AI
The instructions your AI receives, as published by luc4n3x/levyra-deepsound in .agents/skills/levyra-security-review/SKILL.md and read by ahel’s review.
Required context
- Read the root
AGENTS.mdand the nearest applicableAGENTS.md. - Read
.agents/claude/rules/security.mdanddocs/ai/CODEX_SECURITY.md. - Inspect the complete diff plus surrounding code, tests, build files, manifests, dependency catalogs, clients, parsers, shell commands, persistence, signing, release, update, and GitHub workflow configuration.
- Load
levyra-context-efficiencyonly for noisy non-sensitive output. Keep exploit evidence, security validation, signatures, checksums, secrets scans, and exact reproduction output raw inside the trusted working context.
Finding lifecycle
Every security candidate has an explicit evidence state:
SUSPECTED: a static pattern, warning, model observation, or incomplete path;SUPPORTED: evidence is consistent with the finding but exploit/failure impact is not fully established;VALIDATED: a concrete safe reproduction or equivalent evidence establishes the path and consequence;DISPROVED: evidence shows the candidate does not represent the claimed failure;RETRACTED: a previously reported/supported finding has been explicitly withdrawn after newer evidence invalidated it;BLOCKED: decisive validation cannot be completed safely or with the available environment.
Do not silently drop a finding that was previously presented as real. If later evidence disproves it, mark it RETRACTED, state what new evidence changed the conclusion, and remove it from downstream remediation/severity decisions.
A warning, HTTP status, scanner hit, lint message, dependency advisory, or source-code pattern is not by itself a validated vulnerability.
Closed-loop security method
Use this workflow whether the review is performed manually, through the Codex Security plugin, or through the Codex Security CLI.
1. Threat model
Build or verify a codebase-specific threat model before claiming a finding:
- identify attacker-controlled entry points;
- identify trust boundaries and privileged components;
- identify secrets, accounts, user data, signing material, update channels, and other high-impact assets;
- identify Android, Desktop, CI, extractor, playback, storage, and network paths where untrusted data crosses a boundary;
- state deployment assumptions and distinguish verified facts from assumptions.
2. Identification
Trace realistic attack paths from an entry point to a sensitive outcome. Do not promote a generic best-practice observation into a vulnerability without a concrete path, trigger, and consequence.
3. Validation
Attempt to reproduce the issue safely in an isolated or controlled environment. A suspected issue remains unconfirmed until evidence supports exploitability or a concrete security failure. Preserve the exact command, input, output, exit status, and relevant artifact or test result in the trusted working context.
Before calling the candidate validated, challenge at least one plausible benign or non-exploitable explanation when one exists: expected authorization, input normalization, validation order, unreachable code, environment-only behavior, stale dependency metadata, or an already-enforced boundary. The purpose is to kill false positives, not to add ceremony when the failure path is already directly proven.
Never run destructive, persistence, credential-theft, external-target, or production-impacting proof-of-concept activity. Use minimal local fixtures and synthetic secrets.
4. Remediation
For a validated issue, propose the smallest compatible patch that fixes the root cause. Preserve unrelated behavior and add a focused regression test or verification. Do not weaken security controls merely to restore compatibility.
5. Human review
Codex Security findings and patches are proposals, not automatic authority. Inspect the complete patch, run the normal Levyra review and CI gates, and keep commit, push, PR, merge, release, and repository-setting actions under explicit owner control.
6. Revalidation
After remediation, rerun the original safe reproduction or equivalent regression test. State whether the attack path is closed, which checks passed, which checks were blocked, and what residual risk remains.
Evidence hygiene
Raw security evidence may contain more sensitive material than the finding itself. Before an artifact, excerpt, screenshot, HAR, log, request/response pair, stack trace, or command output is placed in a PR, issue, review comment, public report, or other durable shared location:
- redact bearer/access/refresh tokens, cookies, authorization headers, API keys, passwords, signing material, private keys, and session identifiers;
- redact unrelated PII and account identifiers; use synthetic values when the exact value is not material;
- redact private/local provider URLs or signed URLs when disclosure would expose credentials, infrastructure, or user data;
- preserve the evidence shape needed for review: status code, method, route shape, request ID, timestamp, non-sensitive headers, hash/checksum, error class, and minimal payload structure;
- prefer placeholders such as
<redacted-token>over deleting fields when field presence is relevant; - never "sanitize" by changing the behavior being demonstrated;
- if redaction would destroy the proof, state that the sensitive artifact was withheld and describe the reproducible non-sensitive facts instead of publishing it raw.
Do not rely on a later reviewer to notice secrets after publication. Hygiene happens before evidence leaves the trusted working context.
Review areas
- credentials, tokens, cookies, keys, signed URLs, keystores, private configuration, environment variables, and sensitive logs;
- provider-controlled URL scheme, host, port, user-info, DNS/IP destination, redirects, MIME, timeout, response-size, and file-name handling;
- automatic redirects that bypass explicit validation;
- SQL, shell, intent, deep-link, path, archive, and filename injection;
- Android permissions, exported components, pending intents, file providers, WebView behavior, and least privilege;
- Desktop local listeners, IPC, downloads, update channels, libVLC input, and filesystem boundaries;
- GitHub workflow permissions, pull-request trust boundaries, secret exposure, artifact handling, action pinning, and untrusted checkout execution;
- dependency additions, upgrades, transitive risk, license changes, known vulnerabilities, and supply-chain substitution;
- update manifests, download integrity, SHA-256/signature verification, and downgrade or substitution risks;
- local account, crash, analytics, history, library, and playback-data privacy.
Codex Security integration
When codex-security@openai-curated is available, use it for security scans and
combine its output with this Levyra-specific skill. Review the generated threat
model and correct assumptions before accepting findings. Prefer validated
findings with a reproduced attack path and minimal remediation patch.
The repository also runs GitHub Dependency Review for pull requests. A green dependency review does not replace threat modeling, source review, runtime validation, or manual approval.
Finding standard
Report only evidence-backed findings. Every finding must include:
- evidence state (
SUSPECTED,SUPPORTED,VALIDATED,DISPROVED,RETRACTED, orBLOCKED); - severity and confidence;
- exact file and line or symbol;
- attacker-controlled input or triggering condition;
- trust boundary crossed;
- concrete exploit or failure path;
- validation or reproduction evidence;
- relevant alternative explanation checked when material;
- user/system consequence;
- smallest compatible fix;
- regression test or revalidation needed;
- residual risk or blocked evidence.
Do not report generic best-practice observations without a concrete path to harm. Do not label an unvalidated suspicion as confirmed.
Skill-intelligence discipline
Use docs/ai/SKILL_INTELLIGENCE.md when considering external security catalogs. Do not vendor broad offensive bundles into Levyra merely to obtain validation or reporting techniques. Import only narrow, defensive, evidence-based methods that preserve the repository's authorization and safety boundaries.
Provenance
The finding-state, explicit-retraction, false-positive challenge, and evidence-hygiene refinements are selectively informed by elementalsouls/Claude-BugHunter's validation/reporting discipline. No offensive payload catalog, target-hunting workflow, credential-capture behavior, or authorization assumption is imported into Levyra.
Signals
- GitHub stars
- 164
- Forks
- 1
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
levyra-security-review- Source
- github.com/luc4n3x/levyra-deepsound