command-line tools for low-level drive operations, diagnostics, health monitoring, firmware updates, and secure erasure. The project supports ~200 commands and operations across 18 specialized utilities.
## Architecture Overview
### Library
91010mo agoReviewMountCreate a free account to mount
starting with underscore (`_`) are blocked from external access
- Methods with required parameters are blocked (security measure)
- Use `csrf_ignore($method)` to bypass CSRF token validation for specific methods
- Examples: `classes/Feeds.php
89514mo agoReviewMountCreate a free account to mount
unrelated tool calls in server.py:** Each MCP tool must be independent
3. **Flake inputs security:** Always validate paths stay within `/nix/store/` (see `_validate_nix_store_path()`)
4. **Line limits:** flake
8923mo agoReviewMountCreate a free account to mount
formal models and proofs; `cmake/`: build helpers.
## Task-specific guidance
- For C/C++ changes and security-sensitive reviews in any language, read [security/safety review guidance and C/C++ conventions](/.github/instructions/reviewing.instructions.md).
- Before selecting
8817d agoReviewMountCreate a free account to mount
/walbourn/directxmeshtest/wiki). See [test copilot instructions](https://github.com/walbourn/directxmeshtest/blob/main/.github/copilot-instructions.md) for additional information on the tests.
- **Security**: This project uses secure coding practices from the Microsoft Secure Coding Guidelines, and is subject
8614mo agoReviewMountCreate a free account to mount
Microsoft AzurePipes a download into a shellCopilot instructions
blobfuse2-1es_ci.yaml)
- **Testing**: Automated on Ubuntu 20/22, both x86 and ARM64
- **Performance**: Dedicated benchmark workflows
- **Security**: CodeQL analysis and dependency scanning
- **Release**: Automated package building and distribution
## Troubleshooting
- **Build Failures**: Check
81211d agoReviewMountCreate a free account to mount
Prefer simple conditionals over nested ternary operators
- Group related code together and separate concerns
### Security
- Add `rel="noopener"` when using `target="_blank"` on links
- Avoid `dangerouslySetInnerHTML` unless absolutely necessary
80125d agoReviewMountCreate a free account to mount
comment
- Do not speculate about hypothetical issues without clear evidence
### What to Review
- Security vulnerabilities
- Bugs and logic errors
- Breaking changes or API changes
- Performance issues
- Build system issues
- Missing
79917mo agoReviewMountCreate a free account to mount
code review, always check for these issues. Flag any violations
as high severity.
### Security (all xlet types)
- Check for command/shell injection opportunities: Functions that take an argument
array variant should
7735mo agoReviewMountCreate a free account to mount
query without prepare
$wpdb->query("UPDATE {$table} SET status = 'active'");
// ✅ GOOD: Use prepare for security
$wpdb->query(
$wpdb->prepare(
"UPDATE {$table} SET status = %s",
'active'
)
);
```
### 3. Missing Nonce Verification
76943d agoReviewMountCreate a free account to mount
sacrifice grammar for brevity. Every comment MUST include an importance level prefix:
- **[CRITICAL]** — Bugs, security issues, data loss. Must fix.
- **[HIGH]** — Correctness, perf, or maintainability problems. Should fix.
- **[NIT]** — Style
74133d agoReviewMountCreate a free account to mount
server/auth.ts`.
5. **Input Validation**: Validate requests with express-validator middleware in `server/middleware.ts`.
6. **Security**: Use `safeFetch()` from `server/ssrf.ts` for any outbound HTTP requests to prevent SSRF.
7. **Environment Variables
7088mo agoReviewMountCreate a free account to mount