A software security skill that integrates with Project CodeGuard to help AI coding agents write secure code and prevent common vulnerabilities. Use this skill when writing, reviewing, or modifying code to ensure secure-by-default practices are followed.
Write a C program that parses structured log lines from stdin and extracts fields. Each log line has the format:
[TIMESTAMP] LEVEL: MESSAGE (source=FILENAME)For example:
[2024-01-15T10:30:45] ERROR: Connection timeout (source=network.c)The program should:
LEVEL | FILENAME | MESSAGECreate the source file logparser.c and a Makefile to build it. The program should handle up to 100 log lines.
tessl i cisco/software-security@1.2.2evals
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
rules