Skip to content

chore(security): add OSS Scanner build and threat model - #750

Merged
luongnv89 merged 1 commit into
mainfrom
chore/749-oss-scanner-enrollment
Oct 20, 2026
Merged

luongnv89 merged 1 commit into
mainfrom
chore/749-oss-scanner-enrollment

Conversation

@luongnv89

Copy link
Copy Markdown
Owner

Closes #749

Prepares asm for enrollment in Anthropic's opt-in vulnerability-finding service for open source (announcement, FAQ). The enrollment PR on anthropics/oss-scanner points at these paths, so this needs to land on main first.

Changes

  • .oss-scanner/Dockerfile: node:22-bookworm + git/python3, npm ci, npm run build, npm link, then npm test (non-fatal). The scan runs offline, so everything is fetched at build time.
  • .oss-scanner/threat_model.md: untrusted inputs (skill sources, registry, manifests and bundles, frontmatter), security goals (install/import must not execute skill code; no writes or reads outside skill dirs; no argv injection), in-scope and out-of-scope paths, and a severity rubric.
  • SECURITY.md: adds luongnv89@gmail.com as an email security contact next to GitHub private advisories.

Verification

  • Ran the Dockerfile steps on a fresh clone (npm ci && npm run build): build OK. Docker isn't usable on the dev box, so tools/check was not run.
  • tools/validate.py in oss-scanner passes with projects/agent-skill-manager/project.yaml pointing at these paths.

🤖 Generated with Claude Code

Prepare enrollment in Anthropic's opt-in OSS vulnerability scanner:
- .oss-scanner/Dockerfile builds asm and runs the unit suite so the
  offline scan has every dependency in the image
- .oss-scanner/threat_model.md states where untrusted input enters,
  the security goals, scope, and the severity rubric
- SECURITY.md lists an email security contact for scanner reports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@luongnv89
luongnv89 merged commit 841967e into main Oct 20, 2026
15 of 16 checks passed
@luongnv89
luongnv89 deleted the chore/749-oss-scanner-enrollment branch October 20, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(security): enroll asm in Anthropic OSS Scanner

1 participant