QNX Sentinel (qnx-guard) — Real-Time Safety & Security Audit

Static verification report for QNX SDP 8.0 Neutrino microkernel components and IFS buildfiles.

Scanned Files
3
Total Findings
7
High Severity
3
Medium Severity
2
Low / Info
2
Rule Severity Location Message Code Snippet Remediation
QNX201 MEDIUM Makefile:2 qcc/q++ invocation detected without stack protector (-fstack-protector-strong) hardening.
CC = qcc
Pass -fstack-protector-strong and -D_FORTIFY_SOURCE=2 to compiler flags.
QNX202 LOW Makefile:2 qcc invocation lacks explicit target architecture variant flag.
CC = qcc
Specify target architecture with -Vgcc_ntox86_64 (x86_64) or -Vgcc_ntoaarch64le (ARM64).
QNX002 HIGH vulnerable_service.c:9 Negative pulse code '-1' conflicts with QNX kernel-reserved pulse codes.
#define SENSOR_PULSE_CODE -1  // QNX002: Negative pulse code collides with kernel-reserved pulses
Use positive pulse codes in the range _PULSE_CODE_MINAVAIL (0) to _PULSE_CODE_MAXAVAIL (127).
QNX003 MEDIUM vulnerable_service.c:22 ChannelCreate() called with flags=0. Channel lacks priority inheritance or fixed-priority scheduling.
int chid = ChannelCreate(0);
Configure _NTO_CHF_FIXED_PRIORITY or priority inheritance flags on real-time service channels.
QNX104 LOW vulnerable_system.bld:10 LD_LIBRARY_PATH contains relative path or writable directory (/tmp, /var).
LD_LIBRARY_PATH=/tmp:/proc/boot
Restrict library search path exclusively to /proc/boot:/lib:/usr/lib.
QNX105 HIGH vulnerable_system.bld:13 Hardcoded sensitive credential identified in QNX buildfile.
DIAG_API_KEY=********
Inject credentials at runtime via encrypted filesystem or secure configuration daemon.
QNX101 HIGH vulnerable_system.bld:22 Insecure file permission mask '0777' allows world-write access in QNX image.
[perms=0777] /bin/telemetry_daemon = /target/telemetry_daemon
Change permission attribute to [perms=0755] for executables or [perms=0644] for read-only data.