Sean Madden tested Greenflagged’s automated malware reviewer by giving it tampered copies of malicious npm releases. The copies contained a comment claiming the package was part of an authorized test. The comment asked the reviewer to dismiss the alert. In the dry run, the reviewer flagged all nine versions it could see.
The underlying November 3–4 campaign was real: Greenflagged reports 12 malicious releases across 10 packages. The misleading comment was added for the replay. It wasn’t evidence that those attackers had targeted the reviewer. Madden runs Greenflagged, which sells dependency screening, and reported the result from his own system.
Keep the hold outside the model
Greenflagged’s response workflow can reject packages but cannot approve them. A reviewer that dismisses a real alert can still cost the team a detector or delay its investigation. It can’t use that verdict to release a package that the registry has blocked.
- Separate the verdict from the release decision. Treat source files as evidence. Only a trusted approval process should lift a hold. Send conflicting or incomplete results to an analyst without changing package availability.
- Test detectors without giving them registry access. Greenflagged first runs generated detection code as a user with no credentials. Keep test inputs separate from production and have an independent check confirm what the code found before granting it any standing access.
- Test the actions, not just the answer. With harmless fixtures, verify that a false-positive verdict cannot clear quarantine, that a failed detector leaves evidence for review, and that external notifications wait for authorization.
Caveat: One dry run shows how the reviewer handled those samples. It does not show how it will behave in the next campaign.