惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
O
OpenAI News
Engineering at Meta
Engineering at Meta
F
Fortinet All Blogs
Jina AI
Jina AI
D
Docker
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
雷峰网
雷峰网
V
V2EX
小众软件
小众软件
N
News | PayPal Newsroom
GbyAI
GbyAI
Recorded Future
Recorded Future
SecWiki News
SecWiki News
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Security Latest
Security Latest
Google DeepMind News
Google DeepMind News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Hacker News: Ask HN
Hacker News: Ask HN
Project Zero
Project Zero
Cyberwarzone
Cyberwarzone
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
U
Unit 42
The Last Watchdog
The Last Watchdog
V
Visual Studio Blog
C
Cisco Blogs
T
Tor Project blog
Google Online Security Blog
Google Online Security Blog
I
InfoQ
Attack and Defense Labs
Attack and Defense Labs
Y
Y Combinator Blog
博客园 - 聂微东
L
LangChain Blog
Blog — PlanetScale
Blog — PlanetScale
Apple Machine Learning Research
Apple Machine Learning Research
S
Schneier on Security
S
Securelist
博客园_首页
W
WeLiveSecurity
P
Privacy International News Feed
S
SegmentFault 最新的问题
博客园 - 【当耐特】
L
LINUX DO - 热门话题
Latest news
Latest news
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence

Show HN

GitHub - steveking-gh/firmion: Firmion is DSL and engine for firmware image generation. GitHub - villagesql/villagesql-skills: Agent skills for VillageSQL - gemini-cli-extension; claude-code-plugin GitHub - flightdeckhq/flightdeck: Observability and control plane for AI agents. CSP Radar GitHub - Light-Heart-Labs/DreamServer: Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation. GitHub - Diplomat-ai/diplomat-agent-ts: What can your TypeScript AI agent do to the real world? Scan your code. See which tool calls have zero checks Code Block Selector - Visual Studio Marketplace Prometheus dependency graph — interactive showcase | Riftmap Show HN: I made a vi-like modal keyboard plugin for Figma GitHub - run-llama/liteparse: A fast, helpful, and open-source document parser GitHub - dalemyers/Roar: A macOS CLI tool for notifications GitHub - district-solutions/open-agent-tools-coder: Enables small-to-large self-hosted ai models to use local source code when running tool-calling agentic workloads. We actively data mine 20,900+ (2+ TB) popular github repos using large and small ai models to create reuseable: json, markdown and parquet files for local-first tool-calling models. GitHub - progapandist/stripeek: A local TUI proxy for real-time Stripe API debugging, built for navigating complex payloads fast. GitHub - sir1st/hermes-desktop: All-in-one cross-platform desktop app for Hermes Agent — bundles Python + hermes-agent + hermes-web-ui GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach GitHub - nixys/nxs-universal-chart: The Helm chart you can use to install any of your applications into Kubernetes/OpenShift Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code. GitHub - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph Show HN: Continuity-auth – Respect-weighted rate limits for the open web GitHub - luml-ai/luml: AI lifecycle platform where engineers and agents track experiments, train models, and ship to production. GitHub - mrdanielcasper/CoreTex: A UNIX-inspired, biomimetic, flat-file AI harness and knowledge engine. GitHub - clemg/pierre-github: Pierre's diffs.com and trees.software for Github GitHub - lyriks-io/unspaghettit: Behavior-driven AI development without prompt spaghetti. GitHub - sofumel/claude-handoff-revive: Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages. GitHub - dotexorg/saferpc: Typed, end-to-end encrypted RPC over any bidirectional channel. GitHub - BeeZeeAgent/beezee: Agent harness orchestration Legato Next.js Boilerplate for Internal Tools · CoreUI GitHub - clark-labs-inc/clark-hash: Clark Hash, 32x smaller searchable sketches for embeddings GitHub - ZeroPointRepo/youtube-mcp: The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free. Typing Mastery — climb toward 100+ WPM, deliberately GitHub - Andebugulin/Awareen GitHub - fayzan123/claude-workflow-composer: Visual desktop app for composing multi-agent coding workflows. Drag agents, attach skills and MCPs, wire handoffs, export to .claude/ GitHub - harshaneel/humanize: Best static AI text humanizer. Two research-grounded skills that work in any LLM (Claude, ChatGPT, Gemini, Codex): humanize beats perplexity-based detectors, ai-check produces forensic scoring with evidence-quoted flags. Nine levers, 50+ peer-reviewed sources, 2024-2026 detection literature. GitHub - StackOneHQ/stack-nudge GitHub - nodes-app/swift-markdown-engine: A native AppKit Markdown editor for macOS, built on TextKit 2 and bridged to SwiftUI. We hardened an LLM agent. Each defense we added made it more exploitable. GitHub - alkait/WhatsKept: Agent-queryable WhatsApp history from an iOS backup — a single Go binary. GitHub - octelium/cordium: Open-source, general-purpose sandbox platform for devs and AI agents that provides identity-based secure access to infrastructure without credentials. WAR.GOV/UFO Microfilm5 GitHub - scosman/videowright: Build animated explainer videos with your coding agent GitHub - dipankar/dscode: The code editor you can take apart. GitHub - zoharbabin/web-researcher-mcp: MCP server (Go) for AI assistants: web search, content extraction, academic/patent/news research. Multi-provider routing, 4-tier scraping, search lenses. Works with Claude, Cursor, and any MCP client. GitHub - ruvnet/RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video. GitHub - scanaislop/aislop: Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 7 languages (TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed. GitHub - kouhxp/cheap-im: CPU-only voice agent approximating Thinking Machines' Interaction Models demo GitHub - unprovable/OrchidMantis: Orchid Mantis — standalone framework for Zero-Knowledge Proofs of eXploit (ZKPoX). GitHub - MarcellM01/TinySearch: Shrink the web for your local LLMs! GitHub - TangibleResearch/Halgorithem: A Algo designed to detect AI Hallucitions GitHub - DO-SAY-GO/freelang: I love freelang GitHub - CarpseDeam/Aura-IDE: An AI coding harness that shaped itself - Planner/Worker agents, repo awareness, surgical edits, validation, recovery, and safe diff approvals. GitHub - chojs23/concord: A feature-rich TUI client for Discord GitHub - tommyjepsen/awesome-ux-skills: UX & AI Product designs skills you can use today in Claude Code GitHub - aerf-spec/aerf: Agent Evidence Receipt Format (AERF) — an open specification for tamper-evident, independently verifiable records of AI agent actions. GitHub - kklimuk/docx-cli: CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity. GitHub - Jwrede/tokentoll: Catch LLM cost changes in code review. Infracost for LLM spend. GitHub - samchon/ttsc: A `typescript-go` toolchain for compiler-powered plugins and type-safe execution + 500x faster lint integrated into compiler GitHub - Higangssh/homebutler: 🏠 Manage your homelab from chat. Single binary, zero dependencies. GitHub - olalie/tapmap: See where your computer connects and what stands out on a live world map. GitHub - Diplomat-ai/diplomat-agent: What can your AI agent do to the real world? Scan your code. See which tool calls have zero checks GitHub - Bajusz15/beacon: Open-source agent for secure remote access, monitoring, and deploys across home-lab and self-hosted machines like Raspberry Pi, N100, or any Linux server. Open web based TTY or tunnel Home Assistant and other local services securely without opening ports. BigTech AI News - Chrome 应用商店 GitHub - vinhnx/VTCode: VT Code is an open-source coding agent with LLM-native code understanding and robust shell safety. Supports multiple LLM providers with automatic failover and efficient context management. GitHub - michaelaz774/decision-engine: A decision operating system for startup founders, powered by Claude Code. Synthesizes wisdom from 25+ legendary founders and investors into interactive AI-driven decision frameworks. GitHub - Chrilleweb/dotenv-diff: Validate environment variable usage in your codebase GitHub - Lumen-Labs/brainapi2: BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications. GitHub - familiar-software/familiar: Let AI watch you work. Familiar lets your AI update its memory, skills, and knowledge by watching your screen. GitHub - skorotkiewicz/rudo: A small, elegant dock for Wayland GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. make sidebar/address bar rounded corner toggleable
GitHub - stgrass3/the-devourer: Best-effort secure file shredder for Windows with multi-pass overwrite, NTFS ADS handling, and live progress.
idolium · 2026-06-19 · via Show HN

The Devourer logo

A focused Windows utility for best-effort, multi-pass local file shredding.

Windows x64 Version 1.0.2 Electron 42.4.0 MIT License

The Devourer overwrites a file's primary data and NTFS alternate data streams, randomizes its namespace, clears common metadata, flushes writes, and removes the final filesystem entry. It packages this pipeline in a small, animated, portable Electron application with live progress and explicit storage-risk warnings.

Warning

Deletion is permanent. The Devourer is a best-effort file shredder, not a universal forensic-erasure guarantee. Read Security model and limitations before using it for sensitive data.

Contents

  • User Guide — simple instructions for everyday users
  • Features
  • Requirements
  • Quick start
  • Secure modes
  • How deletion works
  • Security architecture
  • Security model and limitations
  • Configuration
  • Development
  • Testing
  • Building a release
  • Diagnostics and troubleshooting
  • Project structure
  • License

Features

  • Four overwrite passes for the main file stream and every detected NTFS alternate data stream: 0x00, 0xFF, cryptographically secure random data, then 0x00.
  • File-picker and drag-and-drop workflows.
  • Three deletion modes: Normal, Aggressive, and Extreme.
  • SSD/NVMe, TRIM, BitLocker, and Volume Shadow Copy risk checks.
  • Reparse-point, symbolic-link, hard-link, and exclusive-lock guards.
  • Random 64-character hexadecimal renaming before deletion.
  • Best-effort timestamp clearing and Windows Recent shortcut cleanup.
  • Worker-thread shredding with throttled live progress updates.
  • Sandboxed Electron renderer with context isolation and a narrow preload API.
  • Portable Windows x64 build; no installer required.
  • No application telemetry, account, cloud service, or runtime network API.

Requirements

Running the app

  • Windows 10 or Windows 11, x64.
  • Local filesystem access to the target file.
  • Administrator access only for Aggressive and Extreme modes.

The current packaged target is Windows x64. Directories, symbolic links, Windows reparse points, and files with multiple hard links are intentionally rejected.

Building from source

  • Node.js 22.12 or newer.
  • npm.
  • Windows x64 for producing and executing the portable build.

Quick start

  1. Download The-Devourer-1.0.2-portable-x64.exe from the repository's Releases page.
  2. Run the executable. It extracts to a temporary directory and opens the app; it does not install a permanent system service.
  3. Choose a secure mode.
  4. Click the bin to open the file picker, or drag one file onto the window.
  5. Review the target name, mode, and permanent-delete warning.
  6. Click the armed bin again to begin deletion.
  7. Keep the app open until it reports 100% and shows the completion state.

The renderer receives a short-lived target ID and shortened display path. The full filesystem path remains in the Electron main process.

Secure modes

Mode Operations Administrator required Expected cost
Normal Four-pass stream wipe, metadata cleanup, truncate, flush, unlink No Proportional to file size
Aggressive Normal mode plus Windows volume ReTrim Yes Normal cost plus volume optimization
Extreme Aggressive mode plus same-volume free-space filling Yes Potentially very slow; can write most available free space

Selecting Aggressive or Extreme without administrator rights opens a Windows elevation prompt. The app restarts with --secure-mode=<mode> after approval; the target must then be selected again.

Extreme mode preserves approximately 512 MiB of free space. It writes random data into temporary files of up to 256 MiB each, flushes them, and removes the temporary wipe directory when finished or interrupted by an error.

How deletion works

flowchart LR
    U["User selects or drops a file"] --> R["Main process registers target ID"]
    R --> G["Link, type, and lock guards"]
    G --> S["Storage risk checks"]
    S --> A["Enumerate and wipe NTFS ADS"]
    A --> N["Randomize name and relocate"]
    N --> W["Four-pass primary-stream overwrite"]
    W --> M["Truncate, clear timestamps, flush"]
    M --> D["Unlink final namespace entry"]
    D --> X["Optional ReTrim / free-space wipe"]
    X --> C["Completion plus warnings"]
Loading

Detailed pipeline

Stage What happens
Target inspection lstat rejects symbolic links; Windows attributes reject reparse points; stat rejects non-files and files with more than one hard link.
Storage analysis The app queries drive media/bus type, TRIM state, BitLocker state, and Volume Shadow Copies. Failures become warnings rather than silently claiming safety.
Attribute cleanup Windows file attributes are reset to Normal; a writable-mode fallback is used if PowerShell fails.
Exclusive lock check A read/write handle is opened with FileShare.None. Files held by another process are rejected before destructive work begins.
ADS enumeration PowerShell Get-Item -Stream * discovers named NTFS alternate data streams.
ADS overwrite Every named stream is overwritten with four passes, truncated, flushed, closed, and removed.
Namespace randomization The original filename is replaced with a cryptographically random 64-character hexadecimal name.
Timestamp cleanup Creation, last-write, and last-access times are set to the Unix epoch. If creation-time editing fails, the app falls back to access/write timestamps and reports a warning.
Temporary relocation The randomized file is moved to %TEMP% when a same-volume rename is possible. Cross-volume failure is non-fatal; wiping continues under the randomized local name.
Primary overwrite The file is written in 1 MiB chunks using zero, ones, CSPRNG, and final-zero passes. Every pass is followed by fsync.
Final removal The stream is truncated to zero bytes, timestamps are cleared again, metadata is flushed, the handle is closed, and the file is unlinked.
Artifact cleanup Matching Windows Recent .lnk shortcuts are removed on a best-effort basis.
Optional volume work Aggressive mode invokes Optimize-Volume -ReTrim. Extreme mode additionally fills same-volume free space while preserving a 512 MiB reserve.

Overwrite pattern

Pass Data Purpose
1 0x00 Deterministic full-stream overwrite
2 0xFF Opposite deterministic bit pattern
3 CSPRNG bytes Unpredictable overwrite generated by Node.js crypto.randomBytes
4 0x00 Final deterministic state before truncation

Four passes do not defeat SSD wear leveling, controller remapping, snapshots, or external copies. They are a defense-in-depth strategy for addressable file content, especially on conventional magnetic storage.

Security architecture

flowchart TB
    UI["Renderer: HTML, CSS, renderer.js"]
    PRE["Sandboxed preload bridge"]
    MAIN["Electron main process"]
    REG["10-minute target registry"]
    WORKER["Worker thread"]
    FS["Windows filesystem and system tools"]

    UI -->|"narrow devourer API"| PRE
    PRE -->|"validated IPC"| MAIN
    MAIN --> REG
    MAIN -->|"target path + mode"| WORKER
    WORKER --> FS
    WORKER -->|"throttled progress/result"| MAIN
    MAIN -->|"progress only"| PRE
    PRE --> UI
Loading

Electron process boundary

The main window uses:

  • contextIsolation: true
  • nodeIntegration: false
  • sandbox: true
  • a local file:// page
  • exact local base-URL validation for every IPC handler

The preload script exposes only the operations required by the UI. The renderer has no general Node.js or filesystem access.

Target registry

After a file is selected or dropped, the main process stores its resolved path in an in-memory registry and returns a random UUID, basename, size, and shortened display path. Registry entries expire after ten minutes and are consumed when deletion starts. A stale, reused, or unknown ID is rejected.

Preload API

Method Purpose
pickFile() Opens the native one-file picker and registers the result.
resolvePath(filename) Opens a native picker when a dropped browser File cannot provide a usable path.
registerDroppedFile(file) Resolves a dropped file through Electron webUtils, then registers it in the main process.
shredFile(targetId, options) Consumes a registered target and starts the worker with the selected mode.
getStartupSecureMode() Reads the validated --secure-mode startup value.
requestSecureMode(mode) Applies a mode or requests an elevated restart.
onProgress(callback) Subscribes to structured progress events and returns an unsubscribe function.
minimizeWindow() / closeWindow() Controls the frameless application window.

Only one shred worker can run at a time. Worker progress messages are throttled to at most one update every 50 ms within the same phase, while phase changes are delivered immediately.

Runtime recovery and diagnostics

The main process records renderer, GPU/child-process, window-close, minimize, and quit lifecycle events. If the renderer exits abnormally, the window is reloaded. After deletion completes, a minimized or hidden window is restored so completion cannot silently disappear.

Diagnostic log:

%APPDATA%\the-devourer\devourer.log

The log contains lifecycle state only; it does not record deleted file paths.

Security model and limitations

The Devourer reduces recoverable data from the file's normal filesystem namespace and addressable streams. It cannot guarantee physical erasure across every storage, operating-system, backup, and synchronization layer.

What it protects against

  • Casual recovery from an ordinarily deleted filesystem entry.
  • Recovery of addressable primary-stream content that was successfully overwritten.
  • Overlooked data in named NTFS alternate data streams.
  • Accidental shredding through symbolic links, reparse points, or one name of a multiply hard-linked file.
  • Starting a destructive operation on a file currently locked by another process.

What it cannot reliably erase

  • SSD/NVMe wear-leveling cells and controller-remapped blocks.
  • Drive firmware caches and inaccessible spare areas.
  • Windows Volume Shadow Copies and restore snapshots.
  • NTFS MFT history, USN journal records, and other filesystem metadata history.
  • Backups, cloud-sync replicas, version history, remote copies, or removable media copies.
  • Search indexes, antivirus records, shell history, thumbnails, application logs, or third-party telemetry.
  • Cloud-only placeholders and virtual files that do not map to a normal local file stream.
  • Data already copied into RAM, swap/page files, hibernation files, or crash dumps.

For highly sensitive data, enable full-disk encryption before creating the file, control backups and replicas, then destroy the encryption key or sanitize the entire device according to an appropriate organizational standard.

Storage checks and warnings

The app performs these checks before overwriting:

Check Implementation Warning condition
Media type Get-Partition + Get-Disk SSD/NVMe detected, unknown media, or query unavailable
TRIM fsutil behavior query DisableDeleteNotify TRIM enabled on storage not already classified as flash, or status unavailable
BitLocker manage-bde -status <drive>: Full-volume encryption and protection cannot both be confirmed
Shadow copies vssadmin list shadows /for=<drive>: One or more snapshots exist, or status cannot be queried

Warnings do not cancel the operation. They are displayed after completion so the result does not imply stronger erasure than the storage stack can support.

Configuration

Command-line options

Option Values Description
--secure-mode=<mode> normal, aggressive, extreme Sets the startup mode. Invalid values fall back to Normal.
--dev flag Preserved when restarting the development app with elevation.
--smoke-test flag Internal packaged-build validation; opens a hidden window, validates security/UI/IPC, then exits.

Environment variables

Variable Value Effect
DEVOURER_ENABLE_RETRIM 1 Forces ReTrim independently of the selected preset.
DEVOURER_FREE_SPACE_WIPE 1 Forces same-volume free-space wiping independently of the selected preset.
DEVOURER_IMPORT_ONLY 1 Internal test harness switch that imports the main module without booting the app.

The environment overrides are intended for controlled development and testing. Normal users should select a mode through the interface.

Development

Use npm run dev to preserve the development flag across an elevated restart.

npm scripts

Command Purpose
npm start Launch the application.
npm run dev Launch with --dev.
npm run check Syntax-check production and release-test JavaScript files.
npm run test:unit Run shredder and worker tests with Node's built-in test runner.
npm run test:e2e Launch a hidden real Electron window and test security settings, preload IPC, an actual 8 MiB deletion, completion, and UI reset.
npm test Run unit and Electron end-to-end tests.
npm run dist:win Build the portable Windows x64 executable.
npm run test:package Verify artifact freshness/size and run the packaged executable's smoke test.
npm run release:verify Run syntax checks, all tests, build, and packaged smoke validation.

Testing

The automated suite covers:

  • normal file overwrite and deletion;
  • directory rejection;
  • hard-link rejection;
  • symbolic-link rejection;
  • read-only attribute clearing;
  • NTFS alternate data stream wiping;
  • worker-thread deletion and progress phases;
  • BrowserWindow security preferences;
  • preload API availability and trusted IPC;
  • pre-delete warning visibility;
  • actual 8 MiB renderer-to-IPC-to-worker deletion;
  • post-delete completion and idle reset;
  • packaged portable startup and internal smoke validation.

Run the full source test gate:

Building a release

Build the portable executable:

Output:

artifacts\The-Devourer-<version>-portable-x64.exe

Run the complete release gate:

The build uses maximum ASAR compression and includes only the runtime source, assets, README, license, and package metadata listed in package.json.

Release checklist

  • Update version in package.json and package-lock.json.
  • Run npm run release:verify.
  • Manually shred a disposable file on Windows.
  • Confirm the pre-delete best-effort warning remains visible.
  • Confirm completion remains visible and the app resets to idle.
  • Publish the portable executable with this README and the security limitations intact.

Diagnostics and troubleshooting

Symptom Cause / action
target is locked by another process Close the editor, media player, sync client, or other process holding the file, then select it again.
target has ... hard links Remove other hard links first. The app refuses to shred only one name while the same file data remains reachable elsewhere.
Symbolic-link or reparse-point rejection Select the real regular file. Namespace indirection is deliberately not followed.
SSD, TRIM, BitLocker, or snapshot warnings Read the warning literally; the file was processed, but old data may remain outside the addressable stream.
Aggressive/Extreme mode returns to Normal Approve the Windows elevation prompt, then reselect the target after restart.
Extreme mode takes a long time It may write nearly all available free space on the target volume. Use Normal or Aggressive unless free-space filling is specifically required.
Window seems to disappear after deletion Use the latest build. Completion now restores hidden/minimized windows. Inspect %APPDATA%\the-devourer\devourer.log for lifecycle events.
Portable build reports Can't open output file Close any running copy of that portable version, remove the old artifact, or increment the version before rebuilding.
Package smoke says artifact is stale Re-run npm run dist:win after the last packaged-source change.

Privacy

The runtime app does not implement telemetry, analytics, accounts, remote storage, automatic uploads, or an update service. File contents are processed locally. Windows, security software, storage firmware, sync tools, and other software may still create independent logs or copies outside the app's control.

Project structure

.
├── assets/
│   ├── icon.png                 # Windows application icon
│   └── readme-logo.png          # README hero artwork
├── test/
│   ├── electron-smoke.js        # Real Electron IPC/UI/delete E2E test
│   ├── package-smoke.js         # Portable artifact validation
│   ├── shredder.test.js         # Core shredder tests
│   └── worker.test.js           # Worker/progress integration test
├── index.html                   # Application markup and SVG artwork
├── styles.css                   # Window layout, state visuals, animation
├── renderer.js                  # UI state machine and interactions
├── preload.js                   # Sandboxed renderer IPC bridge
├── main.js                      # Window, target registry, IPC, elevation
├── shredder-worker.js           # Worker entry point and progress throttle
├── shredder.js                  # Secure-delete pipeline
├── package.json                 # Scripts and Electron Builder config
├── README.md
└── LICENSE

Contributing

Changes to deletion semantics must include focused tests and preserve the best-effort wording. Before opening a pull request:

For packaging changes, also run:

Never weaken link, lock, sender-validation, sandbox, or warning behavior merely to make an unsupported target succeed.

License

The Devourer is available under the MIT License.