← ApiiroCONTENT HISTORY

Update to Apiiro

Snapshot Nov 25, 2026 · 00:22 UTC · version 1.12.0

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Apiiro and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "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.",
  "included_files": [],
  "name": "guardian-secure-prompt",
  "skill_md_contents": "---\nname: guardian-secure-prompt\ndescription: \"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.\"\n---\n\n# Apiiro Secure Prompt\n\n## With the Apiiro MCP tools (ChatGPT and Codex)\n\nRules for every Apiiro action:\n- Use the declared MCP tools and their current schemas. Do not invent tool names or arguments.\n- Never change risks in bulk (accept, dismiss, override or reclassify many at once). Each risk needs its own decision.\n- 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.\n- Keep credentials in the host's sign-in flow. Never read credential files, print tokens, or ask for secrets in chat.\n- Report actual tool results and errors. Do not claim a mutation, scan or fix succeeded before its result confirms it.\n\nResolve 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.\n\nCall `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.\n\n## With the Apiiro CLI (Codex only, optional)\n\nUse 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.\n\n### Apiiro Secure Prompt\n\nTakes 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.\n\nThis 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.\n\n#### Usage\n\nRequires a repository monitored by Apiiro: auto-detects it from the current git repository, or pass `--repository-key <key>`.\n\n```bash\napiiro secure-prompt \"implement user authentication with JWT\"\napiiro secure-prompt \"add file upload endpoint\"\napiiro secure-prompt \"build payment processing module\" -o json\napiiro secure-prompt \"implement OAuth flow\" -f enhanced.txt\napiiro secure-prompt \"build payment module\" --force   # Bypass classifier gate\n```\n\nOn `unknown command 'secure-prompt'` (older CLI), use `apiiro guardian secure-prompt` with the same arguments.\n\nOptions: `--repository-key <key>`, `--force` (bypass classifier gate), `-o, --output <json|text>` (default: text), `-f, --file <path>`.\n\nText 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.\n"
}

SHA-256 of public snapshot: 1d328c44310474ebfd2c5126f30feeb4c0893f847378f763830e3cef7609d72c