TEST-DAST
We earn commissions when you shop through the links below.
Detect runtime defects (memory, concurrency, timing, performance, power) via dynamic tools and instrumentation in medical device software.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install meddev-skills-test-dastManual setup by platform
Claude Code
~/.claude/skills/meddev-skills-test-dast/SKILL.md
Instructions
Dynamic Analysis
Purpose
Detect runtime defects (memory, concurrency, timing, performance, power) via dynamic tools and instrumentation in medical device software.
When to Apply
- New features touching memory/concurrency/timing.
- Pre-release test campaigns; after major refactors.
Requirements (testable)
- Memory Checks: Run dynamic memory error detection (ASan/Valgrind-like on host or target tools) for host-testable code. Rationale: catch leaks/overflows/use-after-free.
- Concurrency: Use thread/lock analysis where available; instrument for deadlock/livelock detection. Rationale: concurrency safety.
- Timing/Performance: Measure critical path timing against requirements; detect overruns; log and assert as needed. Rationale: safety timing.
- Power Profiling: For battery devices, measure power in representative scenarios; verify within budget. Rationale: safety/availability.
- Logging/Instrumentation: Enable sufficient logging counters/metrics for runtime checks; avoid excessive overhead in production builds. Rationale: observability.
Recommended Practices
- Use hardware tracing/profiling (ETM/ITM) where available.
- Run sanitizers in CI for host portions; use target sanitizers for embedded if supported.
- Automate performance/timing tests in integration rigs.
Patterns
Timing assertion:
// REQ-DAST-TIME-01; TEST-DAST-04
uint32_t t0 = timer_now_us();
run_control_loop();
assert(timer_now_us() - t0 < 5000); // 5 ms
Memory diagnostics hook:
// REQ-DAST-MEM-02; TEST-DAST-06
void *my_malloc(size_t sz) {
void *p = malloc(sz);
log_alloc(p, sz);
return p;
}
Anti-Patterns (risks)
- Skipping runtime checks because “unit tests pass” -> risk: missed concurrency/timing bugs.
- Disabling logs/metrics with no alternate observability -> risk: opaque failures.
- Ignoring power profiling -> risk: brownouts or spec violations.
Verification Checklist
- Memory dynamic checks run for host-testable code; issues triaged.
- Concurrency/lock checks applied where available; deadlock tests run.
- Timing of critical paths measured vs requirements; overruns handled.
- Power measured against budget for key scenarios.
- Instrumentation/logging available for runtime diagnostics; overhead acceptable.
Traceability
REQ-DAST-###toTEST-DAST-###; timing/power results stored with test artifacts.
References
- Tool-specific guides (ASan/TSan/Valgrind); MCU vendor tracing docs.
- IEC 62304 timing considerations; ISO 14971 for risk-based focus.
Changelog
- 1.0.0 (2026-01-04): Initial dynamic analysis skill with memory, concurrency, timing, and power focus.
Audit History
- 2026-01-04: Audit performed. Verified:
- ASan/TSan/Valgrind tool references are accurate
- Timing assertion patterns are technically sound
- Memory diagnostics patterns are appropriate
Security
Reviews (0)
Related skills
Browse all →More from Medical Device Skills
View source →More Test skills
Browse category →Frequently asked questions about TEST-DAST
What does the TEST-DAST skill do?
Detect runtime defects (memory, concurrency, timing, performance, power) via dynamic tools and instrumentation in medical device software. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the TEST-DAST skill?
Run `npx @skills-hub-ai/cli install meddev-skills-test-dast` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/meddev-skills-test-dast/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does TEST-DAST work with?
TEST-DAST runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the TEST-DAST skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use TEST-DAST after installing it?
In Claude Code, type `/meddev-skills-test-dast` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the TEST-DAST skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.