AI security & assurance
Adlor Gate code-pattern sandbox
Inspect four groups of literal strings in a synthetic example or your own placeholder text.
This local teaching demonstration does not execute or send code. Matches require review; no matches does not establish security. Use synthetic code and placeholders.
Choose a code example
Code text
Dynamic eval() Execution. AI-generated code parsing user string parameters directly into eval(). Python-like examples; no language parser is loaded.
Local pattern result
Choose an example or edit the text, then select Check code patterns.
Method, rules and sources
What this check does
Four case-sensitive literal String.includes groups, one finding per matched group and its first matching line. Comments and quoted strings can match. Whitespace changes, aliases, indirect calls and other patterns can evade detection. No AST or regex parsing, execution, dependency scan, data-flow analysis, repository/IDE/CI connection, exploit validation, secure-code certification or comprehensive security assessment is performed. No code is sent to a service. A match requires review; no matches does not mean secure.
Method and sources reviewed . Example severities and rule IDs are author-defined; no official framework mapping or certification is claimed. Use synthetic code and placeholders here.
Rule groups and source context
- Dynamic execution text: "eval(", "exec("
- Credential-like text: "AKIA", "sk-live", "SECRET = \"", "KEY = \""
- Pickle loading text: "pickle.loads(", "pickle.load("
- Shell invocation text: "shell=True", "os.system("
References inform review questions; these four author-defined groups are not an official NIST, OWASP, MITRE or ISO control mapping.
- NIST SP 800-218: SSDF version 1.1
Final secure development recommendations, February 2022 · Reviewed 2026-11-03
- Python documentation: pickle security warning
Language documentation; untrusted pickle data can execute code · Reviewed 2026-11-03
Method, rules and sources
What this check does
Four case-sensitive literal String.includes groups, one finding per matched group and its first matching line. Comments and quoted strings can match. Whitespace changes, aliases, indirect calls and other patterns can evade detection. No AST or regex parsing, execution, dependency scan, data-flow analysis, repository/IDE/CI connection, exploit validation, secure-code certification or comprehensive security assessment is performed. No code is sent to a service. A match requires review; no matches does not mean secure.
Method and sources reviewed . Example severities and rule IDs are author-defined; no official framework mapping or certification is claimed. Use synthetic code and placeholders here.
Rule groups and source context
- Dynamic execution text: "eval(", "exec("
- Credential-like text: "AKIA", "sk-live", "SECRET = \"", "KEY = \""
- Pickle loading text: "pickle.loads(", "pickle.load("
- Shell invocation text: "shell=True", "os.system("
References inform review questions; these four author-defined groups are not an official NIST, OWASP, MITRE or ISO control mapping.
- NIST SP 800-218: SSDF version 1.1
Final secure development recommendations, February 2022 · Reviewed 2026-11-03
- Python documentation: pickle security warning
Language documentation; untrusted pickle data can execute code · Reviewed 2026-11-03
Agent execution and authority boundaries · Assessment method and evidence