Skip to content
WeChat · Goumang Security Lab·Indexed by this site · Originally published· Tools →· Its place in the scan record →

AI code audit + SAST + secret scanning: secfoo hands-on test, letting a coding agent act as security reviewer

AI代码审计+SAST+密钥扫描:secfoo实测,让编码Agent当安全审查员

AI summary

Jumang Security Lab hands-on tested the open-source tool secfoo (PyPI 0.3.2), which reuses an already-installed coding agent to perform security review according to a fixed brief, with nine built-in skills including SAST, secret scanning and threat modeling. If the report format is wrong, the whole round is judged a failure; findings are deduplicated by fingerprint and new additions and fixes are tracked; it can export SARIF and use --fail-on to gate CI; repository texts such as AGENTS.md are always treated as untrusted evidence. In the repository adversarial evaluation, Qwen3 4B Instruct produced only 2 ratable reviews out of 32 reviews across two rounds, most failing on parsing the rating line format; looking only at report text, all 16 control reports found the planted bug, and 9 of 16 attack reports followed injected instructions to downgrade findings. The official OWASP NodeGoat run score (Claude Code, --depth quick) totaled $3.73. The author notes it is not a sandbox, that scanning untrusted repositories should be done in a disposable virtual machine or container, and that format checks only verify shape, not truth.

Read originalmp.weixin.qq.com