Skills pytm
๐Ÿ“ฆ

pytm

v0.1.0 Content revision r1 Safe โš™๏ธ External commands๐ŸŒ Network access

Build pytm Threat Models as Code

Threat modeling often becomes outdated and disconnected from architecture changes. This skill helps create pytm models, STRIDE analysis, and diagram workflows for security reviews and CI.

Supports: Claude Codex Code(CC)
๐Ÿฅˆ 81 Silver

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "pytm" from https://skillstore.io/skills/agentsecops-pytm.md and its manifest at https://skillstore.io/api/skills/agentsecops-pytm/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "pytm". A user asks for a threat model for an e-commerce web application with a web server and database.

Expected outcome:

The skill produces a structured model plan with actors, boundaries, encrypted flows, STRIDE concerns, and mitigation review steps.

Using "pytm". A team wants pytm checks during pull requests.

Expected outcome:

The skill outlines dependency setup, diagram generation, artifact upload, and a mitigation gate for the CI workflow.

Using "pytm". A security lead needs to reduce irrelevant threats.

Expected outcome:

The skill recommends accurate component properties, threat conditions, documented exclusions, and periodic review of model drift.

Security Audit

Safe
v13 โ€ข 7/9/2026 Open versioned report

No prompt injection or malicious intent was found in SKILL.md. Most static findings are Markdown formatting, inline code, or reference URLs. A few command examples install packages, run local Python files, or use sudo, so agents should require explicit approval and a trusted environment.

1
Files scanned
575
Lines analyzed
6
Review items
0
False positives ignored
Capability review items (6)

These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.

High
sudo privilege escalation
sudo apt-get install -y graphviz
The CI example uses sudo apt-get to install Graphviz with root privileges. Even in setup guidance, privileged commands should require explicit approval and isolated CI context.
High
sudo privilege escalation
sudo apt-get install graphviz # Linux
The troubleshooting command uses sudo apt-get on a Linux host. Running it grants root privileges to package installation and can alter the system.
Medium
Ruby/shell backtick execution
```bash
The bash install block instructs package-manager commands for pytm and Graphviz. This is legitimate setup guidance, but installer commands can modify the host and need explicit approval.
Medium
Ruby/shell backtick execution
```yaml
The CI example runs dependency installation and local Python scripts. This is expected for CI, but it can execute project code and should be limited to trusted repositories.
Medium
Ruby/shell backtick execution
```bash
The report generation block tells users to run threat_model.py and helper scripts. Running local Python files can execute arbitrary project code if the model is untrusted.
Medium
Ruby/shell backtick execution
```bash
The troubleshooting block includes installation and Python execution commands. These are legitimate diagnostics, but they modify or execute code on the user machine if run directly.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/agentsecops-pytm/audits/13?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/agentsecops-pytm/security.svg)](https://skillstore.io/skills/agentsecops-pytm?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/agentsecops-pytm?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/agentsecops-pytm/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/agentsecops-pytm.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

AgentSecOps. (2026). pytm security audit report (audit version 13) [Author version 0.1.0]. Skillstore. https://skillstore.io/skills/agentsecops-pytm/audits/13

BibTeX citation

@techreport{agentsecops-agentsecops-pytm-2026, author = {AgentSecOps}, title = {pytm security audit report (audit version 13)}, institution = {Skillstore}, year = {2026}, number = {13}, url = {https://skillstore.io/skills/agentsecops-pytm/audits/13}, note = {Author version 0.1.0} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "pytm security audit report (audit version 13)" version: "0.1.0" type: report authors: - name: "AgentSecOps" date-released: "2026-07-09" url: "https://skillstore.io/skills/agentsecops-pytm/audits/13" identifiers: - type: other value: "skillstore:agentsecops-pytm:audit:13" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
100
Maintainability
87
Content
72
Community
87
Spec Compliance

What You Can Build

Design Review Preparation

Create a first pytm model before an architecture review and document key STRIDE threats.

CI Threat Model Checks

Add model generation and mitigation checks to a pipeline for architecture changes.

Application Security Documentation

Convert service boundaries, sensitive data flows, and mitigations into reviewable threat model documentation.

Try These Prompts

Start a Web Threat Model
Help me create a pytm threat model for a three-tier web application. Include actors, trust boundaries, data flows, and initial STRIDE concerns.
Review Existing Flows
Review this architecture description for pytm modeling. Identify missing boundaries, sensitive flows, and security attributes before I write the model.
Prepare CI Checks
Design a CI workflow for a pytm model that generates diagrams, produces a threat report, and flags unmitigated high-risk threats.
Customize Threat Library
Help me define organization-specific pytm threats, risk scoring criteria, and mitigation documentation for API and cloud storage controls.

Best Practices

  • Keep threat models near architecture documentation and review them when boundaries or data flows change.
  • Use placeholders for credentials, tokens, customer data, and internal network details.
  • Run generated commands only in trusted repositories, controlled virtual environments, or CI runners.

Avoid

  • Treating generated STRIDE threats as final risk decisions without human review.
  • Publishing diagrams or reports that reveal sensitive architecture details.
  • Running local threat model scripts from untrusted repositories without approval.

Frequently Asked Questions

Does this skill include executable scripts?
No. The audited package only includes SKILL.md, so referenced scripts and templates must be supplied separately.
Can it generate data flow diagrams?
It explains how pytm and Graphviz generate diagrams, but the user must provide a valid model and installed dependencies.
Is it suitable for CI pipelines?
Yes. It provides CI workflow guidance for model generation, artifacts, and mitigation checks.
Does it replace a security review?
No. It supports analysis, but security teams must validate threats, likelihood, impact, and mitigations.
What inputs work best?
Clear architecture descriptions with actors, trust boundaries, components, protocols, sensitive data, and existing controls work best.
What should agents avoid?
Agents should avoid running install commands, sudo commands, or local Python files without explicit user approval.

Developer Details

License

MIT

Author version

v0.1.0

Skillstore revision

r1

Ref

3e4b6c31a74a3bd1a291c98cf585d720cb9fbc88

Maintenance freshness

7/18/2026

Usage

6 downloads ยท 332 views

File structure

๐Ÿ“„ SKILL.md

More from AgentSecOps

View all
View all