aube-package-due-diligence
Investigate aube package-manager trust, provenance, advisory, or install failures before adding bypasses or package exceptions. Use when `aube install`, `aube…
от dkarter★ 130 звёзд на GitHub
Установить aube-package-due-diligence в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Aube Package Due Diligence
Overview
Perform cautious, evidence-based due diligence before weakening an aube security gate. Prefer narrow, reversible exceptions only after verifying package identity, metadata, provenance, advisories, tarball contents, upstream source alignment, and the actual aube/mise install path.
Rules
- Do not add an exclusion or disable a policy just because it unblocks install.
- Prefer
aubecommands over npm package-manager operations. Usenpm viewornpm packonly as registry inspection tools when aube lacks an equivalent, and say so. - Keep exceptions scoped to the exact package version when possible, for example
[email protected], nottinyexec. - Do not set
trustPolicy = offunless the user explicitly accepts the broader risk. - Do not approve lifecycle scripts with
--allow-builduntil the package and script behavior are reviewed. - Treat aube failures as signal. A bypass needs positive evidence, not just lack of known bad news.
- If evidence is weak, conflicting, or unavailable, stop and recommend waiting for a safer release or asking the maintainer to republish with stronger evidence.
Workflow
- Reproduce the failing path.
- Identify the package, version, transitive path, and aube policy involved.
- Inspect package metadata with aube.
- Check advisories and aube security output.
- Verify upstream source alignment.
- Inspect the published tarball contents.
- Decide whether a bypass is justified.
- Apply the smallest safe change and document why.
- Re-run install and repository checks.
Reproduce
Run the exact command that failed. For mise-managed npm packages using aube, also run the narrow tool install if possible:
mise install --locked npm:<package>@<version> --verbose
Look for the underlying aube command in verbose output, for example aube add --global <package>@<version>. Identify whether the package is a direct mise tool, a root dependency, or a transitive dependency.
For mise use -g npm:<package> low-download failures, use the fast path in references/mise-global-low-downloads.md before the full workflow.
Metadata Checks
Use aube first:
aube view <name>@<version> --json
aube view <name>@<previous-known-good-version> --json
aube config explain <setting>
Check and record:
name,version,repository,homepage,bugs,license.author,maintainers,_npmUser, and whether ownership changed unexpectedly.dist.integrity,dist.shasum,dist.signatures, anddist.attestations.provenance.gitHeadand whether it exists in the upstream repository.scripts, especiallypreinstall,install,postinstall,prepare,prepack, andpostpack.dependenciesandoptionalDependencies; runtime dependency additions increase risk.- Publish times for suspicious version jumps or rapid republish sequences when available.
For trust downgrades, compare the previous trusted version and failing version. A downgrade from trusted publisher to maintainer publish with registry signature and SLSA provenance may be acceptable only if the rest of the evidence is clean and the exception is exact-version scoped.
Advisory Checks
Create an isolated temporary project outside the repo when auditing a single package. Use aube, not npm install:
aube install
aube audit --json
aube why <name>
If the policy failure prevents the isolated install, use a temporary environment variable rather than editing config:
AUBE_TRUST_POLICY_EXCLUDE=<name>@<version> aube install
Search upstream issues and advisories for security, malware, compromise, trusted publisher, provenance, and the exact version. Lack of reports is not proof of safety; treat it as one data point.
Source And Tarball Checks
Verify the npm metadata gitHead against upstream:
git ls-remote --tags <repo-url>
git ls-remote <repo-url> <gitHead>
Inspect the package tarball. Use aube pack for local projects; for registry package tarballs, use registry inspection tools if aube has no direct pack-from-registry command. Verify the downloaded tarball integrity matches metadata before trusting contents.
Look for:
- Unexpected files, large binaries, minified blobs, or encoded payloads.
- New install scripts or script changes that execute during install.
- New runtime dependencies or exotic dependency sources.
- Network, credential, filesystem, shell, or obfuscation behavior unrelated to package purpose.
- Differences from the previous known-good tarball that are plausible for the release notes or commits.
For small packages, read the built output. For larger packages, sample entry points and new or changed files, then focus on suspicious files and install-time code.
Decision Criteria
Accept a narrow exception only when most of these are true:
- Package identity, repository, and maintainer are expected.
- The failing version has registry signatures and preferably SLSA provenance.
- `gitHead
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/mise-global-low-downloads.md
FAQ
Что делает скилл aube-package-due-diligence?
Investigate aube package-manager trust, provenance, advisory, or install failures before adding bypasses or package exceptions. Use when `aube install`, `aube add`, `aube audit`, or `mise install` with `npm.package_manager = "aube"` fails on trust policy, provenance, advisories, lifecycle scripts, low downloads, lockfile drift, or another supply-chain gate; also use before adding `trustPolicyExclude`, turning `trustPolicy` off, allowing package builds, or accepting npm packages installed through mise.
Как установить скилл aube-package-due-diligence?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aube-package-due-diligence запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…