mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-16 13:15:36 +02:00
The secure-storage example authorized `download` against a raw path string taken from the request and generated the temporary URL before the check. A string argument never resolves to a policy, and authorizing a client-supplied path teaches an IDOR-prone pattern. Bind a model (Document), authorize against it first, then sign the URL for the stored path on the s3 disk configured just below. pi/core regenerated via scripts/build-pi-core.js; skill-triggers registryDigest rebound.