towerops/lib/snmpkit/snmp_lib
Graham McIntire fb1d4c564f
security: fix critical vulnerabilities and atom exhaustion risks
Critical fixes:
- Add [:safe] option to binary_to_term to prevent RCE attacks
- Implement whitelist validation for String.to_atom conversions
- Add input validation before String.to_existing_atom usage

Changes:
- MIB compiler and cache: Use safe binary deserialization
- SNMP contexts: Whitelist protocol, device type, and source atoms
- API controllers: Validate error message keys before atom conversion
- Reduce function nesting to comply with Credo standards

All 6,145 tests passing with zero Credo issues.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 10:30:30 -06:00
..
mib security: fix critical vulnerabilities and atom exhaustion risks 2026-02-08 10:30:30 -06:00
pdu nif ci fixes and dialyzer fixes 2026-01-30 12:38:50 -06:00
security credo fixes 2026-01-23 14:01:52 -06:00
asn1.ex credo fixes 2026-01-23 16:49:02 -06:00
cache.ex security: fix critical vulnerabilities and atom exhaustion risks 2026-02-08 10:30:30 -06:00
config.ex nif ci fixes and dialyzer fixes 2026-01-30 12:38:50 -06:00
dashboard.ex nif ci fixes and dialyzer fixes 2026-01-30 12:38:50 -06:00
error.ex credo improvements 2026-01-23 13:40:49 -06:00
error_handler.ex nif ci fixes and dialyzer fixes 2026-01-30 12:38:50 -06:00
host_parser.ex credo fixes 2026-01-27 09:12:22 -06:00
manager.ex nif ci fixes and dialyzer fixes 2026-01-30 12:38:50 -06:00
mib.ex bring in snmpkit 2026-01-23 12:52:17 -06:00
monitor.ex credo fixes 2026-01-23 16:49:02 -06:00
oid.ex credo fixes 2026-01-23 16:49:02 -06:00
pdu.ex nif ci fixes and dialyzer fixes 2026-01-30 12:38:50 -06:00
pool.ex credo fixes 2026-01-23 16:49:02 -06:00
security.ex credo improvements 2026-01-23 13:40:49 -06:00
transport.ex snmpkit overhaul and etcd 2026-01-23 16:23:57 -06:00
types.ex credo fixes 2026-01-23 16:49:02 -06:00
utils.ex credo improvements 2026-01-23 13:40:49 -06:00
walker.ex snmpkit overhaul and etcd 2026-01-23 16:23:57 -06:00