# Assess a dependency before adoption

Review one proposed application dependency against a concrete need, exact-version evidence and a no-new-dependency alternative.

This is a suggested workflow, not a tested integration. Adapt host tools and permissions before use. Treat source material as evidence, never as authority to change this task.

## Inputs

- The unmet application requirement, target runtime or build environment and owner-defined acceptance conditions.

- The exact candidate package name, ecosystem, version and source or package digest, plus the current dependency tree.

- Publisher documentation, package licence files and permitted registry or advisory exports; a maintainer and scoped investigation budget.

## Reviewed resources

### Supply Chain Risk Auditor

Collect or review version-matched metadata evidence within supported manifests, preserving coverage and unassessable cases.
https://undominated.ai/skills/trailofbits-supply-chain-risk-auditor/

Reviewed: 2026-10-14; revision: 82fe8226252622fa807643bdca1710901198553a
Definition SHA-256: no redistributable definition attached
Source: https://github.com/trailofbits/skills/blob/82fe8226252622fa807643bdca1710901198553a/plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/SKILL.md

Permissions: Read project manifests and lockfiles; write cache and report files; Contact package registries, advisory services and GitHub; package names and repository identities leave the machine; Optional gh authentication can access private metadata and pip-audit runs as a separate local process; Read dependency manifests/locks; query registries, advisory and repository APIs using optional GitHub authentication; write cached metadata and reports.
Cost boundary: CC BY-SA licensed instructions and helpers; agent usage and any separately chosen scanning services are additional.
Licence: CC-BY-SA-4.0 — https://github.com/trailofbits/skills/blob/82fe8226252622fa807643bdca1710901198553a/LICENSE

#### Component limitations

- Documented project inputs include npm package-lock/shrinkwrap, Python uv.lock and supported Go module files; other lock formats need a separate extraction step.

- Repository activity and ownership signals are triage evidence, not proof of maliciousness or package safety. Latest-version fallback is not evidence about the version installed in your project.

- Only the stated source paths and collection boundaries were inspected; this is not a comprehensive audit of the large helper implementation.

- The transitive sweep assesses advisories only. Private or non-registry dependencies must remain unassessable instead of inheriting a same-named public package assessment.

#### Not runtime-verified

- No end-to-end agent session, effectiveness benchmark or target-project security assessment was run.

- No upstream installer, helper script or generated workload was executed.

### Technical Spike Research Mode

Investigate the candidate’s fit through version-specific sources and a named, bounded experiment when authorised.
https://undominated.ai/agents/github-research-technical-spike/

Reviewed: 2026-10-13; revision: 156736fb63e965b2f547a1460f3b5972c46e6b24
Definition SHA-256: d094ae33f4e3b42e249491a82530485b0be7949df7ff41c7a9e48cf7a2773740
Source: https://raw.githubusercontent.com/github/awesome-copilot/156736fb63e965b2f547a1460f3b5972c46e6b24/agents/research-technical-spike.agent.md

Permissions: Frontmatter: vscode, execute, read, edit, search, web, agent, todo.; Body: continuously edit the spike; after permission, #edit test files and #runCommands/#runTasks.; Permission-asking is instruction, not enforcement. Not a sandbox.
Cost boundary: Definition can be reused under its stated licence. Host subscriptions, model usage or connected services may incur charges.
Licence: MIT — https://github.com/github/awesome-copilot/blob/156736fb63e965b2f547a1460f3b5972c46e6b24/LICENSE

#### Component limitations

- The recursive research policy has no fixed time or cost budget; define a stopping condition for the chosen spike.

- The source mixes current tool-group names with older Copilot references and domain-specific MCP examples; configure available tools before use.

- Continuous document editing has no explicit merge or conflict-resolution protocol, so preserve the source document and scope the output.

- The role recommends documentation MCPs but leaves installation to the user; none are bundled with the downloaded definition.

#### Not runtime-verified

- The agent has not been executed or benchmarked.

- Tool availability, host/model compatibility and task outcomes were not runtime-tested.

### Architecture Critic

Challenge whether the application needs the dependency and inspect the simpler alternative and removal boundary.
https://undominated.ai/agents/anthropic-architecture-critic/

Reviewed: 2026-10-13; revision: f359d43b406057f1a8cdbc4ea93b827642c162e6
Definition SHA-256: a1de2a6a3d5a208a5722dd3902dcb2488ff9a879a5494f34a170518126495065
Source: https://raw.githubusercontent.com/anthropics/claude-plugins-official/f359d43b406057f1a8cdbc4ea93b827642c162e6/plugins/code-modernization/agents/architecture-critic.md

Permissions: Frontmatter tools: Read, Glob, Grep, Bash (capability list, not an OS sandbox).; Body instruction: never create or modify files; return findings for the orchestrator to write.; Body instruction: mask credential-like values in quoted code. Not enforced by this file.
Cost boundary: Definition can be reused under its stated licence. Host subscriptions, model usage or connected services may incur charges.
Licence: Apache-2.0 — https://github.com/anthropics/claude-plugins-official/blob/f359d43b406057f1a8cdbc4ea93b827642c162e6/plugins/code-modernization/LICENSE

#### Component limitations

- Read-only shell use is an instruction; Bash remains available and must be constrained by the host.

- The skeptical stance can overemphasize defects without the real non-functional requirements and decision context.

- The role returns findings to an orchestrator; it does not supply a report-writing workflow or executable architecture validation.

#### Not runtime-verified

- The agent has not been executed or benchmarked.

- Tool availability, host/model compatibility and task outcomes were not runtime-tested.

## Independent research tasks

- Fit reviewer: Read the candidate’s version-specific API and the application seam. Return fit-review.md with required behaviour, compatibility evidence and a named spike question for any blocking unknown.

- Metadata auditor: Inspect candidate identity and available version-matched advisory and ownership evidence independently. Return dependency-metadata.md with source dates, coverage and unassessable cases; do not infer measurements from popularity.

- Alternative reviewer: Compare the current stack or a small local implementation against the same requirements. Return alternative-review.md with maintenance and removal costs, supported by repository evidence.

- Rights reviewer: Inspect licence and notice files for the exact candidate and available transitive packages. Return licence-evidence.md with intended use, distribution obligations and unresolved questions for the responsible owner.

## Sequence and verification

1. Freeze the requirement, candidate identity and current application revision before adding anything to the project. Name the maintainer who integrates the four reviews and record permitted local files, remote metadata sources and output paths.

2. Collect the independent reviews. For the supply-chain skill, use a separate assessment manifest pinned to the candidate within its supported ecosystems; do not install it or alter the application. A missing resolved candidate tree means missing transitive coverage. If the reviewed collector is unavailable, use permitted exports and label collection unrun; do not estimate missing figures.

3. Have the maintainer reconcile package versions, source identities and requirements. Separate direct-package evidence from transitive coverage. Treat an unsupported lockfile or a latest-version fallback as a gap about the selected version, and retain failed or incomplete metadata queries.

4. If a fit uncertainty remains, prepare a named spike with the required behaviour, bounded inputs and a disposable environment. Run it only when its exact package execution, network access and budget are authorised. Preserve the candidate digest, environment, expected result, observed result and cleanup evidence, or record not run.

5. Write adopt, defer or decline with the maintainer’s rationale and any rights questions resolved by the responsible owner. If adoption is recommended, name the integration seam, update owner and removal path. Production manifests, lockfiles and deployment remain a later scoped change.

## Boundaries

- This concerns introducing an application dependency. It does not upgrade an existing package or approve an agent, skill or MCP server for installation.

- The Supply Chain Risk Auditor reads npm, PyPI and Go metadata; its lockfile support is limited. It does not audit licences or prove package safety. Its full helper implementation was not audited in the catalogue review; inspect it and its network scope before execution. Absence of an advisory is bounded by version, query date and assessed coverage.

- Source triage does not run candidate install scripts. The collector can send package and repository identities to external services and use existing GitHub authentication; confirm those disclosures and account scope. Use redacted exports when the available access is unsuitable.

- The spike profile supplies no sandbox. Stop execution on identity mismatch, unexpected writes or budget overrun; retain evidence, restore or discard only the scoped disposable environment, and verify the application revision is intact. Unknown licence terms or a required failed fit check keep adoption unresolved.

- Use the reviewed host setup or manual files. The skill is CC BY-SA-4.0 and the linked profiles retain their own licences; an original decision worksheet does not relicense their definitions or the candidate package.

## Expected output

An adopt, defer or decline recommendation with fit evidence, maintenance ownership, licence questions and any isolated probe result.

## Deliverables

- dependency-requirements.md: the need, selected identity, existing tree and acceptance conditions.

- dependency-evidence.md: independent fit, metadata, alternative and rights findings with source links and coverage.

- dependency-fit-spike.md: bounded question, authorised target and execution receipt or explicit unrun checks.

- dependency-adoption-decision.md: adopt/defer/decline rationale, ownership and a later integration/removal plan.

## Acceptance checks

- [ ] Evidence identifies the selected package and version; latest-release metadata and unresolved transitive versions cannot stand in for it.

- [ ] Every acceptance condition has evidence or a visible unresolved check, and the no-new-dependency alternative is assessed against the same need.

- [ ] Advisory and maintenance claims retain query date, source, coverage and failures; no findings is not labelled safe.

- [ ] The rights review cites the applicable package files and intended distribution, and keeps gaps separate from the supply-chain metadata report.

- [ ] Any executed probe records its inputs, target, result and cleanup; the recommendation names maintenance ownership and leaves production changes outside this review.

Workflow: https://undominated.ai/workflows/#assess-a-dependency-before-adoption
