CF agentic-lending-morpho
Plan and execute the Morpho-first agentic lending workflow for Api3-backed markets. Use when a user wants a Morpho market or market set for selected collateral and borrow assets, needs the oracle route resolved for those assets, wants Api3 feed readiness checked or funded when safe, and then wants the Morpho oracle + market deployment and verification path run honestly. This variant can progress from planning into real feed funding and market deployment when the supported path is available and the user explicitly allows signer-backed execution. Default to planning, dry-run, or guarded verification first. Do not use for Euler EVK flows or unsupported oracle routes.
As a process F 60/100 · Will not run — References files that are not bundled: references/deployment-packs/<chain>/
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".
If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.
How to improve
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 30
✓ No critical or high findings
Medium and low: 30
-
medium Exfiltration
net-credential-usescripts/lib/part2-morpho-planner.js:1008Credential used in a network call (verify the destination is the intended service)assertHexAddressIfPresent(entry.irmAddress, `${label}.byMarketKey.${marketKey}.irmAddress`); -
low Secrets in code
secret-high-entropy-tokendata/part2/contract-artifacts/Api3PartialAggregatorV2V3Interface.json:2High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"contractName": "Api3…ace",
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/evk-addresses.api3-supported-overlap.json:14High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"evc": "0x0C…383",
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/evk-addresses.api3-supported-overlap.json:15High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"eVaultFactory": "0x29…C8e"
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/evk-addresses.api3-supported-overlap.json:18High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"edgeFactory": "0xA9…9Bd",
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/evk-addresses.api3-supported-overlap.json:19High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"evkFactoryPerspective": "0xB3…182",
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/evk-addresses.api3-supported-overlap.json:20High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"escrowedCollateralPerspective": "0x4e…DdE"
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/feed-status.json:7High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"supp…ace": true,
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/feed-status.json:19High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"supp…ace": true,
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/feed-status.json:31High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"supp…ace": true,
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/feed-status.json:43High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"supp…ace": true,
quoted -
low Secrets in code
secret-high-entropy-tokendata/part2/feed-status.json:57High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"supp…ace": true,
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/example-request.json:16High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)"address": "0xaf…831"
fixturequoted -
low Secrets in code
secret-high-entropy-tokenreferences/live-request-template.json:16High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"address": "0xaf…831"
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/lib/api3-feed-manager.js:16High-entropy token-like string (may be an id, hash or a credential)Api3…ory,
-
low Secrets in code
secret-high-entropy-tokenscripts/lib/api3-feed-manager.js:18High-entropy token-like string (may be an id, hash or a credential)comp…ess,
-
low Secrets in code
secret-high-entropy-tokenscripts/lib/api3-feed-manager.js:961High-entropy token-like string (may be an id, hash or a credential)const communalProxy = chainState?.communalProxy || comp…ess(chainId, dapiName);
-
low Secrets in code
secret-high-entropy-tokenscripts/lib/api3-feed-manager.js:1045High-entropy token-like string (may be an id, hash or a credential)const communalProxy = chainState?.communalProxy || comp…ess(chainId, dapiName);
-
low Secrets in code
secret-high-entropy-tokenscripts/lib/api3-feed-manager.js:1496High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)from: '0x00…EaD',
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-morpho-planner.js:13High-entropy token-like string (may be an id, hash or a credential)const { Api3…ory } = require('@api3/contracts'); -
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-morpho-planner.js:53High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const DEFAULT_DRY_RUN_SIMULATION_FROM_ADDRESS = '0x00…EaD';
quoted -
low Exfiltration
net-credential-usescripts/lib/part2-morpho-planner.js:1007Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)assertAllowedKeys(entry, ['irmAddress', 'lltv'], `${label}.byMarketKey.${marketKey}`);quoted -
low Exfiltration
net-credential-usescripts/lib/part2-morpho-planner.js:1913Credential used in a network call (verify the destination is the intended service) (detector / deny-list definition)blockers.push(`No approved Morpho IRM is configured for ${marketKey}. Supply request.morphoPolicy.defaultIrmAddress or request.morphoPolicy.byMarketKey.${marketKey}.irmAddress.`);detector -
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-morpho-planner.js:2289High-entropy token-like string (may be an id, hash or a credential)function buil…ion(proxyDeployment, marketKeys = []) { -
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-morpho-planner.js:2335High-entropy token-like string (may be an id, hash or a credential) (placeholder value)return buil…ion(proxyDeployment, [...marketKeys].sort());
placeholder -
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-planner.js:22High-entropy token-like string (may be an id, hash or a credential)Api3…ce: path.join(CONTRACT_ARTIFACT_DIR, 'Api3PartialAggregatorV2V3Interface.json'),
-
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-planner.js:165High-entropy token-like string (may be an id, hash or a credential)supp…ce: classification !== 'unsupported',
-
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-planner.js:1597High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'Api3…ace remains the preferred compatibility layer for Api3-backed legs.',
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-planner.js:1609High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'Api3 via Api3…ace is the default route when a direct compatible feed is sufficient.',
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/lib/part2-planner.js:1735High-entropy token-like string (may be an id, hash or a credential)supp…ce: true,
Files scanned: 46. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: references/deployment-packs/<chain>/
Process rating: all ten parameters 60/100
- 0Tools and files. 1 referenced file(s) missing: references/deployment-packs/<chain>/
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 60 mutating operations with no state check
- 50When it triggers. No condition that starts the skill
- 60Result and completion. Output format stated, no completion criterion
- 70Inputs and preconditions. Inputs and preconditions are listed
- 85Steps. 97 steps, 1 vague phrases
- 100Failures and branches. 11 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 3204 tokens
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 11 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (6 tags): a typed call is more reliable
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4No input/output examples
- +1No license
- +2Single-language instructions
- +4Description says when NOT to use the skill
- +3Description length 672: enough signal without eating the budget
- +4Structure: 12 headings
- +3Step-by-step instructions: 97 items
- +3Output format is stated explicitly
- +4Reference files are cited in the instructions (5 of 5)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 85.