Skip to content

Security: yeasy/ask

Security

SECURITY.md

Security Policy

Supported Versions

Version Supported
1.x.x ✅
< 1.0 ❌

Reporting a Vulnerability

We take security issues in ASK seriously. If you discover a security vulnerability, please follow these steps:

1. Do NOT Open a Public Issue

Security vulnerabilities should not be disclosed publicly until they have been addressed.

2. Send a Private Report

Please report security vulnerabilities by emailing:

Or use GitHub's private vulnerability reporting feature:

  1. Go to the Security tab of the repository
  2. Click "Report a vulnerability"
  3. Fill in the details

3. Include Details

Please include the following in your report:

  • Description: A clear description of the vulnerability
  • Steps to Reproduce: Detailed steps to reproduce the issue
  • Impact: What could an attacker achieve with this vulnerability?
  • Affected Versions: Which versions are affected?
  • Suggested Fix: If you have one

4. Response Timeline

  • Initial Response: Within 48 hours
  • Status Update: Within 7 days
  • Fix Timeline: Depends on severity
    • Critical: 24-72 hours
    • High: 1-2 weeks
    • Medium: 2-4 weeks
    • Low: Next release cycle

Security Best Practices

When using ASK:

  1. Review before installing: run ask check --remote owner/repo/path (remote targets ignore inline suppressions and repository configs; add --strict for local copies of third-party code) and read SKILL.md and scripts/.
  2. Keep the trust gate on: installs of grade F skills (any CRITICAL finding) are blocked; use --allow-untrusted only for code you have reviewed.
  3. Commit ask.lock and restore with ask lock-install in CI, so every machine gets the same commits, verified by content hash.
  4. Gate pull requests: ask check . --ci (or the ask-check GitHub Action) fails on warnings and criticals and exits 2 if anything could not be scanned.
  5. Keep tokens out of files: use GITHUB_TOKEN/GH_TOKEN or gh auth login; ASK never writes tokens to ask.yaml. If an older ask.yaml contained a token:, revoke it.
  6. Audit regularly: ask audit scans everything installed for a project; ask skill outdated flags locally modified skills and moved tags.

Security Features

  • Scanner with 61 documented rules: secrets (cloud, AI and package-registry tokens, private keys), reverse shells, curl | sh, decode-and-execute payloads, persistence, agent permission bypass, credential access and exfiltration, prompt injection and concealment, hidden Unicode (tag, bidi, zero-width), disguised executables and symlinks to credentials.
  • Bypass resistance: only the skill root's .git is skipped, files are classified by content, text is normalized (Unicode look-alikes, line continuations, padding), NUL bytes, appended payloads and nested .git directories are caught, and unreadable content or anything beyond the 64 MiB / 50,000-file / time budget is a CRITICAL finding (exit 2) rather than a silent pass.
  • Trusted suppressions only: only --config and ~/.ask/askcheck.yaml can suppress CRITICAL findings; a repository's .askcheck.yaml can silence INFO/WARNING at most; a .askcheck.yaml shipped inside a skill can add rules and silence INFO rules, nothing more; custom rules can never shadow built-in ones; inline comments are ignored in --ci by default; suppressed findings are always reported.
  • Fail-closed trust score: any CRITICAL finding or failed scan forces grade F, which blocks installation.
  • Reproducible, atomic installs: exact-commit fetches, h1: content hashes in ask.lock, staged installs renamed into place, no .git directories copied.
  • Hardened git and credentials: git never prompts, repository hooks are disabled, tokens are resolved at runtime and redacted from output.
  • Secret redaction in every report format (console, JSON, SARIF, HTML, Markdown); terminal output of skill-controlled text is sanitized.
  • Web UI: loopback-only server reachable only through a private per-launch login link, with a separate API token, exact same-origin checks, DNS-rebinding protection and a strict Content Security Policy.
  • Supply chain: release tags are verified against the binary's version and tested before publishing; every published archive, package and desktop app has a signed build provenance attestation (SLSA); workflow actions are pinned by commit SHA; govulncheck and gosec run on every push and weekly; the ask-check action verifies release checksums.

Acknowledgments

We appreciate responsible disclosure and will acknowledge security researchers who report valid vulnerabilities.

Thank you for helping keep ASK secure! 🛡️

There aren't any published security advisories