Agent skill

Sap Dependency Security

by secondsky in secondsky/sap-skills

SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection.

GPL-3.0Auto-check: warningsAgent Workflows

Install Sap Dependency Security

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add secondsky/sap-skills --skill sap-dependency-security -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install secondsky/sap-skills sap-dependency-security --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/secondsky/sap-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/sap-dependency-security/skills/sap-dependency-security .claude/skills/sap-dependency-security && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sap-dependency-security
GitHub stars
462
Token cost
~5.9k tokens
SKILL.md length
1,882 words
Files
31 (incl. scripts, references)
Skills in repo
41
Repo updated
First seen
Licence
GPL-3.0

At a glance

SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection.

  • Works in 5 steps: Default to 14-day cooldown for SAP… → Treat MCP servers as executable… → Pin local-source MCPs by commit. SAC… → …
  • Configuring security policies
  • SKILL.md covers Related Skills, When to Use This Skill, Common Issues and Two Modes of Operation, plus 12 more sections
  • Runs Shell scripts from its folder; calls npm, bun and git

What it does

Sap Dependency Security is an agent skill from secondsky/sap-skills. SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection. Use when upgrading deps, configuring security policies, preventing supply chain attacks, pinning SAP MCP servers, or reviewing SAP CAP/UI5/Fiori/HANA/Datasphere/SAC/BTP/ABAP dependency workflows.

Its SKILL.md is about 5.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 34 other files, including scripts and reference files (for example `README.md`, `agents/openai.yaml` and `references/compatibility-matrix.md`).

It sits in Agent Workflows, covering Supply chain security and MCP servers. It works with Model Context Protocol and SAP. The repository describes itself as: Production-ready plugins for SAP development with AI coding assistants — BTP, CAP, Fiori, ABAP, HANA, Analytics Cloud, Datasphere, and more. The licence is GPL-3.0.

When your agent uses it

  • Configuring security policies
  • Preventing supply chain attacks
  • Pinning SAP MCP servers
  • Reviewing SAP CAP/UI5/Fiori/HANA/Datasphere/SAC/BTP/ABAP dependency workflows

Example prompts

  • “/sap-dependency-security”

Requirements

  • Node.js
  • A Bash shell

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Default to 14-day cooldown for SAP enterprise projects. Record explicit exceptions in the SAP MCP inventory or project review notes.
  2. Treat MCP servers as executable dependencies. In .mcp.json, use exact npm pins such as @ui5/mcp-server@0.2.11, never @latest or bare…
  3. Pin local-source MCPs by commit. SAC uses the trusted secondsky/sap_analytics_cloud_mcp fork and must record commit…
  4. Keep runtime authorization separate. This skill covers package/source/executable trust; use the relevant SAP skill for tenant role design…
  5. Validate MCP drift with npm run validate:mcp-security after any .mcp.json or SAP MCP inventory change.

What it can do on your machine

Read from SKILL.md and the folder at commit 652a861. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • bun
    • git
    • yarn
    • bunx
    • npm-check-updates
    • pnpm
    • deno

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, git, yarn, bunx and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sap Dependency Security loads about 5.9k tokens when it runs, and up to ~22k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 1,882 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~5.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~22k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:85
    | npm | `.npmrc` |
  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:194
    **npm** (`.npmrc`):
  • NoteMentions a .env fileSKILL.md:499
    d CLI or Infisical instead of plaintext `.env` files
  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:624
    | `npmrc-security.tmpl` | Secure `.npmrc` with scripts disabled + cooldown |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from secondsky/sap-skills at commit 652a861, republished under its GPL-3.0 licence (© secondsky). 1,882 words, ~5,878 tokens.

Download SKILL.mdSave it as .claude/skills/sap-dependency-security/SKILL.md (or your agent's skills folder). This skill also uses 30 other files; get the full folder from GitHub.
name
sap-dependency-security
description
SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection. Use when upgrading deps, configuring security policies, preventing supply chain attacks, pinning SAP MCP servers, or reviewing SAP CAP/UI5/Fiori/HANA/Datasphere/SAC/BTP/ABAP dependency workflows.
license
GPL-3.0
metadata.maintainer
Eduard Jiglau
metadata.maintainer_email
hello@sap-ai-skills.com
metadata.website
https://sap-ai-skills.com
metadata.version
2.4.1
metadata.last_verified
2026-06-14

SAP Dependency Security

  • sap-hana-cli: For dependency-aware database tooling workflows and upgrade guidance
  • sap-cap-capire: For CAP dependency-safe runtime and service configuration guidance
  • sap-fiori-tools: For secure UI5/Fiori dependency strategy when tooling touches frontend packages
  • sapui5: For SAPUI5/OpenUI5 frontend dependency and MCP tooling review
  • sap-datasphere: For tenant-connected Datasphere MCP and CLI dependency review
  • sap-sac-scripting: For source-pinned SAC MCP setup and local install records

Manage SAP dependency security and upgrades with supply chain protection, compatibility analysis, staged rollout, and comprehensive testing across all major package managers.

When to Use This Skill

  • Upgrading major framework or library versions
  • Configuring supply chain attack prevention (cooldown, script blocking, lockfile hardening)
  • Setting up secure package manager configuration
  • Resolving dependency conflicts or peer dependency issues
  • Planning incremental upgrade paths with testing
  • Automating dependency updates with Renovate, Dependabot, or Snyk
  • Auditing dependencies for vulnerabilities
  • Setting up CI/CD dependency security workflows
  • Pinning or reviewing SAP MCP servers in .mcp.json
  • Reviewing SAP CAP, UI5/Fiori, HANA, Datasphere, SAC, SAP Cloud SDK, BTP/CF/mbt, or ABAP/gCTS dependency workflows

Common Issues

IssueRecommended response
Floating MCP package or @latest in .mcp.jsonReplace with an exact version or approved source commit and run npm run validate:mcp-security.
Lockfile changed unexpectedlyReview package manager config, block lifecycle scripts, and regenerate only after dependency intent is clear.
Dependency is too new for cooldown policyHold the upgrade unless a documented security exception justifies immediate adoption.
Tenant-connected tool changed sourceVerify the source URL, commit, and build steps before using credentials.

Two Modes of Operation

Interactive — Walk through setup questions to generate tailored config. Use for fresh setup.

Default — Apply recommended defaults immediately: 7-day cooldown, block all scripts, frozen-lockfile, lockfile-lint, Dependabot with cooldown. Customization optional.

SAP Development Mode — Use a stricter SAP posture: 14-day cooldown, exact pins for MCP servers and executable tooling, no floating @latest, source commit pins for local MCP servers, and manual review for tenant-connected tools.

SAP Development Mode

Use SAP Development Mode when dependency work touches SAP projects, SAP BTP deployment tooling, SAP SDKs, or any MCP server shipped by this repository.

Core rules:

  1. Default to 14-day cooldown for SAP enterprise projects. Record explicit exceptions in the SAP MCP inventory or project review notes.
  2. Treat MCP servers as executable dependencies. In .mcp.json, use exact npm pins such as @ui5/mcp-server@0.2.11, never @latest or bare package names.
  3. Pin local-source MCPs by commit. SAC uses the trusted secondsky/sap_analytics_cloud_mcp fork and must record commit 2020235505d98111c2889598ab2217c1619b6943.
  4. Keep runtime authorization separate. This skill covers package/source/executable trust; use the relevant SAP skill for tenant role design and business authorization.
  5. Validate MCP drift with npm run validate:mcp-security after any .mcp.json or SAP MCP inventory change.

Load references/sap-dependency-risk-matrix.md for SAP stack coverage and references/sap-mcp-security.md for MCP update workflow and SAC source-install policy. Use references/sap-mcp-inventory.json as the machine-readable approved MCP package/source list.

Interactive Setup Flow

When the user wants tailored configuration, walk through these decisions. Skip this section entirely if using default mode.

Tier 1: Required Decisions

Always ask these 3 questions before generating any config:

1. Package Manager

"Which package manager does this project use?"

AnswerGenerates
npm.npmrc
Bunbunfig.toml
pnpmpnpm-workspace.yaml
Yarn.yarnrc.yml
Denodeno.json config

2. Cooldown Period

"How many days should newly published packages age before install? This prevents supply chain attacks where malicious packages are discovered and unpublished within days."

OptionDaysUse Case
Aggressive3Catches most typosquatting
Recommended7Good balance for most projects
Conservative14Critical/production systems
Paranoid21Matches Snyk's built-in default
CustomNUser specifies

3. Post-Install Script Policy

"How should lifecycle scripts (postinstall, preinstall) be handled? These are the #1 attack vector for supply chain attacks."

OptionBehavior
Block all (recommended)--ignore-scripts + allow-git=none
AllowlistBlock by default, allow specific trusted packages
Review onlyWarn but don't block
Tier 2: Security Tooling (Offer as Batch)

"Which of these security features would you like to configure? Select any that apply."

4. CI/CD Automation Tool

AnswerGenerates
Dependabot.github/dependabot.yml with cooldown
Renovaterenovate.json with minimumReleaseAge
SnykNo config needed (21-day cooldown built-in)
NoneSkip

5. Automerge Policy

OptionBehavior
NoneAll updates require manual review
Minor+Patch onlyAuto-merge safe updates, review majors
All with approvalAuto-merge after team approval

6. Update Schedule

OptionConfig Value
Daily"daily"
Weekly (default)"weekly"
Biweekly"biweekly"
Monthly"monthly"

7. Install-Time Security Tooling

"Which security tools should protect dependency installation?"

OptionFree?What It Does
socket npm wrapperYes (beta)Wraps npm/npx, blocks malicious packages before install. Run socket wrapper on to enable system-wide.
npqYesPre-install auditor (CVE, typosquat, age, provenance checks)
Socket Firewall (sfw)NoReal-time deep analysis, blocks malicious packages
socket npm + npqYesBoth free tools combined
None—Skip

Load references/socket-cli-guide.md for full Socket CLI setup including authentication and free vs authenticated features.

8. Lockfile Validation

OptionBehavior
Yes (recommended)Adds lockfile-lint + CI script
NoSkip
Tier 3: Advanced Options (Only If User Opts In)

"Would you like to configure any advanced options?"

9. Dev Containers — Generate hardened .devcontainer/devcontainer.json (Yes/No)

10. Secrets Manager — 1Password CLI / Infisical / None

11. pnpm Trust Policy — Enable trustPolicy: no-downgrade (pnpm 10.21+ only, Yes/No)

12. Cooldown Exclusions — Package names that bypass cooldown (e.g., @types/react, typescript, esbuild)

Security-First Upgrade Principles

  1. Cooldown before installing — Wait 7 days for general projects or 14 days for SAP enterprise/MCP workflows so new package versions are vetted by the community
  2. Block post-install scripts — Prevent arbitrary code execution during npm install
  3. Freeze lockfiles in CI — Use deterministic installs (npm ci, --frozen-lockfile)
  4. Validate lockfile integrity — Use lockfile-lint to detect injection
  5. Audit before trusting — Use npq or Socket CLI to check packages before installing
  6. Upgrade incrementally — One major version at a time with testing between each
  7. Never blindly upgrade — Avoid npm update or npm-check-updates -u without review
  8. Scan before and after — Use socket scan to detect supply chain issues beyond CVEs
  9. Pin SAP MCP executables — Use exact npm versions or source commit pins before letting MCP servers access SAP projects or tenants

Cooldown Period: Prevent Supply Chain Attacks

Newly published packages may contain malicious code discovered within hours. Configure a cooldown period to delay installation.

Quick Setup

npm (.npmrc):

ini
min-release-age=7

Bun (bunfig.toml):

toml
[install]
minimumReleaseAge = 604800  # 7 days in seconds
minimumReleaseAgeExcludes = ["@types/bun", "typescript"]

pnpm (pnpm-workspace.yaml):

yaml
minimumReleaseAge: 10080  # 7 days in minutes
minimumReleaseAgeExclude:
  - '@types/react'
  - typescript

Yarn (.yarnrc.yml):

yaml
npmMinimalAgeGate: "7d"
npmPreapprovedPackages:
  - "@types/react"
  - "typescript"

Load references/cooldown-config-guide.md for detailed per-PM configuration, CI tool integration, and exclusion patterns.

Use templates/<pm>-security.tmpl for copy-paste ready config files.

Disable Post-Install Scripts

Post-install scripts are the most common supply chain attack vector (Shai-Hulud, Nx, event-stream incidents).

Quick Setup

npm:

bash
npm config set ignore-scripts true
npm config set allow-git none

Bun: Disabled by default. Allow specific packages in package.json:

json
{ "trustedDependencies": ["esbuild", "sharp"] }

pnpm (10.0+): Disabled by default. Allow specific packages in pnpm-workspace.yaml:

yaml
allowBuilds:
  esbuild: true
strictDepBuilds: true  # Hard error on unreviewed scripts

Load references/package-manager-security.md for full per-PM hardening including pnpm trustPolicy, blockExoticSubdeps, and @lavamoat/allow-scripts.

Deterministic & Frozen Installs

Always use frozen install commands in CI to ensure reproducible builds:

Package ManagerCommandWhat It Does
npmnpm ciDeletes node_modules, installs exact lockfile versions
Bunbun install --frozen-lockfileFails if lockfile is out of sync
pnpmpnpm install --frozen-lockfileFails if lockfile is out of sync
Yarnyarn install --immutable --immutable-cacheValidates lockfile and cache
Denodeno install --frozenFrozen installation

Commit all lockfiles to version control: package-lock.json, bun.lock, pnpm-lock.yaml, yarn.lock, deno.lock.

Show full SKILL.md (718 more words)Show less

Lockfile Validation

Install and configure lockfile-lint to detect lockfile injection attacks:

bash
npm install --save-dev lockfile-lint
json
{
  "scripts": {
    "lint:lockfile": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https",
    "preinstall": "npm run lint:lockfile"
  }
}

Note: lockfile-lint does not currently support Bun's bun.lock / bun.lockb formats.

Pre-Install Security Auditing

npq — Pre-Install Auditor
bash
npm install -g npq
npq install <package>          # Audit before installing
npq install <package> --dry-run # Audit without installing

# Shell alias for seamless use
alias npm='npq-hero'

# Use with other PMs
NPQ_PKG_MGR=pnpm npq install <package>
NPQ_PKG_MGR=bun npq install <package>
Socket Firewall (sfw) — Real-Time Blocker
bash
npm install -g sfw
sfw npm install <package>      # Blocks malicious packages
sfw pnpm add <package>
sfw yarn add <package>

Load references/supply-chain-security.md for full comparison of npq vs sfw and what each validates.

Socket CLI Integration

Socket CLI provides proactive supply chain security beyond basic vulnerability scanning — covering malware detection, typosquatting, protestware, install script risks, and license compliance.

Proactive Upgrade Workflow
1. PRE-UPGRADE:   socket scan create --report          → establish baseline
2. EVALUATE:      socket package score npm <pkg>@<ver>  → assess target package safety
3. SAFE INSTALL:  socket npm install <pkg>              → block malicious packages
4. POST-UPGRADE:  socket scan create --report          → verify no new alerts
5. DIFF:          socket scan diff <before> <after>     → see exactly what changed
6. FIX:           socket fix --minimum-release-age 7d   → auto-fix any new CVEs
7. OPTIMIZE:      socket optimize                       → apply security overrides
Quick Reference
bash
# Install
npm install -g socket

# Authenticate (required for scans, fixes, package scores)
socket login

# Check a package before upgrading
socket package score npm <package>

# Scan your whole project
socket scan create --report

# Auto-fix CVEs (complements Dependabot/Renovate)
socket fix --minimum-release-age 7d

# Gate CI on security policy
socket ci

# Safe npm wrapper (free, no auth needed)
socket wrapper on

Load references/socket-cli-guide.md for comprehensive command reference, CI workflow templates, alert categories, and free vs authenticated feature matrix.

Dependency Analysis

bash
# Audit for vulnerabilities
bun audit       # Bun
npm audit       # npm
yarn audit      # Yarn

# Socket: deep security assessment (CVEs + supply chain + license)
socket package score npm <package>
socket scan create --report

# Check for outdated packages
bun outdated
npm outdated

# Interactive upgrade (safe — review each)
bunx npm-check-updates --interactive

# Analyze dependency tree
npm ls <package-name>
yarn why <package-name>

Staged Upgrade Strategy

Upgrade one dependency at a time with testing between each:

bash
# 1. Create feature branch
git checkout -b upgrade/<package>-<version>

# 2. (Optional) Baseline scan — capture current state
socket scan create --report

# 3. Evaluate target package before upgrading
socket package score npm <package>@<version>

# 4. Upgrade single package
bun add <package>@<version>

# 5. Test immediately
bun test && bunx tsc --noEmit && bun run build

# 6. (Optional) Post-upgrade scan — verify no new alerts
socket scan create --report

# 7. Commit and continue
git add -A && git commit -m "chore: upgrade <package> to <version>"

Load references/staged-upgrades.md for codemod automation, custom migration scripts, and peer dependency handling.

Load references/compatibility-matrix.md for version compatibility tables (React 18/19, Next.js 13-15, TypeScript, Tailwind 3/4).

Automated Updates with Cooldown

Configure CI/CD tools to respect cooldown periods:

Dependabot (.github/dependabot.yml)
yaml
version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
    cooldown:
      default-days: 7
Renovate (renovate.json)
json
{
  "extends": ["config:base"],
  "minimumReleaseAge": "7 days",
  "packageRules": [
    {
      "matchUpdateTypes": ["minor", "patch"],
      "automerge": true
    },
    {
      "matchUpdateTypes": ["major"],
      "automerge": false,
      "minimumReleaseAge": "14 days"
    }
  ]
}
Snyk

Snyk includes a built-in 21-day cooldown for upgrade PRs. No configuration needed.

Socket Fix (complements Dependabot/Renovate)

Socket Fix automatically resolves CVEs with intelligent upgrade planning. Runs alongside other automation tools — it focuses on CVE remediation specifically:

bash
# Fix all fixable CVEs with cooldown alignment
socket fix --minimum-release-age 7d

# Conservative: no major version bumps
socket fix --minimum-release-age 7d --no-major-updates

# Target specific CVEs
socket fix --id GHSA-hhq3-ff78-jv3g --minimum-release-age 7d

# Preview without applying
socket fix --no-apply-fixes --minimum-release-age 7d

For CI autopilot mode (auto-creates and auto-merges fix PRs), use templates/socket-fix-ci.tmpl.

Load references/socket-cli-guide.md for full socket fix options including --autopilot, --range-style, and --pr-limit.

Use templates/dependabot-security.tmpl or templates/renovate-security.tmpl for complete config files.

Publishing Security

For package maintainers:

bash
# Enable 2FA
npm profile enable-2fa auth-and-writes

# Publish with provenance (cryptographic build proof)
npm publish --provenance

# Trusted publishing via OIDC (eliminates long-lived tokens)
# Configure on npmjs.com, then:
# In GitHub Actions: permissions: id-token: write

Load references/supply-chain-security.md for full publishing security guide including OIDC setup and dependency tree reduction.

Dev Environment Hardening

Isolate dependency execution from the host system:

  • Dev containers — limit blast radius of malicious packages
  • Secrets management — use 1Password CLI or Infisical instead of plaintext .env files
  • Dependency tree reduction — replace common packages with native JS

Use templates/devcontainer-security.tmpl for a hardened dev container config.

Load references/secrets-and-containers.md for dev container setup, secrets management, and dependency reduction patterns.

Testing Strategy

Run tests at every level after each upgrade:

bash
# 1. Static analysis (fastest)
bunx tsc --noEmit && bun run lint

# 2. Unit tests
bun test

# 3. Build check
bun run build

# 4. Integration / E2E (after major upgrades)
bun run test:e2e

Load references/testing-strategy.md for full testing pyramid, CI integration, and bundle analysis.

Rollback Plan

bash
#!/bin/bash
git stash
git checkout -b upgrade/<package>

bun add <package>@latest

if bun test && bun run build; then
  git add package.json bun.lock
  git commit -m "chore: upgrade <package>"
else
  echo "Upgrade failed, rolling back"
  git checkout main
  git branch -D upgrade/<package>
  bun install
fi

Upgrade Checklist

markdown
Pre-Upgrade:
- [ ] Review current dependency versions
- [ ] Read changelogs for breaking changes
- [ ] Create feature branch
- [ ] Tag current state (git tag pre-upgrade)
- [ ] Run full test suite (baseline)
- [ ] Verify cooldown period is configured
- [ ] For SAP MCP changes, verify exact package/source pins against `references/sap-mcp-inventory.json`

Security Pre-Checks:
- [ ] Post-install scripts are disabled
- [ ] Lockfile validation is active
- [ ] Install auditing tools configured (if applicable)
- [ ] CI uses frozen-lockfile install
- [ ] Run `socket scan create --report` for baseline (if Socket available)

During Upgrade:
- [ ] Upgrade one dependency at a time
- [ ] Check target package: `socket package score npm <pkg>` (if Socket available)
- [ ] Respect cooldown period (don't force latest)
- [ ] Update peer dependencies
- [ ] Fix TypeScript errors
- [ ] Run test suite after each upgrade
- [ ] Check bundle size impact

Post-Upgrade:
- [ ] Post-upgrade scan: `socket scan diff` to verify no new alerts (if Socket available)
- [ ] Consider `socket fix --minimum-release-age 7d` for any new CVEs
- [ ] Full regression testing
- [ ] Performance testing
- [ ] Update documentation
- [ ] Deploy to staging
- [ ] Monitor for errors
- [ ] Deploy to production

Common Pitfalls

  • Upgrading all dependencies at once (use incremental upgrades)
  • Blindly running npm update or npm-check-updates -u without review
  • Not testing after each individual upgrade
  • Ignoring peer dependency warnings
  • Forgetting to update or commit the lock file
  • Not reading breaking change notes in changelogs
  • Skipping major versions instead of stepping through them
  • Not having a rollback plan
  • Trusting npmjs.org displayed source code (can differ from actual tarball)
  • Leaving post-install scripts enabled (most common attack vector)
  • Not configuring a cooldown period for new package versions
  • Shipping SAP MCP configs with @latest, bare npx packages, or unpinned local source paths

When to Load References

Load these reference files when the user needs detailed information beyond the quick-reference in SKILL.md:

Load This FileWhen
references/cooldown-config-guide.mdConfiguring cooldown for a specific PM, CI tool integration, or exclusion patterns
references/package-manager-security.mdFull per-PM hardening guide including pnpm trust policy, blockExoticSubdeps, cross-PM cheat sheet
references/supply-chain-security.mdUnderstanding attack vectors, incident history, npq vs sfw vs Socket CLI comparison, publisher security (2FA, provenance, OIDC)
references/secrets-and-containers.mdSetting up dev containers, secrets management with 1Password/Infisical
references/socket-cli-guide.mdUsing Socket CLI for scans, fixes, package scoring, CI integration, wrapper mode, alert categories
references/compatibility-matrix.mdChecking version compatibility for React, Next.js, TypeScript, Tailwind upgrades
references/staged-upgrades.mdCodemod automation, custom migration scripts, peer dependency handling, workspace upgrades
references/testing-strategy.mdFull testing pyramid, CI integration, bundle analysis, performance testing
references/sap-dependency-risk-matrix.mdSAP stack-specific dependency review across Node, Java, Python, containers, BTP/CF/mbt, ABAP/gCTS, and MCP
references/sap-mcp-security.mdSAP MCP exact-pin policy, SAC source-install policy, and MCP update workflow
references/sap-mcp-inventory.jsonMachine-readable approved SAP MCP package/source pins used by npm run validate:mcp-security

Template Files

Ready-to-use config files in templates/:

TemplatePurpose
npmrc-security.tmplSecure .npmrc with scripts disabled + cooldown
bunfig-security.tmplSecure bunfig.toml with cooldown + exclusions
pnpm-workspace-security.tmplSecure pnpm-workspace.yaml with cooldown, allowBuilds, trustPolicy
yarnrc-security.tmplSecure .yarnrc.yml with age gate + preapproved packages
dependabot-security.tmplDependabot config with 7-day cooldown
renovate-security.tmplRenovate config with minimumReleaseAge + automerge rules
devcontainer-security.tmplHardened dev container with security options
socket-fix-ci.tmplGitHub Actions: Socket Fix autopilot with cooldown-aligned CVE remediation
socket-scan-ci.tmplGitHub Actions: Socket CI security gate for every push/PR
sap-mcp-config.tmplReview-ready SAP MCP config candidate with exact-pin checklist
maven-security.tmplMaven checksum/enforcer/dependency scan fragment for SAP Java projects
gradle-security.tmplGradle dependency locking and verification fragment
python-security.tmplPython lock/audit workflow for SAP AI SDK, HANA ML, and data tooling
container-trivy.tmplContainer image scan workflow with Trivy and digest-pin reminders
btp-cf-mbt-review.tmplBTP, Cloud Foundry, and MBT dependency/deployment review checklist
abap-gcts-review.tmplABAP, gCTS, and transport dependency review checklist

© secondsky, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 30 other files (scripts, references) in plugins/sap-dependency-security/skills/sap-dependency-security of secondsky/sap-skills.

  • SKILL.md
  • README.md
  • agents/openai.yaml
  • references/compatibility-matrix.md
  • references/cooldown-config-guide.md
  • references/package-manager-security.md
  • references/sap-dependency-risk-matrix.md
  • references/sap-mcp-inventory.json
  • references/sap-mcp-security.md
  • references/secrets-and-containers.md
  • references/socket-cli-guide.md
  • references/staged-upgrades.md
  • references/supply-chain-security.md
  • references/testing-strategy.md
  • scripts/generate-dependency-upgrades.sh
  • templates/abap-gcts-review.tmpl
  • templates/btp-cf-mbt-review.tmpl
  • … and 14 more

Open the folder on GitHubat commit 652a861

Compare with similar skills

Sap Dependency Security next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sap Dependency Security compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sap Dependency Security this skillsecondsky/sap-skills462—~5.9kAutomated safety check: WarnGPL-3.0
AI Bomcdxgen/cdxgen1.1k—~2.5kAutomated safety check: PassApache-2.0
Plugin Scanneriflytek/skillhub5.2k2 repos~1.1kAutomated safety check: NotesApache-2.0
MCP Server WorkflowsSAP-samples/hana-developer-cli-tool-example114—~310Automated safety check: PassApache-2.0
Securing AI Systemstrilwu/secskills156—~2.9kAutomated safety check: PassMIT
Agentic Tool Integrationsamugit83/redamon3k—~1.3kAutomated safety check: PassMIT

Similar skills

  • AI Bom

    cdxgen/cdxgen

    Generates AI-BOM, MCP inventory, AI skill inventory, and AI authorship provenance documents with cdxgen, cataloging models, inference services, Hugging Face purls, MCP servers and their…

    1.1k GitHub stars~2.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Plugin Scanner

    iflytek/skillhub

    Scan AI agent skills, plugins, MCP servers, and agent tooling for prompt injection, unsafe commands, secret exposure, and supply-chain risks before installing or trusting them.

    5.2k GitHub starsUsed in 2 repos~1.1k tokens
    SecurityAuto-check: notes
  • MCP Server Workflows

    SAP-samples/hana-developer-cli-tool-example

    Create or update MCP server tools, JSON-RPC handlers, and registrations.

    114 GitHub stars~310 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Securing AI Systems

    trilwu/secskills

    Assess and harden LLM applications and agentic systems against prompt injection, tool misuse, excessive agency, memory poisoning, RAG data leakage, and model supply-chain risk, mapped to the OWASP…

    156 GitHub stars~2.9k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Agentic Tool Integration

    samugit83/redamon

    Wiring a new tool the AI agent can call (not the recon pipeline): the tool registry, the phase map, the hardcoded dispatch chokepoint, and the duplicated execution paths that make a tool work in…

    3k GitHub stars~1.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Security Scan

    affaan-m/ECC

    Scan your Claude Code configuration (.claude/ directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield.

    275k GitHub starsUsed in 5 repos~1.1k tokens
    Agent WorkflowsAuto-check passed

More from secondsky/sap-skills

All 41 skills in this repo
  • Sap Rpt1

    secondsky/sap-skills

    SAP-RPT-1-OSS local tabular prediction workflows for FI/CO prototype datasets.

    462 GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check: notes
  • Dependency Upgrade

    secondsky/sap-skills

    Secure dependency upgrades with supply chain protection, cooldowns, and staged rollout.

    462 GitHub stars~4.8k tokensUpdated 2 days ago
    Auto-check: warnings
  • Sap Abap

    secondsky/sap-skills

    Comprehensive ABAP development skill for SAP systems. An agent skill from secondsky/sap-skills.

    462 GitHub stars~3.9k tokensUpdated 2 days ago
    Auto-check passed
  • Sap Abap Cds

    secondsky/sap-skills

    Comprehensive SAP ABAP CDS (Core Data Services) reference for data modeling, view development, and semantic enrichment.

    462 GitHub stars~4.2k tokensUpdated 2 days ago
    Auto-check passed
  • Sap AI Core

    secondsky/sap-skills

    Guides development with SAP AI Core and SAP AI Launchpad for enterprise AI/ML workloads on SAP BTP.

    462 GitHub stars~3.3k tokensUpdated 2 days ago
    Auto-check passed
  • Sap API Style

    secondsky/sap-skills

    This skill provides comprehensive guidance for documenting SAP APIs following the SAP API Style Guide standards.

    462 GitHub stars~4.4k tokensUpdated 2 days ago
    Auto-check passed

Questions about Sap Dependency Security

What does Sap Dependency Security do?

SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection. Sap Dependency Security is an agent skill from secondsky/sap-skills. SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection.

When should I use Sap Dependency Security?

Sap Dependency Security fits situations like: configuring security policies; preventing supply chain attacks; pinning SAP MCP servers; reviewing SAP CAP/UI5/Fiori/HANA/Datasphere/SAC/BTP/ABAP dependency workflows.

How do I install Sap Dependency Security in Claude Code?

Run `npx skills add secondsky/sap-skills --skill sap-dependency-security -a claude-code`. Or copy the skill folder (plugins/sap-dependency-security/skills/sap-dependency-security in secondsky/sap-skills) into .claude/skills/sap-dependency-security in your project. Claude Code loads it when a task matches its description.

How do I install Sap Dependency Security in Codex?

Run `npx skills add secondsky/sap-skills --skill sap-dependency-security -a codex`. Or copy the skill folder (plugins/sap-dependency-security/skills/sap-dependency-security in secondsky/sap-skills) into .agents/skills/sap-dependency-security in your project. Codex loads it when a task matches its description.

Can I use Sap Dependency Security in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add secondsky/sap-skills --skill sap-dependency-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sap-dependency-security, .gemini/skills/sap-dependency-security, .github/skills/sap-dependency-security and .opencode/skills/sap-dependency-security in your project.

What does Sap Dependency Security need to run?

Going by SKILL.md and its folder, Sap Dependency Security needs a shell for the scripts in its folder and the command-line tools its instructions call (npm, bun, git, yarn, bunx and npm-check-updates). Our summary lists: Node.js; A Bash shell.

Does Sap Dependency Security access the network?

SKILL.md contains no URLs. Its commands use npm and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Sap Dependency Security safe to install?

Our automated static check of SKILL.md flagged 3 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Sap Dependency Security use?

Sap Dependency Security is published under the GPL-3.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sap Dependency Security use?

About 5.9k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 16k tokens, read only when the agent opens those files.

What are the alternatives to Sap Dependency Security?

Skills that share tags, products or a category with Sap Dependency Security: AI Bom (cdxgen/cdxgen, 1.1k stars), Plugin Scanner (iflytek/skillhub, 5.2k stars), MCP Server Workflows (SAP-samples/hana-developer-cli-tool-example, 114 stars) and Securing AI Systems (trilwu/secskills, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sap Dependency Security?

secondsky (a GitHub user) maintains it in secondsky/sap-skills, which has 462 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 5, 2026.

Source: secondsky/sap-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.