Skip to content
Back to skills

Supply Chain Security

ASecurity

Activate when reviewing or modifying dependency resolution, lockfile schema, package downloaders, signature/integrity checks, file integration cleanup, or anything that could expose APM to dependency confusion, typosquatting, malicious packages, or token leakage.

  • 3,953 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentssecurity

Works with

  • cli

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add microsoft/apm --skill supply-chain-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Supply Chain Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Supply Chain Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/microsoft-supply-chain-security-apm/badge)](https://www.skillsdirectory.com/skills/microsoft-supply-chain-security-apm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: supply-chain-security
description: >-
  Activate when reviewing or modifying dependency resolution, lockfile
  schema, package downloaders, signature/integrity checks, file
  integration cleanup, or anything that could expose APM to dependency
  confusion, typosquatting, malicious packages, or token leakage.
---

# Supply Chain Security Skill

[Supply chain security expert persona](../../agents/supply-chain-security-expert.agent.md)

## When to activate

- Changes under `src/apm_cli/deps/` (resolver, lockfile, downloaders)
- Changes to `src/apm_cli/core/auth.py` or `token_manager.py`
- Changes to `src/apm_cli/integration/cleanup.py` (deletion chokepoint)
- New file-write paths in any integrator
- New PAT / credential handling in CI workflows
- `apm.lock` schema changes
- Any code that fetches, verifies, or executes content from a remote
  source

## Key rules

- All path construction routes through
  `src/apm_cli/utils/path_security.py` (no ad-hoc `".." in x`).
- All deletions of deployed files route through
  `integration/cleanup.py:remove_stale_deployed_files()` (3 safety
  gates).
- All credential reads route through `AuthResolver` -- never raw
  `os.getenv` for token vars.
- Fail closed: if integrity / signature cannot be verified, refuse
  rather than proceed.
- Token values must never appear in user-facing strings.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.