Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add thapaliyabikendra/ai-artifacts --skill security-patternsgit clone --depth 1 https://github.com/thapaliyabikendra/ai-artifactsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/security-patterns)<a href="https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/security-patterns"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/security-patterns/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/security-patterns"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/security-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.02929 |
| Opus 5.5 | $0.00025 | $0.01172 |
| Sonnet 5.5 | $0.00013 | $0.00586 |
| Haiku 4.5 | $0.00006 | $0.00293 |
Grade A, and why
security-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 418 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Patterns for Web Applications
Security patterns and practices for building secure ABP Framework applications.
When to Use
- Conducting security audits
- Implementing authentication/authorization
- Creating threat models (STRIDE)
- Reviewing code for OWASP Top 10 vulnerabilities
- Designing permission systems
- Validating input and sanitizing output
STRIDE Threat Model
Framework
| Category | Threat | Question | Mitigation |
|---|---|---|---|
| Spoofing | Identity theft | Can attacker impersonate user? | Authentication, tokens |
| Tampering | Data modification | Can attacker modify data? | Integrity checks, signing |
| Repudiation | Denial of actions | Can user deny their actions? | Audit logging |
| Information Disclosure | Data exposure | Can attacker access sensitive data? | Encryption, access control |
| Denial of Service | Availability attack | Can attacker disrupt service? | Rate limiting, scaling |
| Elevation of Privilege | Unauthorized access | Can attacker gain higher privileges? | Authorization, least privilege |
Threat Model Template
## Threat Model: [Feature Name]
**Date**: YYYY-MM-DD
**Reviewer**: [Name]
### Assets
| Asset | Sensitivity | Description |
|-------|-------------|-------------|
| Patient Data | HIGH | PII including medical records |
| User Credentials | CRITICAL | Passwords, tokens |
| Appointment Data | MEDIUM | Scheduling information |
### Threat Analysis
| ID | Category | Threat | Likelihood | Impact | Risk | Mitigation |
|----|----------|--------|------------|--------|------|------------|
| T1 | Spoofing | Attacker impersonates patient | Medium | High | HIGH | OAuth 2.0, MFA |
| T2 | Tampering | Attacker modifies appointment | Low | Medium | LOW | Authorization checks |
| T3 | Info Disclosure | Unauthorized patient data access | Medium | Critical | CRITICAL | Row-level security |
| T4 | Elevation | Receptionist gains admin access | Low | Critical | HIGH | Permission validation |
### Mitigations
| ID | Threat | Control | Status |
|----|--------|---------|--------|
| M1 | T1 | Implement OAuth 2.0 with OpenIddict | Implemented |
| M2 | T3 | Add row-level authorization in AppService | Pending |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 418 lines · 63 tokens per session scan A 4bf7845ede85
security-patterns is a skill published in the GitHub repository thapaliyabikendra/ai-artifacts (25 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 2,929 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
security-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-patternsthapaliyabikendra/ai-artifacts | Skill | 25 | 8mo ago | Apache-2.0 | A | 63 | Claude Code |
| security-best-practicesconversionfactory/agent-config | Skill | 11 | 18d ago | none | A | 55 | Claude Code, Codex |
| security-practicesmiles990/claude-software-skills | Skill | 28 | 10mo ago | MIT | B | 17 | Claude Code, Codex |
| performing-threat-modeling-with-owasp-threat-dragonxalgorix/xalgorix | Skill | 1.6k | 2d ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| security-hardeningjuanmhidalgo/claude-plugins | Skill | 8 | 3d ago | MIT | A | 41 | Claude Code |
| mk:csongocsangyem/MeowKit | Skill | 18 | 3d ago | MIT | A | 22 | Claude Code |
| security-auditasgarovf/locusai | Skill | 23 | 9mo ago | MIT | A | 35 | Claude Code |