Skip to content

No deny.toml / cargo-deny in CI: a yanked crate (spin 0.9.8) and an unmaintained advisory (paste, RUSTSEC-2024-0436) are in the dependency tree undetected #515

Closed

Description

@abayomicornelius

Overview

The repository has no deny.toml and doesn't run cargo-deny anywhere in CI — only cargo audit (added for #101, .github/workflows/ci.yml's security job). Running cargo deny check advisories against the current Cargo.lock surfaces two real, currently-undetected issues:

error[unmaintained]: paste - no longer maintained
    Cargo.lock:103: paste 1.0.15
    ID: RUSTSEC-2024-0436
    Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0436
    (transitive dependency, pulled in via the soroban-sdk/soroban-env-host toolchain)

warning[yanked]: detected yanked crate (try `cargo update -p spin`)
    Cargo.lock:153: spin 0.9.8
    (transitive, via soroban-wasmi -> soroban-env-common/soroban-env-host)

spin 0.9.8 has been yanked from crates.io by its maintainers (a fixed/un-yanked version exists) — plain cargo audit doesn't check for yanked crates at all, so this currently slips through undetected regardless of whether the security CI job passes. The paste advisory is an "unmaintained" classification rather than a known vulnerability, which cargo audit (run with no flags, as it is here) typically doesn't fail the build on by default either — it needs cargo audit --deny unmaintained or an equivalent cargo-deny policy to actually gate CI on it.

Why it matters

Both are currently transitive (pulled in by soroban-sdk/soroban-env-host/soroban-wasmi, not a direct dependency this repo controls), so neither is immediately independently fixable by bumping a line in this repo's own Cargo.toml — but that's exactly the kind of supply-chain drift cargo-deny (checking advisories, bans, licenses, and sources) is meant to catch and flag for tracking/upstream-reporting before it becomes a real vulnerability, not just an unmaintained-crate or yanked-version nuisance. Right now there's no automated visibility into either at all.

Suggested fix

  1. Add a deny.toml (e.g. cargo deny init as a starting point, tuned to this workspace) covering at minimum the advisories check.
  2. Add a cargo-deny check step to the security job in ci.yml alongside the existing cargo audit step, or replace cargo audit with cargo-deny check advisories (which is a superset — it also catches yanked crates that cargo audit misses).
  3. File/track the spin and paste findings upstream against soroban-sdk/stellar-contract-utils if they aren't already tracked there, since this repo can't resolve them by itself while they remain transitive pins.

Activity

  1. added
    deployment
    security
    ci
    on Sep 22, 2026
  2. added
    Stellar Wave
    on Sep 30, 2026
  3. Hardebayor1 commented on Sep 30, 2026

    @Hardebayor1

    @Hardebayor1 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi Maintainer, I’ve taken a close look at this task and would be happy to work on it. I’m ready to investigate the current behavior, determine the necessary changes, and validate the implementation with appropriate tests. If it’s still available, I’d appreciate being assigned to it.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Hardebayor1 to this issue.

  4. rhemy-arc commented on Sep 30, 2026

    @rhemy-arc

    @rhemy-arc has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Can I work on this task?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @rhemy-arc to this issue.

  5. Isaacayomide28 commented on Sep 30, 2026

    @Isaacayomide28

    @Isaacayomide28 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hello maintainer, i would like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Isaacayomide28 to this issue.

  6. madisonsc52-del commented on Sep 30, 2026

    @madisonsc52-del

    @madisonsc52-del has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi maintainer i can work on this, I'll make sure to work on the issue asap

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @madisonsc52-del to this issue.

  7. Stanley-Owoh commented on Sep 30, 2026

    @Stanley-Owoh

    @Stanley-Owoh has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Good day maintainer please i would like to work on this issue
    I can work on this immediately with positive results please assign it to me. Thank you

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Stanley-Owoh to this issue.

  8. drips-wave commented on Sep 30, 2026

    @drips-wave

    Congratulations, @rhemy-arc! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

    🧑‍💻 @rhemy-arc: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  9. drips-wave commented on Sep 30, 2026

    @drips-wave

    This issue has been completed by @rhemy-arc as part of the Stellar Wave Program's 9th Wave 🥳

    😎 @rhemy-arc: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  10. removed
    Stellar Wave
    on Oct 15, 2026
  11. added
    Stellar Wave
    on Oct 15, 2026
  12. removed
    Stellar Wave
    on Oct 15, 2026
  13. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Wavecideploymentsecurity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions