Agent skill · Audited from source
Nw Security By Design
skill · nWave-ai/nWaveMIT licenceAudited 14 Oct 2026 · source 1a864ec81cde
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 1a864ec81cde and found no filesystem, network or shell access and no hard-coded secrets. What it does: Security design principles, STRIDE threat modeling, OWASP Top 10 architectural mitigations, and secure patterns. Load when designing systems or reviewing architecture for security.
Cite
Cite this page
ModelsAtlas. “Nw Security By Design (nWave-ai/nWave)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/nwave-ai/nw-security-by-design
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 1a864ec81cde · 14 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublishernWave-ai GitHub organizationOwner of the repository this skill is read from
- Source foldernWave-ai/nWave/nWave/skills/nw-security-by-designThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict1a864ec81cdeA new audit runs when the source changes
- Repository statusNot archivedLast push 27 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Security design principles, STRIDE threat modeling, OWASP Top 10 architectural mitigations, and secure patterns. Load when designing systems or reviewing architecture for security.
---
name: nw-security-by-design
description: Security design principles, STRIDE threat modeling, OWASP Top 10 architectural mitigations, and secure patterns. Load when designing systems or reviewing architecture for security.
user-invocable: false
disable-model-invocation: true
---
# Security by Design
## OWASP Security Design Principles
Apply these during design -- retrofitting security is 10-100x more expensive.
| # | Principle | Architect Action |
|---|-----------|-----------------|
| 1 | Security by Design | Include security requirements in architecture documents |
| 2 | Security by Default | Ship restrictive defaults; require explicit opt-in for relaxed settings |
| 3 | Defense in Depth | Layer controls: WAF + input validation + output encoding + parameterized queries |
| 4 | Fail Secure | Deny access on error; closed-by-default network policies |
| 5 | Least Privilege | Scoped service accounts; time-limited tokens; minimum permissions |
| 6 | Compartmentalize | Network segmentation; separate databases per trust level |
| 7 | Separation of Duties | Separate deployment approval from code authorship |
| 8 | Economy of Mechanism | Minimize attack surface; simple, auditable security code |
| 9 | Complete Mediation | Check authorization on every request; no cached auth decisions |
| 10 | Open Design | Use published, peer-reviewed algorithms; no security-through-obscurity |
| 11 | Least Common Mechanism | Separate admin and user interfaces |
| 12 | Psychological Acceptability | Make the secure path the easy path; minimize user friction |
## STRIDE Threat Modeling
Apply STRIDE to every component in a Data Flow Diagram (DFD). Four questions drive every session:
1. What are we working on? (system model)
2. What can go wrong? (threat identification)
3. What are we going to do about it? (mitigation)
4. Did we do a good enough job? (review)
### STRIDE Reference
| Threat | Violated Property | Architectural Mitigation |
|--------|-------------------|--------------------------|
| **Spoofing** | Authentication | MFA, mutual TLS, certificate pinning, OAuth2+PKCE |
| **Tampering** | Integrity | Input validation, HMAC, parameterized queries, immutable infra |
| **Repudiation** | Non-repudiation | Tamper-evident logging (append-only), digital signatures, SIEM |
| **Info Disclosure** | Confidentiality | Encryption at rest+transit, least privilege, generic error messages |
| **Denial of Service** | Availability | Rate limiting, circuit breakers, auto-scaling, query complexity limits |
| **Elevation of Privilege** | Authorization | Least privilege, RBAC/ABAC, signed tokens verified server-side |
### STRIDE per DFD Element
| DFD Element | Most Relevant Threats |
|-------------|----------------------|
| External Entity | Spoofing |
| Process | All six STRIDE threats |
| Data Store | Tampering, Info Disclosure, Repudiation, DoS |
| Data Flow | Tampering, Info Disclosure, DoS |
| Trust Boundary | Spoofing, Tampering, Elevation of Privilege |
### Risk Response Options
| Response | When | Example |
|----------|------|---------|
| Mitigate | Probable and impactful; controls feasible | Add MFA for spoofing on admin login |
| Eliminate | Remove feature/component entirely | Remove unused admin API endpoint |
| Transfer | Better managed by another party | Use managed IdP (Auth0, Cognito) |
| Accept | Low risk; mitigation cost exceeds impact | Accept DoS risk on internal status page |
## OWASP Top 10 -- Architectural Prevention
Focus on what the architect decides at design time, not implementation details.
### A01: Broken Access Control (61% of breaches)
- Deny by default -- no endpoint open unless explicitly granted
- Centralized authorization service (OPA, Casbin, Cedar), not scattered checks
- Resource-level ownership -- queries scoped to authenticated user
- ABAC over simple RBAC for complex multi-tenant systems
- CORS with explicit origin allowlists -- never wildcards with credentials
### A02/A05: Security Misconfiguration (rose to #2 in 2025)
- Infrastructure as Code with security scanning (tfsec, checkov) in CI/CD
- Hardened base images -- minimal containers with security baked in
- Configuration drift detection with automated alerting
- Environment parity -- same hardening across dev/staging/prod
### A03: Injection (SQL #2 in CWE Top 25 2025)
- Parameterized queries everywhere -- reject PRs with string concatenation in SQL
- Treat ALL database-sourced data as potentially tainted (second-order injection)
- Allowlisting for dynamic query elements (table names, sort columns)
- Template sandboxing -- user input as DATA, never as template source
### A04: Insecure Design (new in 2021)
- Mandate STRIDE analysis as gate for architecture reviews
- Abuse cases alongside every user story ("As an attacker, I want to...")
- State machines with explicit transitions for business logic
- Rate limiting built into architecture from day one
### A06/Supply Chain (expanded in 2025)
- SCA scanning on every commit (Snyk, Dependabot)
- SBOM generation as build artifact
- Private package registry; block direct public pulls in production builds
- Lock files committed with integrity hash verification
### A07: Authentication Failures
- Centralized IdP (Keycloak, Auth0, Cognito) -- no custom auth per service
- MFA required for sensitive data access and admin functions
- Progressive delays on failed attempts (exponential backoff, not permanent lockout)
- Session ID regeneration on every authentication state change
## Secure Architecture Patterns
### Zero Trust
Core: "Never trust, always verify" -- no implicit trust from network location.
| Component | Implementation |
|-----------|---------------|
| Identity verification | OAuth2/OIDC for users; mTLS for services |
| Transport security | mTLS everywhere; service mesh (Istio, Linkerd) |
| Micro-segmentation | Network policies limiting service-to-service |
| Continuous verification | Re-authenticate and re-authorize every request |
| Least privilege access | ScExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 1a864ec
git clone https://github.com/nWave-ai/nWave git -C nWave checkout 1a864ec81cde
The author documents no install command, so this uses the repository directly. Our verdict covers commit 1a864ec81cde only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
1a864ec81cde
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/nwave-ai/nw-security-by-design/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All security skills →nWave-ai/nWave
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
nWave-ai/nWave
Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation
nWave-ai/nWave
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions,…
nWave-ai/nWave
Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement
nWave-ai/nWave
5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance
nWave-ai/nWave
Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating architecture styles.
Add this badge to your README
[](https://modelsatlas.com/skills/nwave-ai/nw-security-by-design/)
<a href="https://modelsatlas.com/skills/nwave-ai/nw-security-by-design/"><img src="https://modelsatlas.com/skills/nwave-ai/nw-security-by-design/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Nw Security By Design
What does the Nw Security By Design skill do?
Is Nw Security By Design safe to install?
What can Nw Security By Design access on my machine?
Which assistants does Nw Security By Design work with?
How current is this page?
Sources
- github.com/nWave-ai/nWave/tree/main/nWave/skills/nw-security-by- — the audited source at commit 1a864ec81cde and every finding aboveObserved · 14 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Nw Security By Design skill do?
- Is Nw Security By Design safe to install?
- What can Nw Security By Design access on my machine?