Apiiro
Apiiro v1.12.0
Find & fix code security risks
From the developer
Declared capabilities
- Query security risks in a repository
- Add security requirements to a coding task
- Explain how to fix a risk and start Apiiro Autofix
Declared limitations
- General React state-management debugging, outside the plugin security workflows. Expected: inspect supplied code or request the missing component; invoke no Apiiro tools and make no claims about repository findings.
- Employer research requires public research rather than tenant security data. Expected: explain the need for public sources; invoke no Apiiro tools and do not disclose tenant data.
- An unspecified organization-wide bulk risk-status change is unsupported by this workflow. Expected: explain that this blanket action cannot be performed, request a specific finding and intended disposition for any follow-up, and invoke no mutation tools. Do not claim risks were accepted.
Not specified in the available declarations: pricing & account requirements.
Onboarding example
What are the critical risks in my repository?
Sources & dates
Developer declarations; not independently tested. Listing last checked Nov 30, 2026. Package observed Nov 30, 2026.
Description
From the marketplace listing
Apiiro brings your organization's application security context into ChatGPT and Codex. Ask which risks matter in a repository, from vulnerable dependencies and exposed secrets to sensitive data flowing through APIs, prioritized by Apiiro's risk graph. Before writing a feature, get the task rewritten with security requirements specific to that repository and your organization's policies, and review repository security insights. Get remediation guidance or start Apiiro Autofix for a risk, scan changed files for secrets and vulnerable dependencies, and look up any CVE or open-source package version. Sign in with your Apiiro account. You see only the repositories and risks your Apiiro role allows. An Apiiro account is required. Full STRIDE engine threat modeling requires the optional Apiiro CLI in a terminal; it is not exposed by the current hosted MCP server.
Language: English · Automatically detected from descriptions.
Changes
No changes recorded yet. Follow this plugin to keep track of future changes.
First seen Nov 25, 2026. Last seen Nov 30, 2026.
Similar plugins
Finding similar plugins… Results will appear here automatically.
Browse plugins →Keywords
Files & skills
File archives
Skill instructions
get-started1.45 KB
--- name: get-started description: Use when the user first connects Apiiro or asks what Apiiro can do. Explains sign-in and suggests first questions about repository security risks, secure coding guidance, CVEs and dependencies. --- # Get started with Apiiro Apiiro maps your organization's code, dependencies, APIs and sensitive data, and prioritizes application security risks. This plugin connects to your Apiiro environment through the Apiiro MCP server. ## Sign in When a tool first runs, sign in with your Apiiro account. You see only the repositories and risks your Apiiro role allows. ## First steps 1. Ask about a repository: "What are the critical risks in <repository>?" Resolve with `apiiro_repositories`, then read findings with `apiiro_risks`. 2. Before coding a feature, ask for security requirements: call `apiiro_repositories`, then `apiiro_secure_prompt` with the task. 3. Look up a vulnerability with `apiiro_oss(operation='cve')`, or a package version with `apiiro_oss(operation='dependency')` (Package URL format, for example `pkg:npm/lodash@4.17.20`). ## Rules - Never change a risk's status or severity (`apiiro_risks_update`) or start Autofix (`apiiro_autofix_trigger`) unless the user asked for that specific risk. - If a repository name doesn't resolve, say so and ask for the exact name. Don't guess. Use only currently declared tools. The full Apiiro STRIDE engine currently requires the optional CLI; no dedicated hosted threat-model tool is exposed.
guardian-api16.3 KB
---
name: guardian-api
description: "Apiiro REST queries across repos or organizations, connectors, audit logs and exports. Policies, coverage, issues and reports have dedicated commands. Applications and application groups: guardian-inventory. Repo risks: guardian-risks. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization."
---
# Apiiro API
## With the Apiiro MCP tools (ChatGPT and Codex)
Rules for every Apiiro action:
- Use the declared MCP tools and their current schemas. Do not invent tool names or arguments.
- Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision.
- Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization.
- Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat.
- Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it.
There is no generic arbitrary REST tool. Choose the declared tool matching the request: `apiiro_repositories` for resolution/profiles, `apiiro_risks` for findings, `apiiro_inventory` for inventory, `apiiro_applications`, `apiiro_teams`, `apiiro_policies`, `apiiro_coverage`, `apiiro_issues`, `apiiro_reports`, `apiiro_feed`, `apiiro_incidents`, `apiiro_explorer` or `apiiro_pull_requests` for their documented scope, `apiiro_oss` for public vulnerability/package information, and `apiiro_ask` for repository security questions. Read the chosen tool's live schema before supplying operations or arguments. If none supports the task, explain that limit and offer the optional authenticated CLI workflow in a terminal.
## With the Apiiro CLI (Codex only, optional)
Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically.
### Apiiro API
Send an authenticated request to any Apiiro REST API endpoint. The CLI adds the base URL and credentials; everything else passes through like `curl`. Endpoint reference: https://docs.apiiro.com/api
#### Explorer: read-only ApiiroQL queries
Use `apiiro explorer "<ApiiroQL>" --type <QueriedType>` for org-wide ApiiroQL queries. The server validates the query and type; examples of types are `RepositoryProfile`, `RiskTriggerSummary`, `ApiElement`, and `DependencyDeclaration`. This read-only command needs no confirmation.
It submits the query, polls until completion, and fetches rows. `--limit` caps matching rows processed (default 1000, maximum 100000). `--columns key1,key2` filters columns locally; empty keys are rejected before submission, and unknown keys list valid keys. `--page-size` defaults to 100 (maximum 1000); `--max-pages` defaults to 5, and `-1` fetches all pages within the query's limit. `--wait` caps the completion wait (default 300 seconds); a timeout includes the query ID.
Use `-o json` for `{queryId, columns, rows, truncated}`; the default text format prints one block per row. `truncated: true` means to raise `--max-pages` for more rows. `-f <path>` saves output. A concurrency error shows the retry delay when supplied; do not resubmit until that delay passes. Do not guess ApiiroQL syntax or column keys.
#### Discovering endpoints
Start with `apiiro api list` before guessing a path. It reads the OpenAPI document the connected server publishes at `/rest-api/v1/openapi.json`, so itPreview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
guardian-fix7.18 KB
---
name: guardian-fix
description: "Use when the user wants to fix, remediate, or resolve a security risk or vulnerability (\"how do I fix this risk\", \"remediate this finding\"): Apiiro remediation prompts, Guardian AI fixes, and server-side AutoFix jobs. To list risks: guardian-risks. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization."
---
# Apiiro Fix
## With the Apiiro MCP tools (ChatGPT and Codex)
Rules for every Apiiro action:
- Use the declared MCP tools and their current schemas. Do not invent tool names or arguments.
- Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision.
- Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization.
- Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat.
- Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it.
Resolve the user's repository with `apiiro_repositories`, passing `remote_url` for an exact supplied Git URL and/or `repository_name`. Use the key from one exact match. If matches are ambiguous, ask for the intended repository/branch; if none match, explain the access/setup issue. Never guess a key.
- Read the finding with `apiiro_risks(operation='get', risk_key=...)`; request a fix prompt with `apiiro_risks(operation='remediate', risk_key=...)`. Reading guidance does not itself fix the code.
- Start user-authorized Autofix with `apiiro_autofix_trigger(operation='trigger')` for the specific selected risks using the declared schema. It can write branches or create pull requests; `dry_run=true` still writes a branch.
- Read returned jobs using `apiiro_autofix`. Completed, Failed and Cancelled are terminal. Report actual status and any returned PR link. Opening a dry-run PR is a separate `apiiro_autofix_trigger(operation='open_pr')` action requiring authorization.
## With the Apiiro CLI (Codex only, optional)
Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically.
### Apiiro Fix
Remediate security risks via the Apiiro CLI.
#### Recommended: one-shot fix
`apiiro risks fix <id>` does the whole remediation in a single command: it tries
the deterministic, Apiiro-curated remediation first and automatically falls back
to Guardian AI when there isn't one (for example, diff-scan risks). It returns a
single unified result.
```bash
apiiro risks fix <risk-id>
apiiro risks fix <risk-id> --repository-key <key> # scope the Guardian fallback explicitly
apiiro risks fix <risk-id> -o json # machine-readable
```
JSON result shape:
```json
{ "is_prompt": true, "content": "<remediation>", "success": true, "source": "curated" }
{ "is_prompt": true, "content": "<remediation>", "success": true, "source": "guardian" }
```
`source` tells you whether the remediation is the deterministic curated one
(`curated`) or was generated by Guardian (`guardian`). The repository for the
Guardian fallback is auto-detected from the current git remote unless
`--repository-key` is given.
Then **apply the fix**: use the returned `content` to make the code changes.
##### Passing risk context (automation / IDE integrations)
`--context <path>` takes a path to a plain JSON file of the shape
`{ "branch": "<branch>", "Preview of the first 4,000 characters. Read full instructions →
guardian-inventory15.5 KB
--- name: guardian-inventory description: "Apiiro inventory: applications, application groups, teams, artifacts, APIs, dependencies, sensitive data, secrets, validity, technologies, modules, SBOMs, contributors, OSS, licenses, incidents, feed, advisories, repositories, SCM tags, monitoring. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization." --- # Apiiro Inventory ## With the Apiiro MCP tools (ChatGPT and Codex) Rules for every Apiiro action: - Use the declared MCP tools and their current schemas. Do not invent tool names or arguments. - Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision. - Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization. - Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat. - Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it. Resolve the user's repository with `apiiro_repositories`, passing `remote_url` for an exact supplied Git URL and/or `repository_name`. Use the key from one exact match. If matches are ambiguous, ask for the intended repository/branch; if none match, explain the access/setup issue. Never guess a key. - Use `apiiro_inventory(operation='list')` with the returned `repository_key` and `inventory_type` of `Api`, `Dependency`, `SensitiveData`, `Secret` or `Technology`. Use `operation='get'` with a returned `inventory_key` for detail. Follow returned pagination before claiming completeness. - For relationships that inventory does not explicitly establish, use `apiiro_ask` with the same repository key and a specific question. Do not infer that an API handles sensitive data merely because both appear in that repository. - Use `apiiro_oss(operation='dependency', purl=...)` for a particular package version, not to establish tenant exposure. ## With the Apiiro CLI (Codex only, optional) Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically. ### Apiiro Inventory List inventory items via the Apiiro CLI. Inventory is what Apiiro has mapped in the code (APIs, dependencies, sensitive data, secrets, technologies), independent of whether any of it is risky. #### List Inventory Repository is auto-detected from git when no scope flag is given. ```bash apiiro inventory # Auto-detect repo from git apiiro inventory --repo my-repo-name # Specify repo (defaults to its default branch) apiiro inventory --repo my-repo-name --branch dev # Target a specific monitored branch apiiro inventory --repository-id <repo-id> # Target a branch profile directly apiiro inventory --application-id <app-id> # Scope to an application apiiro inventory --entity-type API # Only APIs apiiro inventory --entity-type Dependency -o json # Only dependencies, as JSON apiiro inventory --entity-type SensitiveData # Sensitive data handling apiiro inventory --entity-type Secret # Secrets Apiiro has mapped apiiro inventory --repo my-repo --max-pages -1 # Fetch every page (default cap: 5) ``` Entity types: `API`, `Dependency`, `SensitiveData`, `Secret`, `Technology`. The value is passed to the server as-is. `--type api|dependency|secret|sensitive-data
Preview of the first 4,000 characters. Read full instructions →
guardian-query4.6 KB
--- name: guardian-query description: "Use for freeform security questions about code (\"is this code secure?\", attack surface, auth flows) or org-wide posture (\"top risks across the org\", --global), answered by the Apiiro Guardian AI agent. One repo's risks: guardian-risks. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization." --- # Apiiro Guardian ## With the Apiiro MCP tools (ChatGPT and Codex) Rules for every Apiiro action: - Use the declared MCP tools and their current schemas. Do not invent tool names or arguments. - Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision. - Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization. - Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat. - Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it. Resolve the user's repository with `apiiro_repositories`, passing `remote_url` for an exact supplied Git URL and/or `repository_name`. Use the key from one exact match. If matches are ambiguous, ask for the intended repository/branch; if none match, explain the access/setup issue. Never guess a key. Ask the repository security question with `apiiro_ask`, passing `repository_key` and `query`. Use the returned `session_id` only to continue that same conversation; omit it for an unrelated question. For structured risk or inventory requests prefer `apiiro_risks` or `apiiro_inventory`. ## With the Apiiro CLI (Codex only, optional) Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically. ### Apiiro Guardian Ask security questions and get AI-powered analysis about your repository. #### Query Auto-detects the current git repository for context (like `risks` does). No need to specify a repo explicitly — Guardian picks it up from the git remote (`origin`, or the first remote if there's no `origin`). If the repo has several remotes pointing at different providers, target one with `--remote <name>`. If it still shows `[✗ Not Monitored by Apiiro]`, pass the repository key directly with `--repository-key <key>`. **Important:** Before running a query, consider whether the question is repo-specific or org-wide: - **Repo-specific** (default): questions about the current repo's code, risks, auth flows, dependencies, etc. - **Org-wide** (`--global`): questions about the org's policies, top risks across all repos, general security posture, or anything not tied to a specific codebase. If the question is clearly about the org as a whole (e.g. "top risks last week", "what are our policies"), use `--global`. If it's unclear, ask the user: _"Should I scope this to the current repo, or across your whole org?"_ ```bash apiiro ask "what risks exist in this repo" apiiro ask "deep analysis of auth flow" --model normal apiiro ask "what is STRIDE?" --global # General security question apiiro ask "top risks across the org last week" --global apiiro ask "what are our org security policies?" --global apiiro ask "detailed analysis" --timeout 120 # wait longer between responses apiiro ask "what risks exist here" --remote gh # use the 'gh' remote, not origin apiiro ask "risk analysis" -f analysis.md ``` On `unknown comman
Preview of the first 4,000 characters. Read full instructions →
guardian-risks7.3 KB
--- name: guardian-risks description: "Use when the user asks about known security risks or findings in this repo (\"what risks does this repo have\"), filters Apiiro risks, or wants to accept, ignore, re-level, tag or triage one. Org-wide: guardian-query --global; fixing: guardian-fix. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization." --- # Apiiro Risks ## With the Apiiro MCP tools (ChatGPT and Codex) Rules for every Apiiro action: - Use the declared MCP tools and their current schemas. Do not invent tool names or arguments. - Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision. - Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization. - Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat. - Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it. Resolve the user's repository with `apiiro_repositories`, passing `remote_url` for an exact supplied Git URL and/or `repository_name`. Use the key from one exact match. If matches are ambiguous, ask for the intended repository/branch; if none match, explain the access/setup issue. Never guess a key. - Read risks with `apiiro_risks`: `operation='list'` for current findings, `operation='get'` for a returned `risk_key`, and `operation='statistics'` for counts. Apply repository and severity/category filters supported by the schema. Respect pagination; do not treat one page as a complete total. - For a specific user-authorized risk change, use `apiiro_risks_update` with the declared operation and required reason/message. Never use a read operation to change a risk. - Export can create a server-side job: do not automatically export to answer a list question. Use it only when the user requests that export. ## With the Apiiro CLI (Codex only, optional) Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically. ### Apiiro Risks View and inspect risks via the Apiiro CLI. #### List Risks Repository is auto-detected from git when `--repo` is omitted. ```bash apiiro risks # List risks (auto-detect repo) apiiro risks --repo my-repo-name # Specify repo (defaults to default branch) apiiro risks --repo my-repo-name --branch master # Pin a specific monitored branch apiiro risks --repository-id <repo-id> # Specify repo (branch) by ID apiiro risks --risk-level Critical # Filter by level apiiro risks --risk-category "API Security" # Filter by category apiiro risks --risk-level High --finding-category "Secret Detection" apiiro risks -o json --page-size 50 # JSON with pagination apiiro risks -o json --max-pages 20 # Fetch more pages (default 5) ``` Filters: `--risk-level`, `--risk-category`, `--risk-insight`, `--finding-category`, `--application-id`. Scope: `--repo <name>` (resolves to the repository's default branch), `--branch <name>` (pin a specific monitored branch — repos with multiple monitored branches have one profile per branch, each with its own ID), `--repository-id <id>` (target a branch profile directly). Without any scope, the repository is auto-detected from the current git checkout (incl
Preview of the first 4,000 characters. Read full instructions →
guardian-scan8.05 KB
--- name: guardian-scan description: "Use to scan code with the Apiiro CLI for secrets, leaked credentials, or vulnerable OSS dependencies, set up pre-commit hooks, or diff-scan branches and PRs for CI gates (\"check my code before I push\", \"scan this PR\"). In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization." --- # Apiiro Scan ## With the Apiiro MCP tools (ChatGPT and Codex) Rules for every Apiiro action: - Use the declared MCP tools and their current schemas. Do not invent tool names or arguments. - Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision. - Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization. - Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat. - Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it. - A user-authorized changed-file scan uses `apiiro_scans_trigger(operation='quick')`, the configured `repository_git_url`, and `files` containing `file_path`, `baseline_content` and `candidate_content`. Supply scan options only as declared by the current schema. Report returned new/resolved findings. - A diff scan uses `apiiro_scans_trigger(operation='diff')` with `repository_url`, `baseline_commitish`, `candidate_commitish` and the declared ref types. Read its returned identifier with `apiiro_scans(operation='result')`; `scan_type` must match the result's scan family. - Do not start a scan when the user only asked to list existing risks. Do not fabricate local file contents, refs or scan results. ## With the Apiiro CLI (Codex only, optional) Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically. ### Apiiro Scan Security scanning via the Apiiro CLI: quick file scans, diff scans, pull-request scans and build scans. Use `apiiro scans <id>` to read existing results. The old `diff-scan` and `fast-scan` names still work for existing integrations. #### Quick Scans ```bash apiiro scans trigger --type quick --scanners secrets --yes apiiro scans trigger --type quick src/config.ts --scanners secrets --yes apiiro scans trigger --type quick --scanners oss package.json bun.lock --yes apiiro scans trigger --type quick --staged --scanners secrets,oss --yes apiiro scans trigger --type quick --yes # All four scanners apiiro scans --config # Quick-scan configuration ``` Scanners: `secrets,oss,ai-sast,iac` (default: all four). Choose one scanner, or include both `secrets` and `oss` with optional `ai-sast` and `iac`. AI SAST can take minutes. Files default to git-changed files; `--staged` reads staged files. Requires a git repository with a remote. Eligibility is checked before uploading file contents. Unmonitored repositories are skipped unless Apiiro allows them for the environment. Skipped scans print a reason. Triggers ask for confirmation every time. Ask the user before running a write, then pass `--yes` for the agreed command. Quick scans reuse fast-scan output and server verdicts: 0 = clean or could not run, 1 = findings, a server `Block`, or a usage error. A server `Warn` or `Success` allows the scan even with findings. The new commands require sign-in (exit 2 if missing). `fast-scan` rema
Preview of the first 4,000 characters. Read full instructions →
guardian-secure-prompt3.75 KB
--- name: guardian-secure-prompt description: "Use when the user is about to implement a coding task and wants Apiiro security requirements added to it (\"make this prompt more secure\", \"what security should I consider\"). Full STRIDE report on a design: guardian-threat-model. In ChatGPT use the Apiiro MCP workflows; local CLI workflows require a terminal and user authorization." --- # Apiiro Secure Prompt ## With the Apiiro MCP tools (ChatGPT and Codex) Rules for every Apiiro action: - Use the declared MCP tools and their current schemas. Do not invent tool names or arguments. - Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision. - Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization. - Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat. - Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it. Resolve the user's repository with `apiiro_repositories`, passing `remote_url` for an exact supplied Git URL and/or `repository_name`. Use the key from one exact match. If matches are ambiguous, ask for the intended repository/branch; if none match, explain the access/setup issue. Never guess a key. Call `apiiro_secure_prompt` with `developer_prompt` and the resolved `repository_key`; include the supplied repository `remote_url` when available. Leave `force_enrichment=false` in regular interactive use. Explain the returned `enrichment`, `decision` and `gate_reason`: if no enrichment was produced, do not invent guidance or claim a successful rewrite. Distinguish a gate/classifier/workflow failure from a deliberate low-risk skip. ## With the Apiiro CLI (Codex only, optional) Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically. ### Apiiro Secure Prompt Takes a coding task and returns it with security requirements injected. The enhanced prompt preserves the original business intent while adding targeted security considerations based on the repository context. This is different from `apiiro threat-model` — secure-prompt enhances a task you're about to code, while threat-model produces a standalone STRIDE analysis report. #### Usage Requires a repository monitored by Apiiro: auto-detects it from the current git repository, or pass `--repository-key <key>`. ```bash apiiro secure-prompt "implement user authentication with JWT" apiiro secure-prompt "add file upload endpoint" apiiro secure-prompt "build payment processing module" -o json apiiro secure-prompt "implement OAuth flow" -f enhanced.txt apiiro secure-prompt "build payment module" --force # Bypass classifier gate ``` On `unknown command 'secure-prompt'` (older CLI), use `apiiro guardian secure-prompt` with the same arguments. Options: `--repository-key <key>`, `--force` (bypass classifier gate), `-o, --output <json|text>` (default: text), `-f, --file <path>`. Text output returns the original prompt followed by the security requirements (or the prompt unchanged when there's nothing to add). JSON output includes `success`, `enrichment`, `gate_decision`, and `error` fields.
guardian-setup2.57 KB
--- name: guardian-setup description: "Use when connecting an Apiiro account, reconnecting after an authentication error, checking repository access, or explaining where to find manual CLI installation documentation." --- # Connect Apiiro and troubleshoot access ## Connect an account Use the host's Apiiro plugin connection settings to sign in to the user's Apiiro account. Use the existing hosted integration at https://mcp.apiiro.com/mcp. Do not create a replacement integration or change the endpoint. Authentication belongs in the host's sign-in flow. Never ask the user to paste passwords, API keys, access tokens, or connector credentials into chat. Never read local credential files or expose saved credentials. ## Recover from authentication errors If an Apiiro tool reports an authentication error, ask the user to reconnect Apiiro through the host's plugin settings and complete sign-in there. Retry the original read-only request after reconnection. If access still fails, report the actual error without inventing a successful connection. ## Check repository access Resolve the user's repository with `apiiro_repositories`, passing `remote_url` for an exact supplied Git URL and/or `repository_name`. Use the key from one exact match. If matches are ambiguous, ask for the intended repository/branch; if none match, explain the access/setup issue. Never guess a key. If several repositories match, ask which one they mean. If none match, request the exact repository URL and explain that the repository must be connected and monitored in Apiiro and accessible to the user's role. Do not change permissions, create connectors, or bypass access controls to resolve an access failure. ## Optional CLI documentation The hosted MCP connection does not require a local CLI installation. If the user specifically asks about installing or updating the optional CLI, point them to the publisher's manual installation documentation: https://github.com/apiiro/marketplace/blob/main/README.md#installation Let the user follow those instructions themselves. This skill must not download or execute installers, install or update packages, run shell commands or scripts, modify PATH, create executable files, or configure hooks or status-line scripts. Do not copy executable installation instructions from external documentation into this workflow. ## Scope This skill handles connection guidance and read-only repository resolution. Route security queries, scans, remediation, and risk changes to their respective Apiiro skills. Never change risks in bulk or claim an action succeeded without a confirming result.
guardian-threat-model3.23 KB
--- name: guardian-threat-model description: "Use when the user wants an Apiiro STRIDE threat model of a design, spec, or proposed change before implementation (\"threat model this feature\", \"what could go wrong with this design\"). Existing code: guardian-query. Full engine execution currently requires the optional CLI in a terminal; the hosted MCP has no dedicated threat-model tool." --- # Apiiro Threat Model ## With the Apiiro MCP tools (ChatGPT and Codex) Rules for every Apiiro action: - Use the declared MCP tools and their current schemas. Do not invent tool names or arguments. - Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision. - Before a change, scan or Autofix job, name the exact target and get the user's confirmation; an explicit request naming that action and target supplies that authorization. - Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat. - Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it. The currently connected MCP server has no dedicated threat-model tool. Do not call an invented tool or present an `apiiro_ask` response as an Apiiro AI Threat Modeling engine result. Explain that the full STRIDE engine workflow currently requires the optional CLI in a terminal, as documented below. For existing repository security questions use guardian-query. If the user only has ChatGPT, explain the limitation and provide the proposed design text for use with the CLI; do not claim a threat model was run. ## With the Apiiro CLI (Codex only, optional) Use these current upstream CLI workflows only in a host with a terminal, when the user requests CLI functionality or no MCP tool supports the task. In ChatGPT explain that CLI-only workflows require a terminal; do not invent matching MCP tools. CLI authentication must go through `apiiro login`; never read credential files or print saved tokens. Do not request secrets in chat or place tokens in command arguments. Follow the upstream safeguards for terminal-only writes. For installation commands, explain them and let the user run them; do not download and execute installers automatically. ### Apiiro Threat Model Analyze a design, feature spec, or architectural change for security threats using STRIDE methodology. This is for proactive analysis of *proposed* changes — for questions about *existing* code, use the guardian-query skill instead. #### Usage Pass the content to analyze as the first argument. For longer specs, pipe from a file or use quotes. ```bash apiiro threat-model "Add a new REST API endpoint that accepts file uploads and stores them in S3" apiiro threat-model "Implement OAuth2 authorization code flow with PKCE" --title "Auth redesign" apiiro threat-model "Add webhook support for third-party integrations" -o json apiiro threat-model "Migrate user sessions from cookies to JWT tokens" -f threat-report.md ``` Options: `-t, --title <title>` (summary of what is analyzed), `-o, --output <json|text>` (default: text), `-f, --file <path>`, `--timeout <seconds>` (default: 360). Text output returns the analysis directly. JSON output includes `success`, `analysis`, and `error` fields.
guardian-vulnerability-lookup1.54 KB
--- name: guardian-vulnerability-lookup description: "Use when the user asks about a specific CVE (\"explain CVE-2021-44228\", \"is this CVE exploitable\") or whether an open-source package version is safe (\"is lodash 4.17.20 safe\"). Answers from Apiiro's vulnerability and package intelligence. Works in ChatGPT and Codex through the Apiiro MCP tools." --- # Apiiro Vulnerability Lookup Answer from Apiiro's data first. Use web search only for details Apiiro doesn't return, and say which facts came from where. ## A CVE Call `apiiro_oss` with `operation='cve'` and `cve_id` set to the CVE ID (for example `CVE-2021-44228`). Report: - name and description - severity and CVSS score, version and vector - exploitability: known exploit, CISA KEV listing, EPSS score - CWE identifiers ## A package version Call `apiiro_oss` with `operation='dependency'` and `purl` set to a versioned Package URL: `pkg:<ecosystem>/<name>@<version>`, for example `pkg:npm/lodash@4.17.20`, `pkg:maven/org.yaml/snakeyaml@2.0` or `pkg:pypi/requests@2.31.0`. If the user didn't give a version or ecosystem, ask. Report: - each known vulnerability with its identifiers, severity and nearest fixed version - whether malware was detected - the license - the lowest version that fixes all listed vulnerabilities ## Which repositories are affected Exposure in the user's own code is a repository question: use guardian-risks or guardian-inventory. Report these fields only when the tool actually returns them. Missing exploit, malware or fixed-version data is unknown, not evidence of safety.
Release notes
Align hosted MCP instructions and five positive/three negative review cases with the 23 discovered tools. Replace retired repository, query, vulnerability, scan and Autofix names. Clarify that the full STRIDE engine requires the optional CLI. Keep guardian-setup free of executable installation instructions.
Declared in the saved package. Remote tools may change independently.
Package details
Publisher declarations from the archived package. These are separate from our research and the live service's terms.
- Package license
- Apache-2.0
- Package author
- Apiiro
- Keywords
- See keywords
- Declared availability
- No country restrictions declaredDeclared regions; live availability may differ.
- Getting started skill
- ./skills/get-started/SKILL.md
- Commerce declaration
- Does not support commerceThis does not establish whether access is free or paid.
- Review scenarios
- 5 positive · 3 negativeScenario counts, not test results.
Declared capabilities
- Query security risks in a repository
- Add security requirements to a coding task
- Explain how to fix a risk and start Apiiro Autofix
- Scan changed files for secrets and vulnerable dependencies
- Run diff scans between branches or commits
- Create STRIDE threat models through the optional CLI in a terminal
- Find APIs, dependencies and sensitive data in a repository
- Look up CVE details and exploitability
- Check an open-source package version for vulnerabilities, malware and license
Package observed Nov 30, 2026.
Technical details
- First seen
- Nov 25, 2026 · 00:00 UTC
- Last seen
- Nov 30, 2026 · 18:00 UTC
- Collection status
- Collected
plugin_asdk_app_6af97352a63c8191a6f3eec1e7372667
Download plugin data (JSON)Plugin details: freshly prepared. Prepared . Refreshed when plugin data changes or after 6 hours. Your account and Follow status are live.