agentleFS
bitrix-toolsbitrix-tools/marketplace-security-skills/skills/bitrix-security/using-marketplace-sec/SKILL.md

using-marketplace-sec

Skill8 starsChanged 16 days agoMITView on GitHub

Use when running the full Marketplace security pre-submission flow for Bitrix modules: scan one module, review BUS severity, update the cumulative vulnerability journal, validate saved developer feedback, and summarize release readiness.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when a Bitrix module developer needs the full partner-side pre-submission process, not just a raw scan.

    line 8
  2. Very specific:

    If a previous security-journal.json exists, prepare it as context for the scan.

    line 20
  3. Very specific:

    Run journal-review on that scan output.

    line 23
  4. Very specific:

    Only reports/security-journal.json is the stable partner submission artifact.

    line 69
  5. Very specific:

    Do not modify scan behavior from this skill.

    line 73
  6. Very specific:

    Do not manually edit reviewed severity.

    line 74
  7. Very specific:

    Do not manually update lifecycle counters.

    line 75
  8. Distinctive:

    Do not consider the full flow complete until the local journal UI has been launched and checked against the latest journal.

    line 76
  9. Distinctive:

    If the updater cannot classify a lifecycle transition, stop and explain the exact ambiguous case instead of inventing journal state.

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Using Marketplace Security

Use this skill when a Bitrix module developer needs the full partner-side pre-submission process, not just a raw scan.

This skill is an orchestrator. It does not contain security-audit heuristics. Keep audit improvements in scan; keep BUS severity policy in journal-review; keep lifecycle state in journal-update.

Inputs

  • module path, for example modules/vendor.module
  • optional previous security-journal.json
  • optional final archive SHA-256

Required Workflow

  1. If a previous security-journal.json exists, prepare it as context for the scan. The scan skill may use it as last-result.json, but it must still verify findings against real code.
  2. Run scan <module_path>.
    • Expected output: reports/<module_code>.json
  3. Run journal-review on that scan output.
    • Recommended output: reports/<module_code>.reviewed.json
  4. Run journal-update:
python3 <journal-update-skill>/scripts/update_journal.py \
  reports/<module_code>.reviewed.json \
  --previous reports/security-journal.json \
  --module-path <module_path> \
  --archive-sha256 <sha256> \
  --output reports/security-journal.json

For the first run, omit --previous.

  1. Validate the journal:
python3 <journal-update-skill>/scripts/update_journal.py \
  --validate-only reports/security-journal.json
  1. Launch the local journal UI. This is a required flow step, not an optional convenience. Use the updated reviewed scan and cumulative journal:
python3 tools/journal_ui_server.py \
  --reviewed reports/<module_code>.reviewed.json \
  --journal reports/security-journal.json \
  --host 127.0.0.1 \
  --port 8765

If port 8765 is already in use, pick the next free port. Open the resulting URL in the browser and verify the UI loads the latest current_state and finding count via /api/data or the visible metrics before reporting completion. Also verify that disposition counts (false_positive, accepted_risk, open) match both the top metrics and the per-card disposition state, because preserved developer feedback must come from the cumulative journal on repeat runs.

  1. Report the final status from current_state, the UI URL, and the displayed finding counts:
    • ready_for_submission: no open findings and no unresolved dispositions
    • blocked: open high findings remain
    • needs_review: open lower-severity findings or partner dispositions remain

Output Artifacts

  • reports/<module_code>.json — raw scan output
  • reports/<module_code>.reviewed.json — BUS-aware reviewed scan
  • reports/security-journal.json — cumulative submission artifact
  • local journal UI URL — required review interface for developer feedback

Only reports/security-journal.json is the stable partner submission artifact. The raw and reviewed scan files are intermediate evidence and may be requested for debugging.

Boundaries

  • Do not modify scan behavior from this skill.
  • Do not manually edit reviewed severity; use journal-review.
  • Do not manually update lifecycle counters; use journal-update.
  • Do not consider the full flow complete until the local journal UI has been launched and checked against the latest journal.
  • If the updater cannot classify a lifecycle transition, stop and explain the exact ambiguous case instead of inventing journal state.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.