Skip to content

AAK-LEGAL-003: DMCA-flagged package detected

Severity
CRITICAL
Category
Legal Compliance (legal-compliance)
Scanner
agent_audit_kit/scanners/legal_compliance.py
Auto-fixable
No.
SARIF name
DmcaFlaggedPackage

What it detects

A dependency has been flagged for DMCA/IP violations or contains leaked proprietary code.

How to fix

Remove the flagged dependency immediately.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-LEGAL-003

Limitations

Matches three package names (claude-code-leaked, anthropic-internal and copilot-source, with or without a scope) in the direct dependency maps of each package.json. An npm: alias ("cc-tools": "npm:claude-code-leaked@^1.0.0"), a lockfile entry, a Python requirement and any other name are not matched.

References

No external references are recorded for this rule.


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-LEGAL-003.md: the page then shows that text, with the registry reference appended under it.