Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

repudiationrepudiation 搜索

Agent Skill

repudiation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

247

周安装

10

GitHub Stars

9

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:repudiation(repudiation 搜索)
来源仓库:https://github.com/florianbuetow/claude-code
仓库路径:skills/repudiation
安装命令:
npx skills add https://github.com/florianbuetow/claude-code --skill repudiation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill repudiation

简介

repudiation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它主要面向研究检索类任务,可结合来源仓库和原始 README 继续核验具体用法。
  • 安装命令为 npx skills add https://github.com/florianbuetow/claude-code --skill repudiation。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Repudiation Analysis

Analyze source code for repudiation threats where users can deny having performed actions due to insufficient logging and evidence. Maps to STRIDE R -- violations of the Non-repudiation security property.

Supported Flags

Read ../../shared/schemas/flags.md for the full flag specification. This skill supports all cross-cutting flags including --scope, --depth, --severity, --format, --fix, --quiet, and --explain.

Framework Context

Read ../../shared/frameworks/stride.md, specifically the R - Repudiation section, for the threat model backing this analysis. Key concerns: missing audit logs, log tampering, log injection, insufficient logging detail, log deletion.

Workflow

1. Determine Scope

Parse flags and resolve the target file list per the flags spec. Prioritize files containing security-critical operations:

  • Authentication handlers (login, logout, password reset, MFA enrollment)
  • Payment processing and financial transaction handlers
  • Admin actions and user management endpoints
  • Data modification endpoints (create, update, delete on sensitive resources)
  • Access control decision points (grant/deny/escalate)
  • File upload and download handlers
  • The logging infrastructure itself (logger configuration, log sinks, formatters)

2. Analyze for Repudiation Threats

For each in-scope file, apply the Analysis Checklist below. At --depth standard, check each file for logging around critical actions. At --depth deep, trace the full lifecycle of security events to confirm they are captured end-to-end with sufficient detail, and verify log shipping and tamper protection.

3. Report Findings

Output findings per ../../shared/schemas/findings.md using the REPUD ID prefix (e.g., REPUD-001). Set references.stride to "R" on every finding.

Analysis Checklist

Work through these questions against the scoped code. Each "yes" may produce a finding.

  1. Missing audit logs on auth events -- Are login successes, login failures, logout, password changes, and MFA events logged with user identity and timestamp? Search for auth handlers that lack logging calls. Auth failures are especially critical -- they indicate attack attempts.
  2. Unlogged data modifications -- Are CREATE, UPDATE, and DELETE operations on sensitive data logged? Check ORM hooks, repository methods, and direct database calls for audit trail gaps. Look for model lifecycle callbacks (e.g., after_save, post_save) that should emit audit events but are absent.
  3. Missing actor identity in logs -- Do log entries include who performed the action (user ID, session ID, IP address), or do they only record what happened? Search for log.info, logger.warn calls near critical operations and check if user context is passed as structured metadata.
  4. Log injection vulnerability -- Can user input be written into log entries unsanitized? Look for user-controlled strings (usernames, query params, form data) passed directly into log formatters, which could inject fake log entries, break log parsing, or enable CRLF injection. Check: logger.info(f"User {username}") without sanitization.
  5. Log tampering exposure -- Are logs written to locations the application can also delete or modify? Check if log files are stored in application-writable directories without append-only flags (chattr +a), write-once storage, or external forwarding to a SIEM/log aggregator.
  6. Missing failure logging -- Are authorization denials, validation failures, rate limit hits, and error conditions logged? Look for catch blocks, 403/401 responses, and validation rejection paths that silently discard the event without recording what was attempted and by whom.
  7. No transaction evidence -- Do financial or legally significant operations produce tamper-evident records? Check for digital signatures, sequence numbers, or immutable audit entries on payment, consent, or contract events. Are transaction IDs generated server-side and logged?
  8. Timestamp integrity -- Are log timestamps generated server-side from a trusted clock, or can clients supply their own? Look for client-provided timestamps accepted without validation on audit records. Check for NTP configuration or trusted time sources in infrastructure code.
  9. Insufficient log detail -- Do logs capture enough context for forensic reconstruction? Check for: before/after values on updates, affected resource IDs, request metadata (IP, user agent, request ID). Sparse "action completed" entries without context are a forensic gap.
  10. Missing centralized aggregation -- Are logs only stored locally on application servers where they can be lost during incidents or rotation? Check for log shipping configuration to external systems: SIEM, ELK, CloudWatch, Datadog, Splunk, or equivalent.
  11. Log retention policy gaps -- Is there a defined retention period, or could logs be rotated away before they are needed for incident response? Check log rotation config (logrotate, maxFiles, maxSize) and whether retention aligns with compliance requirements.
  12. Selective logging gaps -- Are some code paths logged while equivalent paths are not? For example, if createUser logs but deleteUser does not, or if admin actions are logged but equivalent API actions are not. Look for asymmetric coverage across related handlers.

Pragmatism Notes

  • Small internal tools and prototypes may not need comprehensive audit logging. Scale expectations to the application's threat model and regulatory context.
  • The presence of a logging framework does not mean critical actions are logged. Verify that security-relevant events specifically have log calls, not just general application logging.
  • Log injection severity depends on the log consumer. If logs feed a SIEM with automated alerting, injecting fake entries is high severity. If logs are only read by humans in text files, it is medium.
  • Centralized log aggregation is an infrastructure concern. If the codebase is application-only with no infrastructure code, note the gap but do not rate it above low.
  • Distinguish between application logs (general debugging) and audit logs (security evidence). The absence of audit-specific infrastructure is a stronger finding than missing debug logs.

What to Look For

Concrete code patterns and grep heuristics to surface repudiation risks:

  • Auth handlers without logging: Functions matching login, authenticate, signIn, register, resetPassword, changePassword that do not contain calls to log, logger, audit, emit, or track. Grep: (login|signIn|authenticate|register) then verify adjacent logging.
  • CRUD without audit: Database operations (save(), .create(, .update(, .delete(, INSERT, UPDATE, DELETE) in handlers with no adjacent logging call within 5-10 lines. Grep: \.(save|create|update|delete|destroy)\( and check surrounding context.
  • Raw user input in logs: logger.info(f"User {username}"), console.log(req.body), log.info("Query: " + userInput) -- any pattern where unsanitized input flows into log formatting. Grep: log\w*\.(info|warn|error|debug)\(.*req\.(body|params|query|headers).
  • Catch blocks that swallow: except Exception: pass, catch (e) {}, catch (e) {return;}, .catch(() => {}) -- error handlers with no logging. Grep: catch.*\{\s*\}|except.*:\s*pass.
  • Local-only log config: Log configuration writing only to file://, ./logs/, or stdout without forwarding. Absence of log shipping libraries (winston-transport, fluent-logger, logstash, sentry, @google-cloud/logging).
  • Missing before/after values: Update operations that log "record updated" without capturing the previous and new state. Check for absence of old_value, previous, before, diff in log payloads near update handlers.
  • No request correlation: Absence of request ID or correlation ID in logs, making it impossible to trace a single user action across multiple log entries. Search for requestId, correlationId, traceId, x-request-id in logging middleware.

Output Format

Each finding must conform to ../../shared/schemas/findings.md.

id:          REPUD-<NNN>
severity:    critical | high | medium | low
confidence:  high | medium | low
location:    file, line, function, snippet
description: What the repudiation risk is and what actions can be denied
impact:      What accountability is lost and what forensic gaps result
fix:         Concrete remediation with diff when possible
references:
  stride: "R"
  cwe:    CWE-778 (Insufficient Logging), CWE-117 (Log Injection), or relevant CWE
metadata:
  tool:      repudiation
  framework: stride
  category:  R

Severity Guidelines for Repudiation

SeverityCriteria
criticalNo audit logging on financial transactions or authentication events, log injection enabling forged audit entries
highMissing logging on data modification endpoints, log files writable/deletable by application without tamper protection
mediumInsufficient detail in audit logs (missing actor/resource IDs), swallowed exceptions on security-relevant paths
lowLocal-only log storage without forwarding, missing before/after values on low-impact updates, no request correlation IDs

Common CWE References

CWEDescription
CWE-778Insufficient Logging
CWE-117Improper Output Neutralization for Logs (Log Injection)
CWE-223Omission of Security-Relevant Information
CWE-532Insertion of Sensitive Info into Log File
CWE-779Logging of Excessive Data
CWE-770Allocation of Resources Without Limits (log storage)
CWE-393Return of Wrong Status Code (masking failures)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.72%
按下载量换算26

Claude

31.58%
按下载量换算25

Cursor

19.41%
按下载量换算15

Gemini CLI

8.9%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills