tampering
This skill should be used when the user asks to "check for tampering", "analyze data integrity risks", "find injection vulnerabilities", or mentions…
от florianbuetow★ 22 звезды на GitHub
Установить tampering в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Tampering with Data Analysis
Analyze source code for tampering threats where attackers can modify data, code, or configuration without detection. Maps to STRIDE T -- violations of the Integrity 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 T - Tampering with Data section, for the threat model backing this analysis. Key concerns: SQL injection, parameter tampering, man-in-the-middle, file modification, configuration tampering, code injection.
Workflow
1. Determine Scope
Parse flags and resolve the target file list per the flags spec. Filter to files likely relevant to data handling:
- Database query builders and ORM usage
- API request handlers and form processors
- File upload and file write operations
- Configuration loaders and environment parsers
- Serialization/deserialization logic
- Template rendering engines
- Webhook receivers and inter-service message handlers
- Package manifests and lock files (for supply chain integrity)
2. Analyze for Tampering Threats
For each in-scope file, apply the Analysis Checklist below. At --depth standard, read each file and trace user input to data operations. At --depth deep, follow input across file boundaries through function calls, imports, and middleware chains to find indirect injection paths.
3. Report Findings
Output findings per ../../shared/schemas/findings.md using the TAMP ID prefix (e.g., TAMP-001). Set references.stride to "T" on every finding.
Analysis Checklist
Work through these questions against the scoped code. Each "yes" may produce a finding.
- SQL injection -- Is user input concatenated or interpolated into SQL strings? Search for string formatting in query construction: f-strings,
+concatenation,format(), template literals nearSELECT,INSERT,UPDATE,DELETE. Even ORM raw query methods are vulnerable if they interpolate user input. - Command injection -- Is user input passed to shell execution functions? Look for
os.system,subprocess.callwithshell=True,exec(),child_process.exec, backtick execution with unsanitized input. Check if arguments are passed as arrays (safe) vs. strings (unsafe). - NoSQL injection -- Are user-controlled objects passed directly into MongoDB/NoSQL query operators? Look for
$gt,$ne,$where,$regexcoming from request bodies without schema validation or type enforcement. - Parameter tampering -- Are hidden form fields, cookies, or URL parameters trusted without server-side validation? Check if price, role, user ID, quantity, or discount values from the client are used directly in business logic without re-derivation from server state.
- Missing integrity checks -- Are downloaded files, API responses, or inter-service messages consumed without HMAC, signature, or checksum verification? Look for
fetch,requests.get, file reads where the content is used without hash validation. Check webhook handlers for missing signature verification. - Unsafe deserialization -- Is untrusted data deserialized with
pickle.loads,yaml.load(without SafeLoader),unserialize(),ObjectInputStream,Marshal.load, oreval(JSON)? These can lead to remote code execution. - Path traversal for writes -- Can user input influence file write paths? Look for
../or unvalidated path components in file creation, upload handling, or log file naming. Check ifos.path.realpathor equivalent canonicalization is applied before writing. - Missing CSRF protection -- Do state-changing endpoints (POST/PUT/DELETE) lack CSRF token validation? Check for absence of CSRF middleware,
@csrf_exempton sensitive endpoints, or token verification gaps in form handlers. - Configuration injection -- Can environment variables, config files, or feature flags be modified through application inputs? Look for dynamic config loading from user-influenced sources, admin panels that write config without integrity checks.
- Template injection -- Is user input rendered in server-side templates without escaping? Search for
render_template_string, Jinja2 withautoescape=False,evalin template contexts, Handlebars triple-stash{{{, or Twig raw filters on user data. - Header injection -- Can user input be injected into HTTP response headers? Look for
setHeader,res.header,response.headerswhere values come from request parameters, enabling response splitting or cookie injection. - Prototype pollution -- In JavaScript, are user-controlled objects merged unsafely? Look for
Object.assign({}, userInput),_.merge, `_.defa
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл tampering?
This skill should be used when the user asks to "check for tampering", "analyze data integrity risks", "find injection vulnerabilities", or mentions "tampering" in a security context. Maps to STRIDE category T.
Как установить скилл tampering?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tampering запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…