C11 · POSIX · OPEN SOURCE

Small tools.
Rebuilt properly.

Focused command-line tools in native C11 and readable Python—with bounded inputs, Unix administration, threat hunting, and a read-only interface for local AI troubleshooting.

C + Py
independent editions
bounded
input budgets
0
shell calls
pydev — zsh
$ git clone https://github.com/drmbios/pydev
$ cd pydev && make
✓ built 32 native tools

$ bin/cntr README.md
a 131
b 12
c 38
▋
STRICT WARNINGS · ASAN · UBSAN
C11 ◆ PYTHON 3.9+ ◆ SQLITE ◆ POSIX ◆ ADDRESSSANITIZER ◆ MAKE ◆ ZERO SHELL INJECTION

01 / THE TOOLBOX

One job. One binary.

Each utility stays deliberately small, composable, and predictable—the Unix philosophy without the mystery behavior.

02
••••

codebreaker

A Mastermind-style four-digit terminal game with secure randomness and feedback.

codebreaker [ATTEMPTS]
03
<a>

parser_html

Extract quoted link destinations from bounded HTML input in linear time.

parser_html FILE
04
pip

qpipper

Search or install packages through a shell-free, injection-resistant launcher.

qpipper ACTION PACKAGE
05
{ }

JSON viewers

Inspect compact or formatted JSON with explicit input and nesting limits.

readjson FILE
06
DB

sql

Store and update question-answer entries using prepared SQLite statements.

sql DB add NAME ANSWER
07
@

contacts

Pull names and telephone numbers from vCard files into a clean summary.

contacts FILE.vcf
08
X/O

ttt

A complete local two-player tic-tac-toe game with guarded input.

ttt
09
W

write2file

A bounded, error-aware text writer for quick terminal workflows.

write2file FILE TEXT
10
CRC

checksum

Calculate standard CRC-32 values for fast file integrity comparisons.

checksum FILE...
11
0x

hexview

Inspect binary data as aligned hexadecimal bytes and printable ASCII.

hexview FILE [MAX_BYTES]
12
str

stringsx

Extract meaningful printable runs from bounded binary input.

stringsx FILE [MIN_LENGTH]
13
***

randpass

Generate secure passwords from unbiased operating-system randomness.

randpass [LENGTH]
14
SYS

syscallx

Translate Linux x86-64 syscall numbers into names and plain-language explanations.

syscallx NUMBER...
15
LS

lsx

List files with numeric permissions and true recursive directory sizes.

lsx [-aSr] [PATH]
17
CPU

syswatch

Combine CPU, memory, load, disk, and network graphs with separate CSV logs.

syswatch --count 10 --log logs
18
USR

sessionx

Map logged-in users to their processes and safely dry-run session termination.

sessionx --terminate USER
19
PID

procexp

Inspect process owners, memory, threads, executables, and open descriptor counts.

procexp [PID]
21
CLK

clockres

Report the real resolution of available POSIX realtime, monotonic, and CPU clocks.

clockres
22
0x

numconv

Convert integers among decimal, hexadecimal, octal, and binary with overflow checks.

numconv NUMBER
23
LN

linkscan

Discover all hard links sharing a target file's device and inode.

linkscan FILE [ROOT]
24
RUN

autostartx

Inventory standard Linux and macOS startup entries without loading or executing them.

autostartx
25
WHO

whoisx

Query WHOIS services with input validation, timeouts, and a bounded response.

whoisx example.com

NEW / QUANTUM HOSTS + PQC

Real capabilities.
Clear boundaries.

Five new C11 and Python tools for classical Linux/macOS hosts: OpenSSL-backed post-quantum keys, bounded circuit validation, ideal simulation, and memory planning. No physical QPU or quantum RNG is implied.

27
PQ

pqcheck

Inventory local OpenSSL KEM and signature algorithms. Check for ML-KEM and ML-DSA; availability is not a security certification.

pqcheck
29
QASM

qasmcheck

Validate a documented OpenQASM 2 subset and report qubits, gates, and dependency depth. Bounded to 20 qubits and 2,048 gates.

qasmcheck examples/bell.qasm
31
RAM

qbudget

Estimate dense complex128 statevector memory without allocating it. Thirty qubits need 16 GiB of payload, before runtime overhead.

qbudget 30
UPGRADED
256

randpass --quantum

Generate 256 bits of OS-random entropy as 64 hex characters. A high-entropy secret—not a quantum RNG, cipher, or automatic protocol upgrade.

randpass --quantum

For Linux control hosts, pair these with coreinfo, syswatch, procexp, clockres, lsx, Antivermis, and structured file/system evidence. They inspect classical resources, not qubits or laboratory pulse timing.

02 / STRUCTURED EVIDENCE

Useful to humans.
Safe for local agents.

The optional pydev AI adapter produces versioned JSON with evidence IDs, explicit coverage, units, capability discovery, and honest unsupported states.

FLOW
CPU

Pressure diagnosis

Correlates correctly sampled host and process rates while separating facts, hypotheses, missing evidence, and next checks.

pydev-ai diagnose-pressure
FLOW
AV

File investigation

Connects file identity, bounded inspection, Antivermis indicators, startup metadata, and running-path observations.

pydev-ai --root PATH investigate-file FILE
OPTIONAL LOCAL MCP
$ python3 -m pip install -e '.[mcp]'
$ python3 -m pydev_ai.mcp_server --root "$PWD"
✓ read-only stdio tools · no API key required

03 / PLATFORM SUPPORT

Portable where honest.
Explicit where limited.

Cross-platform collectors work on Linux and macOS. Linux-only counters report unsupported on other systems instead of returning made-up measurements.

LINUX
/proc

Live system evidence

Delta-based CPU, disk, network, and process rates with PID identity, reset detection, explicit units, and bounded samples.

sample_system_metrics · list_processes
OPTIONAL
GPU

AI infrastructure

NVIDIA metrics use nvidia-smi when available. Inference telemetry requires an exact configured host and explicit network permission.

pydev-ai ai-health
BOUNDARY
RO

Read-only by design

The AI interface cannot run a shell, install packages, alter files, terminate processes, or expose process environments and credential stores.

get_capabilities

04 / RECENT UPDATES

Built in layers.
Verified at boundaries.

The project now maintains matching Python and C11 editions, with security boundaries documented and exercised in both.

OCT 04
SAFE

Security review

Fixed scan budgets, descriptor races, telemetry logic, and redaction gaps. Enabled GitHub security scans and protected-branch checks.

CodeQL · secret scanning · dependency review
AUG 15
SYS

Unix utility suite

Added Linux administration plus six cross-platform Sysinternals/NirSoft-inspired terminal tools.

traceflow · syswatch · coreinfo
AUG 11
SAFE

Hardening pass

Added binary tools, optional SQLite builds, parser limits, abuse tests, and sanitizer CI.

make sanitize
AUG 09
C11

Native foundation

Converted the repaired Python sketches into strict C11 tools and launched the GitHub Pages site.

make && make check

05 / BUILT DEFENSIVELY

Inputs are hostile.
Tools should be calm.

These utilities assume files can be oversized, strings malformed, and arguments malicious. Limits are part of the product—not an afterthought.

Explore the abuse tests ↗

06 / GET STARTED

Three commands.

You need a C11 compiler and Make. SQLite is optional; Python 3.9+ runs the Python and structured tools, while MCP needs Python 3.10+.

BUILD
$ git clone https://github.com/drmbios/pydev.git
$ cd pydev
$ make && make check